Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
12059 Näkymät

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
Hylkää
Paras vastaus

Hi,

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

name = fields.Char(translate=True)
Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
jouluk. 24
515
2
helmik. 24
2126
4
marrask. 23
2168
1
elok. 22
2969
1
maalisk. 21
19251