changeset f0a63b0aef91 in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset;node=f0a63b0aef91
description:
Only try to assign non assigned moves
issue9206
review311191005
diffstat:
move.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 9c34a1b0ddad -r f0a63b0aef91 move.py
--- a/move.py Mon Aug 10 23:38:04 2020 +0200
+++ b/move.py Wed Aug 12 14:28:23 2020 +0200
@@ -848,6 +848,7 @@
Date = pool.get('ir.date')
Location = pool.get('stock.location')
+ moves = [m for m in moves if m.state in {'draft', 'staging'}]
if not moves:
return True