Hi,
I try to inherit(models.Model) a model defined with osv.osv that contains a field selection which is computed.
I redefined the whole Selection field with the same parameters as I want to override the function called by the compute.
As value of my compute field option, I put my new compute method.
The new compute method call the super one, set the field and then I do my stuff.
Module install is ok, new compute function is well called.
But when I let debugging continue, I got the Exception : 'undefined get method'.
After deep debugging, it appears that my Selection field got the type osv.fields.selection instead of osv.fields.function => the selection type don't have a get method (see the _column object in openerp.osv.fields).
The original model (without my module) has the good type osv.fields.function...
Is it a framework error?
Many thanks for your help
There is no bug for selection field, you might using wrong coding structure in odoo 8, Can you give the sample code what you have tried to set selection?