mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-21 11:15:10 +00:00
fix: exclude cancelled gl entries
(cherry picked from commit 3251a331dd)
This commit is contained in:
@@ -263,6 +263,7 @@ def get_actual_details(name, filters):
|
|||||||
and ba.account=gl.account
|
and ba.account=gl.account
|
||||||
and b.{budget_against} = gl.{budget_against}
|
and b.{budget_against} = gl.{budget_against}
|
||||||
and gl.fiscal_year between %s and %s
|
and gl.fiscal_year between %s and %s
|
||||||
|
and gl.is_cancelled = 0
|
||||||
and b.{budget_against} = %s
|
and b.{budget_against} = %s
|
||||||
and exists(
|
and exists(
|
||||||
select
|
select
|
||||||
|
|||||||
Reference in New Issue
Block a user