Rename production state from cancel to cancelled

issue8927
review325451002
This commit is contained in:
David Harper
2020-06-06 10:19:09 +01:00
parent b72d5bceaa
commit 8b0cdf1a8a
+1 -1
View File
@@ -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')