summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/editor/rte.summernote.js
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2020-05-05 08:54:53 +0000
committerRaphael Collet <rco@odoo.com>2020-05-06 19:25:17 +0000
commiteb08e2c22896334fc26aedb353a310421e42b89b (patch)
treeea10f34605c89bb507a0adc324335cb3090ce9df /addons/web_editor/static/src/js/editor/rte.summernote.js
parent864e1ed61d3a19b4ebb19ba15c625c5d3079e3ba (diff)
[FIX] core: unexpected cache invalidation when updating one2many
When setting a many2one field, the corresponding one2many fields are updated in cache. When such a one2many field has a domain, the evaluation of the domain may require to fetch some fields from the database. If the `towrite` cache has not been updated yet, the many2one field is overridden by the database value. Fix by setting the `towrite` cache before updating inverse fields. closes odoo/odoo#50788 X-original-commit: c1ebfe05a66cfebc7ced36e25db5f6ff4bfb2d46 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web_editor/static/src/js/editor/rte.summernote.js')
0 files changed, 0 insertions, 0 deletions