summaryrefslogtreecommitdiff
path: root/python25-compat
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2011-02-16 15:21:28 +0100
committerOlivier Dony <odo@openerp.com>2011-02-16 15:21:28 +0100
commit44b019bf762767695a5de8169c7290173bad304f (patch)
tree10eac34e704c344a76c03b1867418fa2c5c8aea5 /python25-compat
parent0b90edb5576763539213c86f37135e84a4e69729 (diff)
[FIX] orm.browse_record: fields prefetching should ignore m2o pointing to models not loaded yet
This situation can occur due to custom fields (x_...) that are creating shortcuts between objects without respecting the module dependencies. For example a custom m2o fields connecting a partner and a product would fail to be loaded at server startup when only base is loaded, because product.product is not yet available. This can usually be simply ignored, as the prefetching is just an optimization. The custom fields should never be accessed during startup (e.g not function field should use them), so that should never cause any issue. bzr revid: odo@openerp.com-20110216142128-a9f4um5ky8cetl38
Diffstat (limited to 'python25-compat')
0 files changed, 0 insertions, 0 deletions