summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2020-01-29 16:09:58 +0000
committerWilliam Henrotin <whe@odoo.com>2020-01-29 16:09:58 +0000
commit96b17a82cf1ea1287e0a52c52c78166ef817ce7b (patch)
treedb0372b1ec6a8520247f0e1632c1a7fd0a45a53f /addons/web/static/src/js/fields
parent8e51fd2afe5a5fa388da55c8d873b25a832dca37 (diff)
[IMP] mrp: unit_factor as computed field
The next commits will allow changing the initial demand of confirmed moves as well as adding move once the production order is confirmed. In order to not duplicate again the unit factor computation in multiple write and create, make the field a stored computed. Unit_factor is stored and only depends on product_uom_qty because updating only quantity_done (after a partial production for instance) should leave unit_factor unchanged for the futur partial production. Task: 2121714
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions