[IMP] account: query_get improved to allow usage of analytic_account_id in reports
This commit is contained in:
@@ -1186,6 +1186,9 @@ class AccountMoveLine(models.Model):
|
||||
if context.get('analytic_tag_ids'):
|
||||
domain += ['|', ('analytic_account_id.tag_ids', 'in', context['analytic_tag_ids'].ids), ('analytic_tag_ids', 'in', context['analytic_tag_ids'].ids)]
|
||||
|
||||
if context.get('analytic_account_ids'):
|
||||
domain += [('analytic_account_id', 'in', context['analytic_account_ids'].ids)]
|
||||
|
||||
where_clause = ""
|
||||
where_clause_params = []
|
||||
tables = ''
|
||||
|
||||
Reference in New Issue
Block a user