Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3734 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ต.ค. 22
3283
3
ก.ค. 25
638
2
ก.พ. 25
6458
Create a consecutive field แก้ไขแล้ว
1
พ.ย. 21
2656
Menu's with different default filter แก้ไขแล้ว
1
ก.ค. 25
1253