Skip to Content
Menu
This question has been flagged
1 Reply
12736 Views

I want to translate the content of some records like the payment terms of account module. I try to put the same line on my es.po file with no results... Menus, labels translate perfect but I don't know if I have to create two different items in the database for english and spanish. Looking at Payment Terms, odoo uses the .po files  but this does not work for me

Avatar
Discard
Best Answer

Hi,

You need to add translate=True on the declaration of your field.

name = fields.Char(translate=True)
Avatar
Discard
Related Posts Replies Views Activity
0
Dec 24
1243
2
Feb 24
2733
4
Nov 23
3038
1
Aug 22
3499
1
Mar 21
20704