Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7d03ec08ad | ||
![]() |
bde969a880 |
6 changed files with 10 additions and 29 deletions
|
@ -1,5 +1,3 @@
|
|||
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 <mathiasb@m9s.biz>
|
||||
|
||||
|
|
24
README.rst
24
README.rst
|
@ -9,29 +9,11 @@ pip install mds-account-invoice-xrechnung
|
|||
|
||||
Requires
|
||||
========
|
||||
- Tryton 6.8
|
||||
- Tryton 7.0
|
||||
|
||||
Changes
|
||||
=======
|
||||
|
||||
*6.8.8 - 28.01.2025*
|
||||
*7.0.0 - 22.12.2023*
|
||||
|
||||
- fix: select 1st invoice-report (Mathias Behrle <mathiasb@m9s.biz>)
|
||||
|
||||
*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
|
||||
- compatiblity to Tryton 7.0
|
||||
|
|
7
setup.py
7
setup.py
|
@ -13,7 +13,6 @@ 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()
|
||||
|
||||
|
@ -35,8 +34,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 = 6
|
||||
minor_version = 8
|
||||
major_version = 7
|
||||
minor_version = 0
|
||||
|
||||
requires = ['python-slugify', 'pypdf', 'factur-x']
|
||||
for dep in info.get('depends', []):
|
||||
|
@ -86,6 +85,8 @@ 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',
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=6.8.8
|
||||
version=7.0.0
|
||||
depends:
|
||||
account_invoice
|
||||
bank
|
||||
|
|
|
@ -1 +1 @@
|
|||
edocument_xrechnung;6.8.13;6.8.999;mds
|
||||
edocument_xrechnung;7.0.5;7.0.999;mds
|
||||
|
|
|
@ -125,7 +125,7 @@ class RunXRechnungReport(Wizard):
|
|||
def do_export(self, action):
|
||||
""" run export
|
||||
"""
|
||||
if self.start.state != 'posted':
|
||||
if self.start.state not in {'paid', 'posted'}:
|
||||
raise UserError(gettext(
|
||||
'account_invoice_xrechnung.msg_invoice_must_posted',
|
||||
invname=self.start.invoice.rec_name))
|
||||
|
|
Loading…
Reference in a new issue