diff options
| author | Olivier Dony <odo@openerp.com> | 2012-06-04 13:45:36 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2012-06-04 13:45:36 +0200 |
| commit | 14a6cd841f1fd931cb0d82e1a364cb2aa1b2f0e5 (patch) | |
| tree | 322f74e9c37232b92ca177fd4e58bfc38b832d86 /addons/web/doc/module/static/src/css/web_example.css.1.diff | |
| parent | a6e66b8fa950bd05534e0a082983d6ca49c625db (diff) | |
[FIX] OPW 575395: orm: don't defer function field computation during creation of parent records (inheritS)
An optimization in the set() method of o2m fields
disables the direct computation of function fields
in order to avoid computing them line-by-line.
This is done with context key 'no_store_function',
and deferred at the end of the caller write() or
create() method.
This was unfortunately disabling all function fields
in parent model (via _inheritS) at the time of
creation, even though those were *not* batch-computed
at the end.
The patch removes the 'no_store_function' field in
the context that is passed to inheritS parents during
creation, as it was never meant to be passed.
lp bug: https://launchpad.net/bugs/704922 fixed
bzr revid: odo@openerp.com-20120604114536-4t6ulwl93zalfgr7
Diffstat (limited to 'addons/web/doc/module/static/src/css/web_example.css.1.diff')
0 files changed, 0 insertions, 0 deletions
