Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
9075 มุมมอง

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!

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Translate true not working แก้ไขแล้ว
3
พ.ค. 23
3637
0
พ.ค. 19
3045
1
ก.ค. 22
6492
3
พ.ค. 25
1871
1
เม.ย. 25
3648