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

This commit is contained in:
Frederic van der Essen
2014-08-05 14:04:38 +02:00
parent 4f0d454217
commit 8e212eb6fb
+1 -1
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):