From bba53cba1cb6466e7a5d249c2ae47314349a3ef4 Mon Sep 17 00:00:00 2001 From: Bertrand Chenal Date: Mon, 7 Dec 2009 10:18:06 +0100 Subject: [PATCH] Removed duplicate set_state_cancel on inventory (issue1323) (transplanted from 10dfa28e1cbe76b7a5f0bf11920ecc2243fecd49) --- inventory.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/inventory.py b/inventory.py index 38d44947c3..78efde716f 100644 --- a/inventory.py +++ b/inventory.py @@ -65,11 +65,6 @@ class Inventory(OSV): context=context)[0] return False - def set_state_cancel(self, cursor, user, ids, context=None): - self.write(cursor, user, ids, { - 'state': 'cancel', - }, context=context) - def set_state_draft(self, cursor, user, inventory_id, context=None): self.write(cursor, user, inventory_id, { 'state': 'draft',