Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
12905 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

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

name = fields.Char(translate=True)
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 24
1361
2
thg 2 24
2892
4
thg 11 23
3269
1
thg 8 22
3648
1
thg 3 21
21094