summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2019-09-23 12:40:22 +0000
committerSébastien Theys <seb@odoo.com>2019-09-23 20:55:39 +0000
commitf047425b82457f4da9b1cc0b560bff40ea5060be (patch)
tree9f235de6b968914a392818bb35b7d60799156328 /addons/web/static/src/js/fields
parent9112972e155cbced84f9e1082a4b229a5b3e1fd9 (diff)
[IMP] models, fields: initialize cache to None for related fields
This makes sense because in `create` the "previous" value of a field is obviously non-existent. This avoids having to fetch pre-existing attachments when they are known to be inexistent, which optimizes stored related binary that are computed post-insert.
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions