summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2020-07-06 09:20:48 +0000
committerChristophe Simonis <chs@odoo.com>2020-07-06 11:11:05 +0000
commit85c3fd8b73b9eddd4c9035a6d9c8196a2c70c6ae (patch)
treedb27bfbfd070e336c7b47a67ddfb7c0011ae3fe4 /addons/mail/static/src/models/thread
parent59463f8bb996e01855112e2362b3375e41898778 (diff)
[FIX] core: do not mark `ir.model*` unique fields as modified
These field combinations [1] are actually secondary keys. They are unique and represent the record identity. Marking them as modified had a nasty side-effect: on some models, there is a m2o to an ir.model and a stored related to ir.model/model that will be recomputed at each model reflection. This can take some time on big tables. Moreover, some other stored fields may depend on those ir.model/model related store, which adds useless time lost at recomputing unchanged values. [1] ir.model/model, ir.model.fields/{model,name} and ir.model.selection/{field_id,name} closes odoo/odoo#54126 X-original-commit: db013a01ca4e10640ac33a59466c9cb5746e3698 Signed-off-by: Raphael Collet (rco) <rco@openerp.com> Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread')
0 files changed, 0 insertions, 0 deletions