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 09f2e7a3a1
commit ff57359f2b
+2 -2
View File
@@ -210,7 +210,7 @@ class LandedCost(Workflow, ModelSQL, ModelView):
currency = self.company.currency
moves = [m for s in self.shipments for m in s.incoming_moves
if m.state != 'cancel']
if m.state != 'cancelled']
sum_value = 0
unit_prices = {}
@@ -239,7 +239,7 @@ class LandedCost(Workflow, ModelSQL, ModelView):
cost = self.cost
currency = self.company.currency
moves = [m for s in self.shipments for m in s.incoming_moves
if m.state != 'cancel' and m.quantity]
if m.state != 'cancelled' and m.quantity]
costs = []
digit = Move.unit_price.digits[1]