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
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
1
회신
4289
화면
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
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
2
9월 24
|
1940 | ||
|
5
8월 19
|
46543 | ||
|
4
6월 18
|
20108 | ||
|
0
6월 18
|
3319 | ||
|
2
5월 16
|
16976 |