changeset e94197bb9507 in modules/account:default
details: https://hg.tryton.org/modules/account?cmd=changeset;node=e94197bb9507
description:
Get account from pool in UpdateChart default_start
issue9663
review329121002
diffstat:
account.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r b273c2533e0d -r e94197bb9507 account.py
--- a/account.py Sat Oct 03 12:24:19 2020 +0100
+++ b/account.py Sat Oct 03 12:26:12 2020 +0100
@@ -2673,6 +2673,9 @@
])
def default_start(self, fields):
+ pool = Pool()
+ Account = pool.get('account.account')
+
defaults = {}
charts = Account.search([
('parent', '=', None),