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-21 11:31:12 +0200
committerRaphael Collet <rco@odoo.com>2017-04-26 15:11:07 +0200
commit4287a701103e557dc577005dfb8867d2f0970e39 (patch)
tree3f76c6d181ad6442563952f5e856a882ef320ffa /addons/web/static/src/js/views/basic/basic_model.js
parent831322bb92105324d12f8f387ed05b86af57154b (diff)
[FIX] models: remove `ir.model.fields` that no longer exist in registry
This fixes the following issue. Assume a custom field F is created on `res.partner`. This field will appear on `res.users` as an inherited field, and will be reflected in `ir.model.fields` as a 'base' field. When F is removed from the parent model, it no longer appears on the child model in registry, but remains in `ir.model.fields`. The patch allows the proper removal of the no-longer-inherited field from `ir.model.fields`.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions