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

When I am trying to modify some fields in selection using Studio 16.0 I get this message ' Properties of base fields cannot be altered in this manner! Please modify them through Python code, preferably through a custom addon!'


What am I doing wrong?

Avatar
Hylkää
Paras vastaus

Please can someone tell me how to create this new module and what code is required. alternatively if there is a module created on github maybe? Then just how to install it 

Avatar
Hylkää
Paras vastaus

To modify base fields in Odoo, you need to create a custom module and use Python code to make the changes. This is because the fields that are part of the core Odoo system (known as "base" fields) cannot be modified directly through the studio user interface. By creating a custom module, you can write the code needed to make the desired changes to the field, and then install and activate the module to apply the changes to your system.

Avatar
Hylkää
Tekijä

Thanks a lot Ashish

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
helmik. 24
1281
2
helmik. 24
7347
1
tammik. 24
1468
1
elok. 23
1703
1
heinäk. 23
3509