diff --git a/invoice.py b/invoice.py index f6da9c799a..84bf3033cf 100644 --- a/invoice.py +++ b/invoice.py @@ -198,7 +198,7 @@ class Invoice(ModelWorkflow, ModelSQL, ModelView): cursor.execute('UPDATE "' + self._table + '" ' 'SET invoice_report_cache = %s ' 'WHERE id = %s', (report, invoice_id)) - table.drop_column('invoice_report') + table.drop_column('invoice_report') # Add index on create_date table.index_action('create_date', action='add')