compatibility to Tryton 6.0

This commit is contained in:
Frederik Jaeckel 2025-01-23 17:27:20 +01:00
parent cc6af1dca0
commit f6d110081c
5 changed files with 20 additions and 4 deletions

View file

@ -9,12 +9,12 @@ pip install mds-document-incoming-invoice-xml
Requires Requires
======== ========
- Tryton 7.0 - Tryton 6.0
Changes Changes
======= =======
*7.0.0 - 19.12.2024* *6.0.0 - 23.01.2025*
- init - init

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 = 7 major_version = 6
minor_version = 0 minor_version = 0
requires = ['pypdf', 'factur-x', 'lxml'] requires = ['pypdf', 'factur-x', 'lxml']

View file

@ -2,3 +2,18 @@
# This file is part of the document-incoming-invoice-xml-module # This file is part of the document-incoming-invoice-xml-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_module import XmlIncomingTestCase
__all__ = ['suite']
def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
XmlIncomingTestCase))
return suite

View file

@ -1,5 +1,5 @@
[tryton] [tryton]
version=7.0.0 version=6.0.0
depends: depends:
document_incoming_invoice document_incoming_invoice
edocument_unece edocument_unece

View file

@ -0,0 +1 @@
document_incoming_invoice;6.0.0;6.0.999;mds