summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-02-12 16:06:21 +0100
committerRaphael Collet <rco@openerp.com>2015-03-03 13:18:04 +0100
commit04ba0e99a44ba50aa8d4512752c3834f95b24ca8 (patch)
treefd3e0afc951a040e22b617783767042d308f7f83 /doc/reference
parent2c261a2987f435c4241b41dd7754723f71b810a9 (diff)
[IMP] models: in _read_from_database(), fetch inherited fields when possible
This should improve the performance of method read() on models with inherited fields, like product.product. The inherited fields that are stored as columns in parent tables (except for translated fields) are read in the same query as the fields of the model. Those fields will be directly stored in cache under the main model, so that no copying will take place in cache for accessing them (this is the default implementation of inherited fields).
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions