-
Notifications
You must be signed in to change notification settings - Fork 23.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] mrp: cancel the WOs even if it is an MO without components
Steps to reproduce the bug: 1:/ - Create a new MO: - Select any product - Delete all components - Add a work order - Save - Cancel the MO Problem: The work order is not cancelled because when we cancel a MO without components, we only change the status of the MO but do not check if there are WOs to cancel 2:/ when the MO is cancelled, the buttons ('start', 'Pause', 'block' and 'Done') must be hidden opw-2803052 closes #87528 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
- Loading branch information
1 parent
325aaeb
commit ff27b67
Showing
3 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters