コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
9027 ビュー

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
3591
0
5月 19
3000
1
7月 22
6425
3
5月 25
1751
1
4月 25
3568