diff options
| author | Simon Lejeune <sle@openerp.com> | 2018-01-15 17:59:17 +0100 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2018-01-18 14:37:13 +0100 |
| commit | 6ef460b6a7f0ec46e009da0b339dc676bc850b89 (patch) | |
| tree | 6dfaf5cf2f844edbb0336e7f7bb33e1080d93e63 /addons/web/static/src/js/fields/field_utils.js | |
| parent | 1bb6887bb69a121603569dd162ee7cb4304e9f64 (diff) | |
[REF] stock, mrp: remove constraint, add onchanges
We added a constraint in [1] to improve the usability of introducing
tracked move lines in the system. However, this contraint proved to be
too costly (trigger multiple time during the validation process, never
called in batch as it is set on the model at the end of a o2m).
We replaces the constraint by checks on the validating process or by
(non-blocking) onchanges.
With these changes, validating the receipt of 3000 tracked move lines
goes from 17 minutes to around 4.
[1] 482407464ace7936e2a911b558b953475c588a7e
opw-803887
Diffstat (limited to 'addons/web/static/src/js/fields/field_utils.js')
0 files changed, 0 insertions, 0 deletions
