Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
12054 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
512
2
feb 24
2115
4
nov 23
2165
1
ago 22
2965
1
mar 21
19226