changeset 37f0a2b84b86 in modules/purchase_shipment_cost:default
details: 
https://hg.tryton.org/modules/purchase_shipment_cost?cmd=changeset;node=37f0a2b84b86
description:
        Rename move state from cancel to cancelled

        issue8927
        review297851002
diffstat:

 stock.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 65aaaaf7d359 -r 37f0a2b84b86 stock.py
--- a/stock.py  Mon May 04 12:25:14 2020 +0200
+++ b/stock.py  Sat Jun 06 10:30:11 2020 +0100
@@ -71,7 +71,7 @@
         cost = Currency.compute(self.cost_currency, self.cost,
             self.company.currency, round=False)
         moves = [m for m in self.incoming_moves
-            if m.state not in ('done', 'cancel')]
+            if m.state not in ('done', 'cancelled')]
 
         sum_value = 0
         unit_prices = {}

Reply via email to