Compare commits

..

No commits in common. "6.0" and "main" have entirely different histories.
6.0 ... main

8 changed files with 9 additions and 63 deletions

1
.gitignore vendored
View file

@ -4,4 +4,3 @@ dist/*
mds_account_invoice_xrechnung.egg-info/* mds_account_invoice_xrechnung.egg-info/*
__pycache__/* __pycache__/*
locale/convert_de2en.py locale/convert_de2en.py
.env

View file

@ -9,49 +9,11 @@ pip install mds-account-invoice-xrechnung
Requires Requires
======== ========
- Tryton 6.0 - Tryton 7.0
Changes Changes
======= =======
*6.8.11 - 02.05.2025* *7.0.0 - 22.12.2023*
- update copyright - compatiblity to Tryton 7.0
*6.8.10 - 11.02.2025*
- Allow the export of paid invoices. (Mathias Behrle <mathiasb@m9s.biz>)
*6.0.9 - 28.01.2025*
- fix: select 1st invoice-report (Mathias Behrle <mathiasb@m9s.biz>)
*6.0.8 - 12.12.2024*
- fix: generate pdf if not stored in db
- fix: exception on write to invoice
*6.0.6 - 11.12.2024*
- re-create invoice-report if not pdf and zugferd-export
*6.0.5 - 10.12.2024*
- update tests for iban in xml-export
- add: export formats: factur-x, ZUGFeRD, XRechnung 2.3 + 3.0
*6.0.3 - 30.06.2023*
- add: credit-note
*6.0.2 - 20.10.2022*
- add: msg if invoice is not posted
*6.0.1 - 20.10.2022*
- works
*6.0.0 - 18.10.2022*
- init

View file

@ -17,7 +17,7 @@ class InvoiceLine(metaclass=PoolMeta):
cls.unit.states['required'], cls.unit.states['required'],
And( And(
Eval('type') == 'line', Eval('type') == 'line',
Bool(Eval('quantity', None)))) Bool(Eval('quantity'))))
cls.unit.depends.extend(['type', 'quantity']) cls.unit.depends.update(['type', 'quantity'])
# end Invoice # end Invoice

View file

@ -34,7 +34,7 @@ with open(path.join(here, 'versiondep.txt'), encoding='utf-8') as f:
modversion[l2[0]] = {'min': l2[1], 'max': l2[2], 'prefix': l2[3]} modversion[l2[0]] = {'min': l2[1], 'max': l2[2], 'prefix': l2[3]}
# tryton-version # tryton-version
major_version = 6 major_version = 7
minor_version = 0 minor_version = 0
requires = ['python-slugify', 'pypdf', 'factur-x'] requires = ['python-slugify', 'pypdf', 'factur-x']

View file

@ -2,18 +2,3 @@
# This file is part of the account-invoice-xrechnung-module # This file is part of the account-invoice-xrechnung-module
# from m-ds for Tryton. The COPYRIGHT file at the top level of # from m-ds for Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms. # this repository contains the full copyright notices and license terms.
import trytond.tests.test_tryton
import unittest
from .test_invoice import InvoiceTestCase
__all__ = ['suite']
def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
InvoiceTestCase))
return suite

View file

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

View file

@ -1 +1 @@
edocument_xrechnung;6.0.13;6.0.999;mds edocument_xrechnung;7.0.5;7.0.999;mds

View file

@ -4,7 +4,7 @@
full copyright notices and license terms. --> full copyright notices and license terms. -->
<data> <data>
<xpath expr="/form/separator[@id='move']" position="after"> <xpath expr="/form/separator[@id='currency_exchange']" position="before">
<separator id="xrechnung" colspan="4" string="ZUGFeRD - e-Invoice"/> <separator id="xrechnung" colspan="4" string="ZUGFeRD - e-Invoice"/>
<label name="xrechn_zugferd_report"/> <label name="xrechn_zugferd_report"/>