compatibility to Tryton 6.0
This commit is contained in:
parent
cc6af1dca0
commit
f6d110081c
5 changed files with 20 additions and 4 deletions
|
@ -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
|
||||
|
|
2
setup.py
2
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']
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=7.0.0
|
||||
version=6.0.0
|
||||
depends:
|
||||
document_incoming_invoice
|
||||
edocument_unece
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
document_incoming_invoice;6.0.0;6.0.999;mds
|
Loading…
Reference in a new issue