跳至內容
選單
此問題已被標幟
2 回覆
9022 瀏覽次數

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
5月 23
3590
0
5月 19
2998
1
7月 22
6424
3
5月 25
1742
1
4月 25
3558