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

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
3555
0
مايو 19
2978
1
يوليو 22
6397
3
مايو 25
1716
1
أبريل 25
3511