Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6928 Представления

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

best regards

Аватар
Отменить

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.

Лучший ответ

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
февр. 22
29433
2
июл. 24
1754
0
авг. 23
2533
0
июл. 23
1773
0
сент. 22
2461