updates for Tryton 6.0

This commit is contained in:
Frederik Jaeckel 2024-01-13 15:47:46 +01:00
parent 98377024d2
commit ad18161c31
2 changed files with 6 additions and 5 deletions

View file

@ -10,6 +10,7 @@ from trytond.pool import Pool
from trytond.transaction import Transaction
from trytond.exceptions import UserError
from trytond.i18n import gettext
from trytond.modules.cashbook_investment.tests.test_module import \
CashbookInvestmentTestCase
from trytond.modules.cashbook_report.templates import (
cashbook_types, category_types, booktype_types, currency_types)
@ -523,7 +524,7 @@ class ReportTestCase(CashbookInvestmentTestCase):
self.assertRaisesRegex(
UserError,
'The value "types" for field "Data type 2" in ' +
'"Evaluation 1" of "Evaluation" is not one of the ' +
'"Evaluation" is not one of the ' +
'allowed options.',
Evaluation.write,
*[