Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
8973 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
3547
0
Mei 19
2968
1
Jul 22
6378
3
Mei 25
1697
1
Apr 25
3505