Merge pull request #10737 from nabinhait/budget_variance_for_project

[fix] Actual amount for budget variance report
This commit is contained in:
rohitwaghchaure 2017-09-11 16:47:16 +05:30 committed by GitHub
commit 47605cae16

View File

@ -99,7 +99,8 @@ def get_actual_details(name, filters):
where
b.name = ba.parent
and b.docstatus = 1
and ba.account=gl.account
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})