Compare commits

...

12 commits

Author SHA1 Message Date
Mathias Behrle
f9f9901fc1 Correct typo: Use limit instead of count.
count returns the number of found reports, but we search for the first
ActionReport instance.
2025-01-27 09:59:23 +01:00
Frederik Jaeckel
a6423b88e1 dont write to 'invoice_report_cache_id' 2024-12-18 12:26:33 +01:00
Frederik Jaeckel
45b60410e0 Version 7.0.7 2024-12-12 12:39:57 +01:00
Frederik Jaeckel
521029f49f Merge branch 'main' into 7.0 2024-12-12 12:38:33 +01:00
Frederik Jaeckel
2485eec0c9 Version 7.0.6 2024-12-11 16:57:19 +01:00
Frederik Jaeckel
110bb2bb5b Merge branch 'main' into 7.0 2024-12-11 16:51:17 +01:00
Frederik Jaeckel
4cc455e32d Version 7.0.5 2024-12-10 13:58:30 +01:00
Frederik Jaeckel
00056a5765 Merge branch 'main' into 7.0 2024-12-10 13:57:18 +01:00
Frederik Jaeckel
bfb10c42c1 Version 7.0.4 2024-12-09 15:52:09 +01:00
Frederik Jaeckel
675e103fd9 Merge branch 'main' into 7.0 2024-12-09 15:47:25 +01:00
Frederik Jaeckel
5fe277af7b Etikett ver 7.0.3 zum Änderungssatz 01cc6e646de2 hinzugefügt 2023-12-22 15:13:34 +01:00
Frederik Jaeckel
d1f6f34897 Version 7.0.3 2023-12-22 15:13:23 +01:00
5 changed files with 20 additions and 5 deletions

View file

@ -14,6 +14,22 @@ Requires
Changes Changes
======= =======
*7.0.0 - 22.12.2023* *7.0.7 - 12.12.2024*
- fix: generate pdf if not stored in db
*7.0.6 - 11.12.2024*
- re-create invoice-report if not pdf and zugferd-export
*7.0.5 - 10.12.2024*
- update tests for iban in xml-export
*7.0.4 - 09.12.2024*
- add: export formats: factur-x, ZUGFeRD, XRechnung 2.3 + 3.0
*7.0.3 - 22.12.2023*
- compatiblity to Tryton 7.0 - compatiblity to Tryton 7.0

View file

@ -1,5 +1,5 @@
[tryton] [tryton]
version=7.0.0 version=7.0.7
depends: depends:
account_invoice account_invoice
bank bank

View file

@ -1 +1 @@
edocument_xrechnung;7.0.5;7.0.999;mds edocument_xrechnung;7.0.10;7.0.999;mds

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]

View file

@ -105,7 +105,7 @@ class XReport(Report):
# no report defined, use 1st found # no report defined, use 1st found
act_report = ActionReport.search([ act_report = ActionReport.search([
('model', '=', 'account.invoice'), ('model', '=', 'account.invoice'),
('extension', '=', 'pdf')], count=1) ('extension', '=', 'pdf')], limit=1)
if act_report: if act_report:
act_report = act_report[0] act_report = act_report[0]
if not act_report: if not act_report: