[FIX] point_of_sale: it was impossible to delete a pos session

This commit is contained in:
Frederic van der Essen 2014-07-18 14:30:13 +02:00
parent 4f0d454217
commit 8e212eb6fb
1 changed files with 1 additions and 1 deletions

View File

@ -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):