[fix] Actual amount for budget variance report

This commit is contained in:
Nabin Hait 2017-09-11 13:58:15 +05:30
parent b9d158076e
commit f5cbb9c7b9

View File

@ -100,6 +100,7 @@ def get_actual_details(name, filters):
b.name = ba.parent
and b.docstatus = 1
and ba.account=gl.account
and b.{budget_against} = gl.{budget_against}
and gl.fiscal_year=%s
and b.{budget_against}=%s
and exists(select name from `tab{tab}` where name=gl.{budget_against} and {cond})