From bc1c72f9afe80b4cecace5f9672484aee978096d Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Thu, 11 Jan 2018 14:27:12 +0100 Subject: [PATCH] [FIX] sale_stock: test error `sale_stock.tour` requires `sale.tour` which is defined in `sale_management`. Aside from the test failing, this is more logical to add the 'Sales' menu once the set-up is past a simple 'eCommerce' configuration. Note that it was intended in the original commit 5dfd342d0886488, but was later changed back to avoid issues. We need to depend both on `sale` and `sale_management` explicitly, to make sure installing `sale` and `stock` separately will also install `sale_stock`. opw-804621 --- addons/sale_stock/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale_stock/__manifest__.py b/addons/sale_stock/__manifest__.py index b21d32013d5..0d8e036409e 100644 --- a/addons/sale_stock/__manifest__.py +++ b/addons/sale_stock/__manifest__.py @@ -25,7 +25,7 @@ You can choose flexible invoicing methods: * *Before Delivery*: A Draft invoice is created and must be paid before delivery """, 'website': 'https://www.odoo.com/page/warehouse', - 'depends': ['sale', 'stock_account'], + 'depends': ['sale', 'sale_management', 'stock_account'], 'data': [ 'security/sale_stock_security.xml', 'security/ir.model.access.csv',