跳至内容
菜单
此问题已终结
1 回复
12801 查看

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
1296
2
2月 24
2830
4
11月 23
3153
1
8月 22
3564
1
3月 21
20882