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"/>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
|
3552 | ||
|
0
5月 19
|
2974 | ||
|
1
7月 22
|
6395 | ||
|
3
5月 25
|
1706 | ||
|
1
4月 25
|
3510 |