Hello,

Shouldn't be "ir.needaction_mixin" an AbstractModel rather than a Model ?

So instead of:

   class ir_needaction_mixin(osv.Model):

Write:

   class ir_needaction_mixin(osv.AbstractModel):


I didn't check if this model is concretely used, but its name suggests that it 
is used for inheriting in other models, so I can deduce that it is an abstract 
model.

It would work also if it subclasses Model, but it would create an unnecessary 
table in the database and would be semantically confusing.

-- 
https://code.launchpad.net/~openerp-dev/openobject-server/trunk-mail-cleaning-fp/+merge/120037
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-server/trunk-mail-cleaning-fp.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to