تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6834 أدوات العرض

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
فبراير 22
29284
2
يوليو 24
1669
0
أغسطس 23
2434
0
يوليو 23
1718
0
سبتمبر 22
2358