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:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
4812
มุมมอง
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
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
|
2
ก.ย. 24
|
2790 | ||
|
How do i create report in Qweb?
แก้ไขแล้ว
|
|
5
ส.ค. 19
|
47320 | |
|
|
4
มิ.ย. 18
|
20960 | ||
|
|
0
มิ.ย. 18
|
3887 | ||
|
What is QWeb (Odoo's reporting engine)?
แก้ไขแล้ว
|
|
2
พ.ค. 16
|
18065 |