diff --git a/README.rst b/README.rst index ab62e82..81c20ab 100644 --- a/README.rst +++ b/README.rst @@ -9,11 +9,11 @@ pip install mds-cashbook-media Requires ======== -- Tryton 6.0 +- Tryton 6.8 Changes ======= -*6.0.0 - 14.10.2022* +*6.8.4 - 06.06.2023* -- init +- ported to Tryton 6.8 diff --git a/setup.py b/setup.py index bc4536e..0ea81af 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ with open(path.join(here, 'versiondep.txt'), encoding='utf-8') as f: # tryton-version major_version = 6 -minor_version = 0 +minor_version = 8 requires = ['python-magic>=0.4.24', 'Pillow'] for dep in info.get('depends', []): @@ -96,6 +96,7 @@ setup( 'License :: OSI Approved :: GNU General Public License (GPL)', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], keywords='tryton cashbook pdf png image file', diff --git a/tests/__init__.py b/tests/__init__.py index f5920f2..4effdfa 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,17 +1,2 @@ # This file is part of 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_line import LineTestCase - - -__all__ = ['suite'] - - -def suite(): - suite = trytond.tests.test_tryton.suite() - suite.addTests(unittest.TestLoader().loadTestsFromTestCase( - LineTestCase)) - return suite diff --git a/tests/test_line.py b/tests/test_line.py index e934698..a6fbe1d 100644 --- a/tests/test_line.py +++ b/tests/test_line.py @@ -8,7 +8,7 @@ from PIL import Image from trytond.tests.test_tryton import with_transaction from trytond.pool import Pool from trytond.exceptions import UserError -from trytond.modules.cashbook.tests import CashbookTestCase +from trytond.modules.cashbook.tests.test_module import CashbookTestCase from datetime import date from decimal import Decimal from .img_data import img_data_png, dok_data_pdf, text_data diff --git a/tryton.cfg b/tryton.cfg index f603792..d63f0eb 100644 --- a/tryton.cfg +++ b/tryton.cfg @@ -1,5 +1,5 @@ [tryton] -version=6.0.0 +version=6.8.4 depends: cashbook xml: diff --git a/versiondep.txt b/versiondep.txt index 7a98af6..56d4ce7 100644 --- a/versiondep.txt +++ b/versiondep.txt @@ -1 +1 @@ -cashbook;6.0.18;6.0.999;mds +cashbook;6.8.28;6.8.999;mds