Rename move state from cancel to cancelled
issue8927 review297851002
This commit is contained in:
+2
-2
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user