dont write to 'invoice_report_cache_id'

This commit is contained in:
Frederik Jaeckel 2024-12-12 16:53:22 +01:00
parent 45b60410e0
commit a6423b88e1

View file

@ -115,7 +115,6 @@ class RunXRechnungReport(Wizard):
Invoice.write(*[
to_delete_report, {
'invoice_report_cache': None,
'invoice_report_cache_id': None,
'invoice_report_format': None}])
to_generate = [x for x in invoices if not x.invoice_report_cache]