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

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
3861
0
5月 19
3223
1
7月 22
6678
3
5月 25
2265
1
4月 25
3930