Get account from pool in UpdateChart default_start

issue9663
review329121002
This commit is contained in:
David Harper committed 2020-10-03 12:26:12 +01:00
1 parent b581907bac
commit cb60dc6b34
1 file changed
+3
+3
View File
@@ -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),