[FIX] ir_needaction_mixin: back to Model, because AbstractModel was causing issues.

bzr revid: tde@openerp.com-20120702132520-fjdhey6fygmqc943
This commit is contained in:
Thibault Delavallée
2012-07-02 15:25:20 +02:00
parent e73fdc8d8d
commit 383a9a871f
+2 -2
View File
@@ -78,7 +78,7 @@ class ir_needaction_users_rel(osv.Model):
return True
class ir_needaction_mixin(osv.AbstractModel):
class ir_needaction_mixin(osv.Model):
'''Mixin class for objects using the need action feature.
Need action feature can be used by objects having to be able to
@@ -118,7 +118,7 @@ class ir_needaction_mixin(osv.AbstractModel):
on the record. '''
_name = 'ir.needaction_mixin'
_description = '"Need action" mixin'
_description = 'Need action mixin'
def get_needaction_pending(self, cr, uid, ids, name, arg, context=None):
res = {}