summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-08-25 14:52:20 +0200
committerDenis Ledoux <dle@odoo.com>2015-08-25 14:52:20 +0200
commit3b02e3d63dcb62ed24cdbbdb7bd06f67849e1a24 (patch)
tree3b8d69250e88fbdd1868cad943961348d802c129 /addons/analytic_user_function/analytic_user_function_view.xml
parent3e82c94d695327d5fa85cf6c9eca5039d7bc1bb6 (diff)
[FIX] sale*: company tax filtering
f26b94f had as goal to filter the taxes of the product according to the company when the sale.order was created/edited as SUPERUSER_ID (Who ignores the record rules). Unfortunetaly, to filter the taxes, it used the company of the customer, while it's actually the company of the order which should be used. Indeed, for instance, partners can be shared among all companies. It was way less simple to access the company of the sale.order, this parameter being not available in the on_change method signature. This is the easiest way to solve this issue without breaking the API / retro-compatibility. opw-647819
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions