fix check value param self.hierarchy for account grouping

This commit is contained in:
Lara Baggio
2019-05-14 18:09:47 +02:00
committed by chaule97
parent faff156590
commit 0817cf3c4d
2 changed files with 2 additions and 2 deletions

View File

@@ -572,7 +572,7 @@ WHERE newline.account_group_id = report_trial_balance_account.parent_id
groups = self.account_ids.filtered(
lambda a: a.account_group_id is not False)
for group in groups:
if self.hierarchy_on == 'compute':
if self.hierarchy_on == 'computed':
group.compute_account_ids = \
group.account_group_id.compute_account_ids
else: