Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
3666 Näkymät

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

Avatar
Hylkää
Paras vastaus

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.

Avatar
Hylkää
Tekijä Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
lokak. 22
3224
3
heinäk. 25
576
2
helmik. 25
6412
1
marrask. 21
2622
1
heinäk. 25
1193