summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorqdp-odoo <qdp@odoo.com>2017-02-24 16:35:39 +0100
committerqdp-odoo <qdp@odoo.com>2017-02-24 17:57:36 +0100
commit807751aeceb45453c667d12bf7d906002b84e3e7 (patch)
tree830b3877af4534abbb72932362d420c52c740e01 /addons/web/static/src/js/views/basic/basic_controller.js
parentbf8b359b299ab0ed0ffd181ead397e7da35f12d7 (diff)
[FIX] base: fix mixing currency in company/pricelist
A company should have at least a pricelist having the same currency, that's common sense. This was causing problems in tests on 10.0-nightly, where the main pricelist was created in EUR, then the localization module was setting the right currency on the company without any reflection on the pricelist. To avoid this problem, when we write the currency on a company, we reflect that change on the main pricelist if it's the only company in the system. Otherwise as we can't decide which pricelist modify, we just create a new one, which should be ok.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions