Commit e6075520 authored by Julio [Vauxoo]'s avatar Julio [Vauxoo]
Browse files

[IMP] added condition in query to filter account actives

parent a693cc11
......@@ -315,7 +315,7 @@ COALESCE(,0.0) as credit, as id,,node.type
FROM account_account AS node,account_account AS parent
WHERE node.parent_left BETWEEN parent.parent_left AND parent.parent_right
AND """+where_account_ids+"""
AND """+where_account_ids+""" AND = True
ORDER BY parent.parent_left ) nivel
) padres ON
WHERE nivel.level <= %s
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment