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

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 22
3224
3
thg 7 25
576
2
thg 2 25
6412
1
thg 11 21
2622
1
thg 7 25
1193