From b58bb455444a437d73e4d95fba89015b769f4282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 29 Oct 2024 17:09:59 +0100 Subject: [PATCH] Remove unnecessary invoice transition from cancelled to posted cbb381841768 added it but it is not necessary because process use _post method to set back the invoice to posted. Closes #13619 --- modules/account_invoice/invoice.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/account_invoice/invoice.py b/modules/account_invoice/invoice.py index f0c624190f..0648d3e5b0 100644 --- a/modules/account_invoice/invoice.py +++ b/modules/account_invoice/invoice.py @@ -427,7 +427,6 @@ class Invoice(Workflow, ModelSQL, ModelView, TaxableMixin, InvoiceReportMixin): ('validated', 'cancelled'), ('posted', 'cancelled'), ('cancelled', 'draft'), - ('cancelled', 'posted'), )) cls._buttons.update({ 'cancel': {