summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-12-27 17:01:23 +0000
committerNicolas Lempereur <nle@odoo.com>2018-12-28 13:20:52 +0000
commit222f3166b0a8c11892e5535909251cb6d1bf8c1a (patch)
tree9f6718f5ddee524f0a0ca8baa3511b4cb32f49db /addons/web/static/src/js/views/basic/basic_view.js
parenta6279fe1698faae45990b5c6db297d1870451673 (diff)
[FIX] account: apply currency on uom change
When creating a new line on a customer invoice, we could get the price unit in the company currency instead of the invoice currency. This is because the uom_id onchange would ignore currency when setting the price. Changing an invoice line's price unit on uom_id change was introduced in february 2018 in saas-11.3 with 3a38080ff. Change to how currency is applied when setting an invoice line's price unit was introduced in june 2018 in 9.0 with 367fadc8. So there was a missing part in saas-11.3 to adapt 367fadc8 for 3a38080ff change that is added with this commit. Without the fix, the added test failed with: AssertionError: 10.0 != 20 opw-1920504 closes #29776
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions