Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
vauxoo-dev
addons-vauxoo
Commits
e6075520
Commit
e6075520
authored
Feb 01, 2013
by
Julio [Vauxoo]
Browse files
[IMP] added condition in query to filter account actives
parent
a693cc11
Changes
1
Hide whitespace changes
Inline
Side-by-side
account_report_partner/report/account_report_btree.py
View file @
e6075520
...
...
@@ -315,7 +315,7 @@ COALESCE(subvw_final.credit,0.0) as credit,
node.id as id,node.name,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 node.active = True
ORDER BY parent.parent_left ) nivel
) padres ON padres.id=nivel.id
WHERE nivel.level <= %s
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment