summaryrefslogtreecommitdiff
path: root/addons/web
diff options
context:
space:
mode:
authorjem-odoo <jem@openerp.com>2018-11-07 07:55:23 +0000
committerjem-odoo <jem@openerp.com>2018-12-04 12:48:19 +0000
commit9be23c2f6367265fa9e9f033197b6d6ebb78ea3e (patch)
treec98462f87599b3884a481c46afbdbd24b95b3df0 /addons/web
parent2aa7399d0c983046773721b7a2a0b60989ce7dbf (diff)
[IMP] rating: don't call compute method directly
The correct way to trigger a recomputation of a field is not to call directly the compute method. The ORM offers mecanism to do it: we have to flag the field as "recompute to do" and then call `recompute` method (availble on every models). This one will call the recompute method of all fields marked as "to recompute". This will optimize the performance by doing recomputation in batch. Task-1903565
Diffstat (limited to 'addons/web')
0 files changed, 0 insertions, 0 deletions