diff --git a/README.rst b/README.rst index c95392e..c983c7a 100644 --- a/README.rst +++ b/README.rst @@ -9,12 +9,12 @@ pip install mds-document-incoming-invoice-xml Requires ======== -- Tryton 7.0 +- Tryton 6.0 Changes ======= -*7.0.0 - 19.12.2024* +*6.0.0 - 23.01.2025* - init diff --git a/setup.py b/setup.py index 06fd569..23f4c09 100644 --- a/setup.py +++ b/setup.py @@ -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]} # tryton-version -major_version = 7 +major_version = 6 minor_version = 0 requires = ['pypdf', 'factur-x', 'lxml'] diff --git a/tests/__init__.py b/tests/__init__.py index 065d6a1..136cce3 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -2,3 +2,18 @@ # This file is part of the document-incoming-invoice-xml-module # from m-ds for Tryton. The COPYRIGHT file at the top level of # 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 diff --git a/tryton.cfg b/tryton.cfg index db07b00..ce251a6 100644 --- a/tryton.cfg +++ b/tryton.cfg @@ -1,5 +1,5 @@ [tryton] -version=7.0.0 +version=6.0.0 depends: document_incoming_invoice edocument_unece diff --git a/versiondep.txt b/versiondep.txt index e69de29..208ad7f 100644 --- a/versiondep.txt +++ b/versiondep.txt @@ -0,0 +1 @@ +document_incoming_invoice;6.0.0;6.0.999;mds