Fix default return value in exception_state method
This commit is contained in:
1 parent
03eaa5e283
commit
fa954ef1f9
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user