diff options
| author | Xavier-Do <xdo@odoo.com> | 2020-09-09 15:31:06 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2020-10-02 16:57:10 +0000 |
| commit | 44c48501a120b3e8e96dcc82bab701b071650494 (patch) | |
| tree | 2c6e7933815c41ce2aadb9d23f4b5cb4f6579d94 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 24c9842c78affec1ee1ad7cf1965fe7ee24036f3 (diff) | |
[FIX] core: cache consistency of one2many field with computed inverse
Consider a one2many field with a corresponding many2one field that is
computed. After modifying the many2one field's dependencies, the cached
value of the one2many field is inconsistent until the many2one field has
been recomputed. Therefore, one has to force the computation of the
many2one field before accessing the cached value of the one2many field.
closes odoo/odoo#59031
X-original-commit: b9201ebdd65eaabab9257cf97c58410681783fa6
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
