dont write to 'invoice_report_cache_id'

This commit is contained in:
Frederik Jaeckel 2024-12-12 16:53:22 +01:00
parent aa0134a67d
commit ba9e00df50

View file

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