跳至內容
選單
此問題已被標幟
1 回覆
12840 瀏覽次數

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)
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
12月 24
1344
2
2月 24
2876
4
11月 23
3231
1
8月 22
3620
1
3月 21
21015