summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-02-23 15:07:09 +0100
committerDenis Ledoux <dle@odoo.com>2016-02-23 15:11:07 +0100
commit7c7ee5d0ec3ad0857495b92fa6b99cc4fd5e894a (patch)
tree4b99f42fdd22526a3001b3c5bdfcf7195212d84f /addons/web/static/src/xml
parent020ae64f167fa8fa724c54f79b8cae9ff8a648c0 (diff)
[FIX] account_asset: currency conversion inverted
During the conversion of the module `account_asset` to the new API, the currency conversion in `create_move` has been inverted. ``` amount = currency_obj.compute(cr, uid, current_currency, company_currency, line.amount, context=context) ``` has been converted to ``` amount = company_currency.compute(line.amount, current_currency) ``` while it should have been converted to ``` amount = current_currency.compute(line.amount, company_currency) ``` See: https://github.com/odoo/odoo/commit/6120bab#diff-e35933343c229da0afceb2a3b9e3639bR356 opw-669568
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions