Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
12834 Переглядів

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
1343
2
лют. 24
2876
4
лист. 23
3229
1
серп. 22
3620
1
бер. 21
21011