Skip to content

Commit

Permalink
[FIX] stock_dropshipping: correct dependencies
Browse files Browse the repository at this point in the history
`purchase_stock` is a required dependencies because the `stock.rule`
`stock_rule_drop_shipping` use `buy` as `action` [1].
However, it is added to the selection by the module `purchase_stock` [2].

[1] https://github.com/odoo/odoo/blob/c4b6273c9df5d8e3f3a5ee3cf52541741526280e/addons/stock_dropshipping/data/stock_data.xml#L32
[2] https://github.com/odoo/odoo/blob/c4b6273c9df5d8e3f3a5ee3cf52541741526280e/addons/purchase_stock/models/stock_rule.py#L14

closes odoo#43218

Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
  • Loading branch information
KangOl committed Jan 13, 2020
1 parent ce69840 commit eab5bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/stock_dropshipping/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
internal transfer document is needed.
""",
'depends': ['sale_purchase', 'sale_stock'],
'depends': ['sale_purchase', 'sale_stock', 'purchase_stock'],
'data': ['data/stock_data.xml', 'views/sale_order_views.xml'],
'installable': True,
'auto_install': False,
Expand Down

0 comments on commit eab5bc5

Please sign in to comment.