CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Is it possible to specify language for every field? For example report would be multilanguage, so same field would need to be translated in two languages in same report. Report is divided in two parts, first part is one language and the second part is another language. So fields in both parts are the same, but they need to be translated in different language
Theoretically you should be able to call
setLang() twice in the same report, keeping in mind that the effect will last only until the next call. This is how it works if you print multiple invoices at once: each invoice will have a
setLang() call at the beginning, so it will be printed in the relevant Partner language.
You could do the same thing if you can cleanly split your report file in 2 sections and put a
setLang() call before each section.
About This Community
Odoo Training Center
|Asked: 9/3/13, 6:32 AM|
|Seen: 2542 times|
|Last updated: 5/11/17, 6:08 AM|