changeset 207468844fc1 in modules/purchase:default
details: https://hg.tryton.org/modules/purchase?cmd=changeset;node=207468844fc1
description:
        Rename shipment states from cancel to cancelled

        issue8927
        review301711002
diffstat:

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

diffs (12 lines):

diff -r 515d978c7f4e -r 207468844fc1 stock.py
--- a/stock.py  Sat Jun 06 10:14:13 2020 +0100
+++ b/stock.py  Sat Jun 06 10:17:29 2020 +0100
@@ -73,7 +73,7 @@
 
     @classmethod
     @ModelView.button
-    @Workflow.transition('cancel')
+    @Workflow.transition('cancelled')
     @process_purchase('incoming_moves')
     def cancel(cls, shipments):
         super(ShipmentIn, cls).cancel(shipments)

Reply via email to