[FIX] point_of_sale: it was impossible to delete a pos session
This commit is contained in:
parent
4f0d454217
commit
8e212eb6fb
|
@ -394,7 +394,7 @@ class pos_session(osv.osv):
|
|||
for obj in self.browse(cr, uid, ids, context=context):
|
||||
for statement in obj.statement_ids:
|
||||
statement.unlink(context=context)
|
||||
return True
|
||||
return super(pos_session, self).unlink(cr, uid, ids, context=context)
|
||||
|
||||
|
||||
def open_cb(self, cr, uid, ids, context=None):
|
||||
|
|
Loading…
Reference in New Issue