How can i change report language in odoo v12? I always want to print in the same language, regardless of user preference.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Buchhaltung
- Lager
- PoS
- Project
- MRP
Diese Frage wurde gekennzeichnet
1
Antworten
4248
Ansichten
Hi,
You can remove t-lang attribute from report template to print the report in same language
Example:
< template id="report_saleorder"> < t t-call="web.html_container"> < t t-foreach="docs" t-as="doc"> < t t-call="sale.report_saleorder_document" t-lang="doc.partner_id.lang" rel="ugc">"/> < /t> < /t> < /template>
This is sale order report template in V12. Currently it will be printed in partner language, you can remove t-lang attribute to print in the same language irrespective of partner.
Regards
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
2
Sept. 24
|
1889 | ||
|
5
Aug. 19
|
46501 | ||
|
4
Juni 18
|
20048 | ||
|
0
Juni 18
|
3265 | ||
|
2
Mai 16
|
16904 |