From fb46338b227a63a8fbff95ca502c59ed29c655fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 3 Feb 2021 21:21:03 +0100 Subject: [PATCH] Update unit price after invoice posted and move done issue9962 review292991002 --- invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoice.py b/invoice.py index 2199c0c44c..b7e452366c 100644 --- a/invoice.py +++ b/invoice.py @@ -245,7 +245,7 @@ class Invoice(Workflow, ModelSQL, ModelView, TaxableMixin): def __setup__(cls): super(Invoice, cls).__setup__() cls._check_modify_exclude = ['state', 'payment_lines', 'cancel_move', - 'invoice_report_cache', 'invoice_report_format'] + 'invoice_report_cache', 'invoice_report_format', 'lines'] cls._order = [ ('number', 'DESC'), ('id', 'DESC'),