diff --git a/COPYRIGHT b/COPYRIGHT index b597702..f7d3062 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -1,3 +1,5 @@ +Copyright (C) 2015-2025 Cédric Krier. +Copyright (C) 2015-2025 B2CK SPRL. Copyright (C) 2021-2025 martin-data services. Copyright (C) 2025 Mathias Behrle diff --git a/README.rst b/README.rst index 0aac6c8..8fb5641 100644 --- a/README.rst +++ b/README.rst @@ -9,11 +9,29 @@ pip install mds-account-invoice-xrechnung Requires ======== -- Tryton 7.0 +- Tryton 6.8 Changes ======= -*7.0.0 - 22.12.2023* +*6.8.8 - 28.01.2025* -- compatiblity to Tryton 7.0 +- fix: select 1st invoice-report (Mathias Behrle ) + +*6.8.7 - 18.12.2024* + +- optimize pdf-generate + +*6.8.6 - 11.12.2024* + +- re-create invoice-report if not pdf and zugferd-export + +*6.8.5 - 10.12.2024* + +- update tests for iban in xml-export +- add: export formats: factur-x, ZUGFeRD, XRechnung 2.3 + 3.0 + +*6.8.3 - 30.06.2023* + +- compatiblity to Tryton 6.8 +- code optimized diff --git a/setup.py b/setup.py index d0f871b..91e120f 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,7 @@ here = path.abspath(path.dirname(__file__)) MODULE = 'account_invoice_xrechnung' PREFIX = 'mds' +# Get the long description from the README file with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() @@ -34,8 +35,8 @@ with open(path.join(here, 'versiondep.txt'), encoding='utf-8') as f: modversion[l2[0]] = {'min': l2[1], 'max': l2[2], 'prefix': l2[3]} # tryton-version -major_version = 7 -minor_version = 0 +major_version = 6 +minor_version = 8 requires = ['python-slugify', 'pypdf', 'factur-x'] for dep in info.get('depends', []): @@ -85,8 +86,6 @@ setup( 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3.12', ], keywords='tryton account invoice xrechnung edocument', diff --git a/tryton.cfg b/tryton.cfg index 272e243..23192f3 100644 --- a/tryton.cfg +++ b/tryton.cfg @@ -1,5 +1,5 @@ [tryton] -version=7.0.0 +version=6.8.8 depends: account_invoice bank diff --git a/versiondep.txt b/versiondep.txt index 258b3ff..b274c72 100644 --- a/versiondep.txt +++ b/versiondep.txt @@ -1 +1 @@ -edocument_xrechnung;7.0.5;7.0.999;mds +edocument_xrechnung;6.8.13;6.8.999;mds diff --git a/wizard_runreport.py b/wizard_runreport.py index d8d5c5e..708954c 100644 --- a/wizard_runreport.py +++ b/wizard_runreport.py @@ -125,7 +125,7 @@ class RunXRechnungReport(Wizard): def do_export(self, action): """ run export """ - if self.start.state not in {'paid', 'posted'}: + if self.start.state != 'posted': raise UserError(gettext( 'account_invoice_xrechnung.msg_invoice_must_posted', invname=self.start.invoice.rec_name))