Lets suppose I have a field in base module:
class base_module(osv.osv):
_name="base.module"
_columns={
'state':fields.selection([('open', 'No Recruitment'), ('recruit', 'Recruitement in Progress')], 'Status')
}
Now I want to override this same field by inheriting the above "base.module"
class inherit_module(osv.osv):
_inherit="base.module"
_columns={
'state':fields.selection([ ('open', 'No Recruitment'),\
('submitted','Submitted'),\
('hod_depart','HOD Approval'),\
('hr_approval','HR Approval'),\
('recruit','Recruitement in Progress'),\
],'Stages',)
}
I did this and when I check the table , I did not get the required result Am I doing right, or there is another way to achieve this , or is it not possible ?