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

Is it possible to add data in odoo with multi language ? like employee name and address ...

best regards

Ảnh đại diện
Huỷ bỏ

Hello , thank you Ivan :)  but is it possible to add the "translate=true" option in the current module without developing a new module who inherits from hr.employee.

Technically, yes it is possible. Just add the attribute, restart server and upgrade the module. In the long run, I'd advised against it because it may interfere with upgrade process if you plan to upgrade the version of Odoo later on.

Câu trả lời hay nhất

There are some fields that support translation.  It is indicated by a icon of a box and flying blue flag within the field.  Example is in the Product's Name field.  Unfortunately I think Employee name and Address does not have the feature turned on by default.  You can turn it on by setting inheriting the model (hr.employee), redefine the column exactly as it was defined before and add translate=True in the definition.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 22
28806
2
thg 7 24
1318
0
thg 8 23
1971
0
thg 7 23
1275
0
thg 9 22
1994