summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2014-09-09 11:42:50 +0200
committerRaphael Collet <rco@openerp.com>2014-09-09 11:50:10 +0200
commitecd8b5222bacbde1cc7ea231f93547a85053aa3e (patch)
tree418d60155047b0e81dd3f04ae572e306774a24c4 /addons/analytic_user_function/analytic_user_function.py
parent5388eee32170ca003310e0f9f0c93d8a81bb233d (diff)
[FIX] account.invoice.line: move context to last position in onchange methods
The methods product_id_change() and uos_id_change() have been converted to the new api, and now use the decorator @multi. When invoked with the old api, by convention the methods will take the last argument as the context. But this will not work properly for those methods, as the context is passed in another position. In order to avoid an argument swap in the api wrapper, we moved the context to its expected position. Fixes #1943
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions