forked from odoo/odoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] mrp_subcontracting: record components
Before this commit, for a subcontracted product with reserved available tracked components, if at least one component is recorded but not all, the "Record components" button isn't available anymore. How to reproduce: - Create a product and create a subcontracting BOM for this product; - Add a tracked component for this product; - Add some qty. for the tracked component in the subcontracting loc.; - Create a receipt for the subcontracted product (for demand qty. more than 1) with the subcontractor as partner and confirm it: => The "Record components" button should be visible. - Record a part of the demand qty. then click on "Continue", then on "Discard": => The "Record components" button is now hidden. It's because the button is hidden if all the MO are done or to close (they are) and if all the tracked move lines have a SN/LN (they have as they are reserved). task-2604728 closes odoo#73780 Related: odoo/enterprise#19686 Signed-off-by: Arnold Moyaux <[email protected]>
- Loading branch information
Showing
4 changed files
with
21 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from . import test_subcontracting | ||
|
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