Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
13337 Visualizzazioni

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
Abbandona
Risposta migliore

Hi,

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

name = fields.Char(translate=True)
Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
dic 24
1899
2
feb 24
3352
4
nov 23
4180
1
ago 22
4124
1
mar 21
22399