Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
9141 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
3734
0
Mei 19
3079
1
Jul 22
6531
3
Mei 25
2014
1
Apr 25
3720