Please sign in to comment.
[FIX] mrp: mrp_workorder uninstall
- Install 'quality_mrp_workorder' without demo data - Uninstall it - Install it again - 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
- Loading branch information...
Showing with 10 additions and 1 deletion.