简体   繁体   中英

Openerp: How can I change in base field properties using Administration menu?

How can I change in base field properties using Administration>customization>database structure->fields ?

While trying to do this, I get this error "Properties of base fields cannot be altered in this manner! Please modify them through Python code, preferably through a custom addon! "

I'm pretty sure you can't use that screen to change base fields, because their properties are defined in Python code. That screen is used to add custom fields and edit them. If you want to change base fields, you have to write a module that inherits and modifies the field, or hack on the core module's source code to change the properties. Inheriting the module is recommended because it makes migrating to future versions easier.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM