Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4196 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Risposta migliore

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
Abbandona
Autore

Thanks a lot Ashish

Post correlati Risposte Visualizzazioni Attività
2
feb 24
1281
2
feb 24
7347
1
gen 24
1468
1
ago 23
1703
1
lug 23
3511