fix: Distributed cost center query updation

This commit is contained in:
Deepesh Garg 2020-06-13 21:13:52 +05:30
parent d80d442aa1
commit cc4943d54d

View File

@ -406,6 +406,7 @@ def set_gl_entries_by_account(
FROM `tabDistributed Cost Center`
WHERE cost_center IN %(cost_center)s
AND parent NOT IN %(cost_center)s
AND is_cancelled = 0
GROUP BY parent
) as DCC_allocation
WHERE company=%(company)s