diff options
| author | Raphael Collet <rco@odoo.com> | 2017-08-10 16:36:31 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2017-08-10 16:36:31 +0200 |
| commit | b4df6400033892def6e89278c0de9f12ea907e41 (patch) | |
| tree | 6de5db47f0677b413d793bbfa2fc3e2002a721bd /addons/web/static/src/xml/base.xml | |
| parent | dde62073baf5a0cc45678e4504fe2f54ccffcf18 (diff) | |
[FIX] ir_model: module import duplicates custom fields
Custom fields are duplicated because the cache of method `_existing_field_data`
is invalid at the time the model is reflected: it does not contain the field
that has just been created. Simply clear the method caches before reflecting
models and fields.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
