[REF] mrp: remove settings to (un)install repair and maintenance modules
Purpose is to limit the uninstallation of modules without being clearly notified of it. In MRP ticking repair / maintenance install and uninstall modules like stock, sale_management, mrp_workorder, ... We therefore decided to remove those options from settings to prevent users from uninstalling it. This commit is related to task ID 1841221.
This commit is contained in:
committed by
Thibault Delavallée
parent
5b19d05a9a
commit
000ecb046c
@@ -12,9 +12,7 @@ class ResConfigSettings(models.TransientModel):
|
||||
module_mrp_byproduct = fields.Boolean("By-Products")
|
||||
module_mrp_mps = fields.Boolean("Master Production Schedule")
|
||||
module_mrp_plm = fields.Boolean("Product Lifecycle Management (PLM)")
|
||||
module_mrp_maintenance = fields.Boolean("Maintenance")
|
||||
module_mrp_workorder = fields.Boolean("Work Orders")
|
||||
module_repair = fields.Boolean("Repair")
|
||||
module_quality_control = fields.Boolean("Quality")
|
||||
group_mrp_routings = fields.Boolean("MRP Work Orders",
|
||||
implied_group='mrp.group_mrp_routings')
|
||||
|
||||
@@ -44,28 +44,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-xs-12 o_setting_box" id="repair">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_repair"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_repair"/>
|
||||
<div class="text-muted">
|
||||
Repair products and invoice the repair orders
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-xs-12 o_setting_box" id="mrp_maintenance">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_mrp_maintenance" widget="upgrade_boolean"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_mrp_maintenance"/>
|
||||
<div class="text-muted">
|
||||
Schedule the maintenance of your equipment
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Products</h2>
|
||||
<div class="row mt16 o_settings_container">
|
||||
|
||||
Reference in New Issue
Block a user