Fix default return value in exception_state method

This commit is contained in:
Bertrand Chenal committed 2009-02-03 11:03:59 +01:00
1 parent 03eaa5e283
commit fa954ef1f9
1 file changed
+1 -1
+1 -1
View File
@@ -1515,7 +1515,7 @@ class Move(OSV):
return res
def get_exception_state(self, cursor, user, ids, name, arg, context=None):
res = {}.fromkeys(ids, False)
res = {}.fromkeys(ids, '')
for move in self.browse(cursor, user, ids, context=context):
if not move.purchase_line:
continue