summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2014-05-13 17:29:35 +0200
committerOlivier Dony <odo@openerp.com>2014-05-13 17:29:35 +0200
commit7e66bd9d5562fd9d5c9603b12182886ece01b854 (patch)
treef83c23882d695948b6b25cbfd4ae4b3267c4b1c7 /addons/analytic_user_function/analytic_user_function_view.xml
parentfc7a31f84282db827b50b3e40f4d5d0f15c818dd (diff)
[FIX] orm.search_read: drop active_test context flag during the read() step
The active_test flag is meant for search(), but when passed to search_read() it was also propagated to the read() call. This has little consequence normally because read() ignores this flag, but it can have side-effects when reading x2m fields or function fields. They are likely to call search() somewhere downstream, still with the propagated active_test flag, while it should not be applied anymore. Ultimately dropping this flag could be done by read() in all cases, but changing search_read() is less likely to block exotic cases where the flag was passed on purpose. Moving it to read() could be done as a later step.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions