diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-04-18 14:22:44 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-04-19 07:22:16 +0000 |
| commit | 6c702172ec585c9dff36d518d1670e2e753a6c8d (patch) | |
| tree | 604b9873b1be5f1913596e3517cb578bc2059619 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | a7c774849c000a7910d4db3d026cb9569297dc21 (diff) | |
[FIX] mrp: mrp_workorder uninstall
- Install 'quality_mrp_workorder' without demo data
- Go to the General Settings
A warning is raised regarding the uninstallation of 'mrp_workorder'.
This is due to `_onchange_group_mrp_routings`, which assumes that the
installation of 'mrp_workorder' is only linked to the group
`group_mrp_routings`.
This is incorrect: `group_mrp_routings` might not be activated, but it
might be in the dependencies of another module. Therefore, we change the
logic: if we activate `group_mrp_routings`, we install 'mrp_workorder'.
If we deactivate `group_mrp_routings` we do not uninstall
'mrp_workorder' if it is already installed, since it might be required
by a dependancy.
opw-1970910
closes odoo/odoo#32811
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
