[FIX] ir_needaction_mixin: back to Model, because AbstractModel was causing issues.
bzr revid: tde@openerp.com-20120702132520-fjdhey6fygmqc943
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user