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

How can I make my form fields translatable in odoo 12.0

I have the fields just like that 

<field name="product_description" string="Product Description"/>​

الصورة الرمزية
إهمال
أفضل إجابة

You should do that on Python level (where field is declared) using the field attribute translate, e.g.:

product_description = fields.Text(string='Description', translate=True)
الصورة الرمزية
إهمال
أفضل إجابة

Thank you. That's work perfectly!

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
مايو 23
3738
0
مايو 19
3083
1
يوليو 22
6546
3
مايو 25
2026
1
أبريل 25
3730