Add Tryton 7.0 compatibility branch
Publish Package / publish (push) Successful in 3m25s

This commit is contained in:
José Arturo García
2026-09-29 09:17:37 -04:00
parent c4765f1469
commit 8e0d90afae
4 changed files with 21 additions and 5 deletions
+17 -2
View File
@@ -1,6 +1,21 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of # This file is part of 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.
from . import invoice, tax from trytond.pool import Pool
__all__ = ['invoice', 'tax'] from . import account, invoice, ir, tax
__all__ = ['register']
def register():
Pool.register(
ir.ModelData,
invoice.Invoice,
invoice.InvoiceLine,
tax.TaxTemplate,
tax.Tax,
module='account_do', type_='model')
Pool.register(
account.CreateChart,
module='account_do', type_='wizard')
+2 -1
View File
@@ -11,7 +11,8 @@ Imports::
Install account_do:: Install account_do::
>>> config = activate_modules('account_do', create_company) >>> config = activate_modules('account_do')
>>> _ = create_company()
Get the test company:: Get the test company::
+1 -1
View File
@@ -621,7 +621,7 @@ class AccountDoUnitTestCase(unittest.TestCase):
if line.strip() if line.strip()
] ]
self.assertEqual(config.get('tryton', 'version'), '8.0.5') self.assertEqual(config.get('tryton', 'version'), '7.0.0')
self.assertEqual( self.assertEqual(
set(lines('tryton', 'depends')), set(lines('tryton', 'depends')),
{'account', 'account_invoice', 'ir'}) {'account', 'account_invoice', 'ir'})
+1 -1
View File
@@ -1,5 +1,5 @@
[tryton] [tryton]
version=8.0.5 version=7.0.0
depends: depends:
account account
account_invoice account_invoice