diff --git a/stock_available/res_config.py b/stock_available/res_config.py index 8001b371e..c38226ced 100644 --- a/stock_available/res_config.py +++ b/stock_available/res_config.py @@ -31,6 +31,13 @@ class StockConfig(orm.TransientModel): help="This will subtract incoming quantities from the quantities " "available to promise.\n" "This installs the module stock_available_immediately."), + 'module_stock_available_sale': fields.boolean( + 'Exclude goods already in sale quotations', + help="This will subtract quantities from the sale quotations from " + "the quantities available to promise.\n" + "This installs the modules stock_available_sale.\n" + "If the modules sale and sale_delivery_date are not " + "installed, this will install them too"), 'module_stock_available_mrp': fields.boolean( 'Include the production potential', help="This will add the quantities of goods that can be " diff --git a/stock_available/res_config_view.xml b/stock_available/res_config_view.xml index d4f378fb8..0eadadd42 100644 --- a/stock_available/res_config_view.xml +++ b/stock_available/res_config_view.xml @@ -15,6 +15,10 @@