diff options
| author | David Arnold <dar@devco.co> | 2017-09-07 22:30:04 -0500 |
|---|---|---|
| committer | qdp-odoo <qdp@odoo.com> | 2018-01-03 11:43:50 +0100 |
| commit | ad2d34cf33f8c7ef0e8a04642ccc8f3dffe727b9 (patch) | |
| tree | 8e76d7c15831bc6f0363590df8ed0157ef83fb9e /addons/web/static/lib/jquery.mjs.nestedSortable | |
| parent | 36e7847e20b35d3a9f3f965001cab5d2c2d8e896 (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/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions
