changeset d34857ae9462 in modules/analytic_account:default
details:
https://hg.tryton.org/modules/analytic_account?cmd=changeset;node=d34857ae9462
description:
Store directly sequence type to sequence
issue10122
diffstat:
tests/scenario_analytic_account.rst | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 2075274f6be9 -r d34857ae9462 tests/scenario_analytic_account.rst
--- a/tests/scenario_analytic_account.rst Sat Mar 06 19:25:16 2021 +0100
+++ b/tests/scenario_analytic_account.rst Sat Mar 13 11:55:43 2021 +0100
@@ -147,7 +147,9 @@
>>> Period = Model.get('account.period')
>>> AccountType = Model.get('account.account.type')
>>> Account = Model.get('account.account')
- >>> journal_sequence, = Sequence.find([('code', '=', 'account.journal')])
+ >>> journal_sequence, = Sequence.find([
+ ... ('name', '=', "Default Account Journal"),
+ ... ])
>>> journal_closing = Journal()
>>> journal_closing.code = 'CLO'
>>> journal_closing.type = 'situation'