From ebf6bffe08e7dbcb4e36cf266c639eaa49e05d5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 6 Oct 2009 14:27:30 +0200 Subject: [PATCH] Allow to modify tax lines from canceled invoice for issue1214 --- invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoice.py b/invoice.py index ab31fc4827..a8216a32f0 100644 --- a/invoice.py +++ b/invoice.py @@ -1890,7 +1890,7 @@ class InvoiceTax(ModelSQL, ModelView): Check if the taxes can be modified ''' for tax in self.browse(cursor, user, ids, context=context): - if tax.invoice.state in ('open', 'paid', 'cancel'): + if tax.invoice.state in ('open', 'paid'): self.raise_user_error(cursor, 'modify', context=context) return