Update unit price after invoice posted and move done

issue9962
review292991002
This commit is contained in:
Cédric Krier committed 2021-02-03 21:21:03 +01:00
1 parent de0b29b7bf
commit fb46338b22
1 file changed
+1 -1
+1 -1
View File
@@ -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'),