Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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>
- Loading branch information