How can modify a base field?

Asked by Francisco Martinez

Hi all,
(related to OpenERP v7)

I want to change the pos_reference base field to searchable, but when I try to modify through:

Configuration -> Database structure -> Fields

and the system says:

Properties of base fields cannot be altered in this manner! Please modify
them through Python code, preferably through a custom addon!

How can I do that? Any clues?

Thanks in advance.

Question information

English Edit question
Odoo Addons (MOVED TO GITHUB) Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andrew (aes) said :

You have to create a custom module. There are many tutorials out there if you Google openerp custom module.

The basic answer is create a new directory in the addons directory and create the files and

The code inside those files is dependent on what you want to do.

Can you help with this problem?

Provide an answer of your own, or ask Francisco Martinez for more information if necessary.

To post a message you must log in.