summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2017-04-12 17:15:03 +0200
committerRaphael Collet <rco@odoo.com>2017-04-12 17:15:03 +0200
commit975086c03942ce926638ecef8fbd201f5abf6d73 (patch)
treee16a37748b5ea644e5119dcdd843cc573e6db9b7 /addons/web/static/src/js/views/basic/basic_model.js
parentf10ef71f068ce665316d2a1dff6b2cd33a2e001f (diff)
[FIX] fields: avoid invalidation of fields computed on new records
Issue: when a field is computed on a new record, the record is not marked as "being computed", and it could therefore be invalidated. The fix consists in using the standard method that marks records before calling the compute method.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions