Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
12890 มุมมอง

I want to translate the content of some records like the payment terms of account module. I try to put the same line on my es.po file with no results... Menus, labels translate perfect but I don't know if I have to create two different items in the database for english and spanish. Looking at Payment Terms, odoo uses the .po files  but this does not work for me

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You need to add translate=True on the declaration of your field.

name = fields.Char(translate=True)
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 24
1355
2
ก.พ. 24
2889
4
พ.ย. 23
3261
1
ส.ค. 22
3639
1
มี.ค. 21
21078