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
This commit is contained in:
1 parent
7fafdf6af8
commit
b58bb45544
1 file changed
-1
@@ -427,7 +427,6 @@ class Invoice(Workflow, ModelSQL, ModelView, TaxableMixin, InvoiceReportMixin):
|
||||
('validated', 'cancelled'),
|
||||
('posted', 'cancelled'),
|
||||
('cancelled', 'draft'),
|
||||
('cancelled', 'posted'),
|
||||
))
|
||||
cls._buttons.update({
|
||||
'cancel': {
|
||||
|
||||
Reference in new issue
Block a user