Odoo Help

0

How to translate content of text fields from records

By
Isra
on 9/19/16, 2:12 AM 550 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

0

Hi,

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

name = fields.Char(translate=True)

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 9/19/16, 2:12 AM
Seen: 550 times
Last updated: 9/19/16, 4:24 AM