summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorDavid Arnold <dar@devco.co>2017-09-07 22:30:04 -0500
committerqdp-odoo <qdp@odoo.com>2018-01-03 11:43:50 +0100
commitad2d34cf33f8c7ef0e8a04642ccc8f3dffe727b9 (patch)
tree8e76d7c15831bc6f0363590df8ed0157ef83fb9e /addons/web/static/src/js/views/basic/basic_controller.js
parent36e7847e20b35d3a9f3f965001cab5d2c2d8e896 (diff)
[FIX] account: ensure chart template translation in company's lang
Before this commit, in the event that the admin user has set the language to english, but the COA's target company had a different language, the admin user's language had been taken instead of the copany's one for the translation of journals and other coa intialization stuff. This is wrong as the CoA is more connected to the company, than to the user, which could be a functional support user that just happens to prefer the english version over the local one. Now, we ensure in two neuralgic places, that the company's language is passed to the context and therefore picked up by the translation's GetTextAlias. Signed-off-by: David Arnold <dar@xoe.solutions>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions