From 8b0cdf1a8a762c3d452f03478bc8ccd9dd3046ab Mon Sep 17 00:00:00 2001 From: David Harper Date: Sat, 6 Jun 2020 10:19:09 +0100 Subject: [PATCH] Rename production state from cancel to cancelled issue8927 review325451002 --- production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production.py b/production.py index 3a1e978fd8..1d5d42a00a 100644 --- a/production.py +++ b/production.py @@ -138,7 +138,7 @@ class Production(metaclass=PoolMeta): @classmethod @ModelView.button - @Workflow.transition('cancel') + @Workflow.transition('cancelled') def cancel(cls, productions): pool = Pool() PurchaseLine = pool.get('purchase.line')