[FIX] lunch: passing self in a super call.

bzr revid: vmt@openerp.com-20130125211751-725w3trha283ypa2
This commit is contained in:
Vo Minh Thu 2013-01-25 22:17:51 +01:00
parent a2679597a0
commit 11632909ae
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ class lunch_order(osv.Model):
def specific_function(cr, uid, ids, context=None):
return self.add_preference(cr, uid, ids, pref_id, context=context)
return specific_function
return super(lunch_order,self).__getattr__(self,attr)
return super(lunch_order, self).__getattr__(attr)
def fields_view_get(self, cr, uid, view_id=None, view_type=False, context=None, toolbar=False, submenu=False):
"""