summaryrefslogtreecommitdiff
path: root/addons/base_graph/static/lib/dhtmlxGraph/codebase
diff options
context:
space:
mode:
authorTiffany Chang (tic) <tic@odoo.com>2021-02-23 12:16:39 +0000
committerTiffany Chang (tic) <tic@odoo.com>2021-05-17 15:54:21 +0000
commit81ba7084aeb3899787d083a2a2568a490f9c53e5 (patch)
tree3aabf65eeccaabca4c1b260157bad8a129d7830e /addons/base_graph/static/lib/dhtmlxGraph/codebase
parent45845a87ab6a6260b42abacf16811684418cd775 (diff)
[FIX] mrp: prevent MO validation with no consumption
If a MO is validated with all of its (component) move_raw_ids.quality_done = 0, then when trying to validate the nonsensical "The quantity to produce must be positive" validation error will occur. This is due to all move_raw_ids being marked as Cancelled, which auto-updates the MO state to cancelled, which prevents the validation from properly completing. To avoid this error, we prevent the user from having 0 consumption for all components. Task: 2422698 Related (v13 fix + bug description) Task: 2463893 ENT PR (test fixes): odoo/enterprise#18355 closes odoo/odoo#70900 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/base_graph/static/lib/dhtmlxGraph/codebase')
0 files changed, 0 insertions, 0 deletions