Rename move state from cancel to cancelled

issue8927
review297851002
This commit is contained in:
David Harper
2020-06-06 10:30:11 +01:00
parent 0d50457de1
commit 67a60aba8f
+1 -1
View File
@@ -107,7 +107,7 @@ class Line(metaclass=PoolMeta):
if (self.type != 'line'
or not self.product
or self.quantity <= 0
or any(m.state not in ['staging', 'cancel']
or any(m.state not in ['staging', 'cancelled']
for m in self.moves)):
return False
return self.product.supply_on_sale