تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
12838 أدوات العرض

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
ديسمبر 24
1343
2
فبراير 24
2876
4
نوفمبر 23
3230
1
أغسطس 22
3620
1
مارس 21
21014