diff options
| author | Raphael Collet <rco@odoo.com> | 2020-02-26 12:43:03 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2020-03-12 17:46:06 +0000 |
| commit | 5771772b610cbb64e30a1baa23980c3867248fd7 (patch) | |
| tree | cd984f87fa2dc897a1cabb4d74215a3a44c5fd80 /addons/web/static/src/js/core/utils.js | |
| parent | b53614fcc56733a45dab03262896ba14110a4816 (diff) | |
[FIX] core: do not force recomputation of fields on new records
The method `recompute()` should not recompute fields on new records.
This is both a speedup (those recomputations are not necessary), and
fixes an error following an `onchange()` (a field recomputed in an
environment with the wrong context.)
OPW 2184998
closes odoo/odoo#47545
X-original-commit: fa852ba1c5707b71469c410063f338eef261ab2b
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/core/utils.js')
0 files changed, 0 insertions, 0 deletions
