summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorjbm-odoo <jbm@odoo.com>2019-08-06 11:12:36 +0000
committerjbm-odoo <jbm@odoo.com>2019-08-28 13:51:40 +0000
commit58cf9b6754c44f9847787938b4019d8740faffda (patch)
treef02d835d83a41c83118661baf923796e287cf10c /addons/web/static/src/js/fields/basic_fields.js
parentcf7c9bd9b7d42ac89a1d6bcdf009ae3d376d6511 (diff)
[FIX] base: Open One2many with not yet updated values
When we have an onchange that modify items in One2many's lines (for example the quantity of each line based on general quantity) and we click on a record immediately after changing the field that trigger the onchange, we have the the old value in the dialog box. Indeed the dialog opens before the onchange has return the new values, so the old one are used. This case appears only if the One2many's line was never saved. With this fix, we wait that the model is free of mutex, and so the onchange is terminated before displaying it. closes odoo/odoo#35306 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions