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
- Проекты
- MRP
Этот вопрос был отмечен
1
Ответить
5029
Представления
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
сент. 24
|
3050 | ||
|
|
5
авг. 19
|
47547 | ||
|
|
4
июн. 18
|
21243 | ||
|
|
0
июн. 18
|
4096 | ||
|
|
2
мая 16
|
18475 |