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

I want to turn of the translation functionality for field "Name" in product template. It's a base field so I can't just switch it of in settings, instead I have a studio customized view "Odoo Studio: product.template.product.form customization", were I have tried different codes to remove translation functionality, but translation of the field data is still activated. Any ideas how I can achieve this in my customized view?


Regards, Rickard

الصورة الرمزية
إهمال
أفضل إجابة

Hi Rickard: Since this is a base field you cannot do this through Studio. The only way to do this is through a custom module by overriding the definition of the base field.

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Thanks Paresh.

I have tried creating an inherited view where I override translation of name field. But this doesn't seems to work eihter. Creating a new module is not anything I have learnt yet so I guess I have to deal with this.

Regards,
Rickard

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أكتوبر 22
3247
3
يوليو 25
602
2
فبراير 25
6430
1
نوفمبر 21
2642
1
يوليو 25
1206