Hi, I am working on invoice report customization. Everything is working fine except translation. I downloaded da_DK.po file from settings selection for respective custom module. Made changes and then did Synchronize Translation as well but no luck.. Can anyone please help me where I am doing wrong?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hello,
I just have this small concern if you have checked Overwrite Existing Terms.
You can refer answer from Akram here.
https://www.odoo.com/forum/help-1/question/correct-way-to-add-translations-to-odoo-through-po-files-72140
This says how to add translation correctly step-by-step.
Thanks.
@Chintan: Thanks for your answer. I had already followed all the steps but no luck :( Normal translation is working for fields but not in pdf report.
I did the same and i am getting translated Invoice report. Anyways will post update if i find a way.
Had you added the translation doc like this:
<template id="report_invoice">
<t t-call="report.html_container">
<t t-foreach="doc_ids" t-as="doc_id">
<t t-raw="translate_doc(doc_id, doc_model, 'partner_id.lang', 'account.report_invoice_document')"/>
</t>
</t>
</template>
Hi Krupesh, that is already there.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 6 15
|
4063 | ||
|
2
thg 6 25
|
2086 | ||
|
4
thg 5 24
|
6121 | ||
|
1
thg 5 23
|
3911 | ||
|
2
thg 8 17
|
9154 |
and had you again load the translation after upgrading module?
Yes, that's also done.
@DirtyHandsPHP paste your code.
@DirtyHandsPHP had you check the partner language under the Sales and Purchase Tab?
@Krupesh: I will upload the code.
Did you figure this out? I have the same issue. None of the labels on my custom invoice report is translated.