summaryrefslogtreecommitdiff
path: root/setup/win32/OpenERPServerService.py
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2014-09-02 12:02:23 +0200
committerRaphael Collet <rco@openerp.com>2014-09-02 14:07:03 +0200
commite7b8e107f1cf9270cceac628cba9019e31069667 (patch)
treed715c855b314d849b49044915f6bba602439195b /setup/win32/OpenERPServerService.py
parent4a1029582390164a74cf3594662dc61d8562aedf (diff)
[IMP] fields: update inverse fields lazily for performance
When a relational field is assigned in an onchange, its inverse field is updated in cache. Reading the current value of the inverse field may be costly, for instance in the case of a one2many field with thousands of records as a value. Instead, put in cache a SpecialValue that reads and updates the field; it will be triggered only when it is accessed.
Diffstat (limited to 'setup/win32/OpenERPServerService.py')
0 files changed, 0 insertions, 0 deletions