From a64deb4dd0e9bc34827408ff9fdeb6480f97100b Mon Sep 17 00:00:00 2001 From: Josse Colpaert Date: Wed, 20 Jul 2016 11:41:04 +0200 Subject: [PATCH] [IMP] mps: MPS module should not be an application, but a setting --- addons/mrp/models/mrp_config_settings.py | 4 ++++ addons/mrp/views/mrp_config_settings_views.xml | 1 + 2 files changed, 5 insertions(+) diff --git a/addons/mrp/models/mrp_config_settings.py b/addons/mrp/models/mrp_config_settings.py index 4c54ba79a08..df7d4ac7583 100644 --- a/addons/mrp/models/mrp_config_settings.py +++ b/addons/mrp/models/mrp_config_settings.py @@ -20,6 +20,10 @@ class MrpConfigSettings(models.TransientModel): 'Without this module: A + B + C -> D.\n' 'With this module: A + B + C -> D + E.\n' '-This installs the module mrp_byproduct.') + module_mrp_mps = fields.Selection([ + (0, "No need for Master Production Schedule as products have short lead times"), + (1, "Use Master Production Schedule in order to create procurements based on forecasts"), + ], string="Master Production Schedule") module_mrp_plm = fields.Selection([ (0, "No product lifecycle management"), (1, "Manage engineering changes, versions and documents") diff --git a/addons/mrp/views/mrp_config_settings_views.xml b/addons/mrp/views/mrp_config_settings_views.xml index 3a61a66b531..c9e9542a5eb 100644 --- a/addons/mrp/views/mrp_config_settings_views.xml +++ b/addons/mrp/views/mrp_config_settings_views.xml @@ -16,6 +16,7 @@ +