Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
9267 Tampilan

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"/>​

Avatar
Buang
Jawaban Terbai

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)
Avatar
Buang
Jawaban Terbai

Thank you. That's work perfectly!

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
3
Mei 23
3857
0
Mei 19
3204
1
Jul 22
6675
3
Mei 25
2255
1
Apr 25
3927