summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2019-03-26 08:58:11 +0000
committerWilliam Henrotin <whe@odoo.com>2019-03-27 15:16:55 +0000
commit291eb73ce109bc1df3100c0a24b0adad7cf8078d (patch)
treea152fc11ff2f8fe1439edc01149cfdf90d1af656 /addons/web/static/src/js/views/basic/basic_controller.js
parent32ab3422f013a08809c4c51ff895671ff98f0e62 (diff)
[IMP] mrp: flexible component consumption
Purpose: The quantities to consume on Bill of Material lines should be either strictly used or be taken as a reference more or less adjustable. This commit adds a setting on BoM to specify if the consumption is 'strict' or 'flexible'. This new option has the following impacts: On produce wizard: if consumption is set to 'strict', the done quantities are prefilled and checked when saving the wizard. If set to 'flexible', the production flow remains the same as present one. On workorders: if consumption is set to 'strict', the Validate button will save the consumed data, and propose to fill the remaining ones until the total is registered. If set to 'flexible', two button are displayed. 'Validate' to register the current component and pass to next step either the quantity to consume is complete or not, and 'Continue Consumption' to registered the current component quantity but leaving the user the possibility to add more quantity (and possibly another lot number) for the current component This commit also revert partially d3617fd852dbe471ca667f8cf3573a9327d6b064 as the warning become some sort of an error Task: 1889393
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions