diff --git a/README.rst b/README.rst index 9eabda9..6c4d2e4 100644 --- a/README.rst +++ b/README.rst @@ -9,37 +9,51 @@ pip install mds-edocument-xrechnung Requires ======== -- Tryton 7.0 +- Tryton 6.8 Changes ======= -*7.0.10 - 12.12.2024* +*6.8.16 - 11.06.2025* + +- fix xml-content to be more valid + +*6.8.15 - 02.05.2025* + +- update license + +*6.8.14 - 29.01.2025* + +- updt: optimize rounding of unit_price + +*6.8.13 - 28.01.2025* + +- fix: rounding of unit_price at invoice-line + +*6.8.12 - 09.01.2025* + +- handle tax childs (Jan Grasnick ) + +*6.8.11 - 19.12.2024* + +- Lookup parent taxes for unece tax codes. +- Improve the help text of xrechnung_routeid. Correct a translation. + (Mathias Behrle ) + +*6.8.10 - 18.12.2024* - fix missing views - Remove arguments in super() calls. (Mathias Behrle) -*7.0.9 - 11.12.2024* +*6.8.9 - 11.12.2024* - fix name of party in exceptions -*7.0.7 - 10.12.2024* +*6.8.7 - 10.12.2024* -- add iban to xml-export +- add: export of factur-x 1.07.2, XRechnung 2.3 + 3.0 -*7.0.6 - 09.12.2024* +*6.8.2 - 30.06.2023* -- add: check for valid data to generate xml - -*7.0.5 - 05.12.2024* - -- add: export Factur-X 1.07.2 - -*7.0.4 - 05.12.2024* - -- add: export XRechnung 2.3 + 3.0 -- updt: xrechnung-route-id optional - -*7.0.3 - 22.12.2023* - -- compatibility to Tryton 7.0 +- add credit-note +- compatibility to Tryton 6.8 diff --git a/mixin.py b/mixin.py index dc235ac..1ffdd6f 100644 --- a/mixin.py +++ b/mixin.py @@ -168,9 +168,6 @@ class EdocumentMixin(object): Args: line (record): model account.invoice.line """ - if not hasattr(line, 'modegross'): - return line.amount - if line.modegross == 'net': return line.amount elif line.modegross == 'gross': diff --git a/setup.py b/setup.py index c82d777..4709885 100644 --- a/setup.py +++ b/setup.py @@ -34,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 = 7 -minor_version = 0 +major_version = 6 +minor_version = 8 requires = [] for dep in info.get('depends', []): diff --git a/tryton.cfg b/tryton.cfg index ecd8916..0a4675a 100644 --- a/tryton.cfg +++ b/tryton.cfg @@ -1,5 +1,5 @@ [tryton] -version=7.0.10 +version=6.8.16 depends: edocument_uncefact party