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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
4113
Tampilan
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
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
2
Sep 24
|
1764 | ||
How do i create report in Qweb?
Diselesaikan
|
|
5
Agu 19
|
46365 | |
How to update default header in PDF report (qWeb)?
Diselesaikan
|
|
4
Jun 18
|
19903 | |
|
0
Jun 18
|
3191 | ||
What is QWeb (Odoo's reporting engine)?
Diselesaikan
|
|
2
Mei 16
|
16734 |