-
- Downloads
[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
Showing
- addons/account/account_invoice.py 5 additions, 5 deletionsaddons/account/account_invoice.py
- addons/account/account_invoice_view.xml 6 additions, 6 deletionsaddons/account/account_invoice_view.xml
- addons/account_analytic_default/account_analytic_default.py 2 additions, 2 deletionsaddons/account_analytic_default/account_analytic_default.py
- addons/account_analytic_plans/account_analytic_plans.py 2 additions, 2 deletionsaddons/account_analytic_plans/account_analytic_plans.py
- addons/account_anglo_saxon/invoice.py 2 additions, 2 deletionsaddons/account_anglo_saxon/invoice.py
Loading
Please register or sign in to comment