콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
9322 화면

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
3914
0
5월 19
3270
1
7월 22
6714
3
5월 25
2345
1
4월 25
3995