diff options
| author | Raphael Collet <rco@odoo.com> | 2019-09-23 12:40:22 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2019-09-23 20:55:39 +0000 |
| commit | f047425b82457f4da9b1cc0b560bff40ea5060be (patch) | |
| tree | 9f235de6b968914a392818bb35b7d60799156328 /addons/web/static/src/js/fields | |
| parent | 9112972e155cbced84f9e1082a4b229a5b3e1fd9 (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
