From cb60dc6b34a0b856fea7916a7a72f7fc2b9fe608 Mon Sep 17 00:00:00 2001 From: David Harper Date: Sat, 3 Oct 2020 12:26:12 +0100 Subject: [PATCH] Get account from pool in UpdateChart default_start issue9663 review329121002 --- account.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/account.py b/account.py index 69094862e0..ab046ab579 100644 --- a/account.py +++ b/account.py @@ -2673,6 +2673,9 @@ class UpdateChart(Wizard): ]) def default_start(self, fields): + pool = Pool() + Account = pool.get('account.account') + defaults = {} charts = Account.search([ ('parent', '=', None),