fix: Fixed test case and sider issues

This commit is contained in:
Nabin Hait
2022-01-31 17:24:50 +05:30
parent 3dadfc9048
commit 6099af5d00
5 changed files with 31 additions and 27 deletions

View File

@@ -35,9 +35,9 @@ def get_existing_cost_center_allocations():
records = (
frappe.qb.from_(par)
.inner_join(child).on(par.name == child.parent)
.select(par.name, child.cost_center, child.percentage_allocation)
.where(par.enable_distributed_cost_center == 1)
.inner_join(child).on(par.name == child.parent)
.select(par.name, child.cost_center, child.percentage_allocation)
.where(par.enable_distributed_cost_center == 1)
).run(as_dict=True)
cc_allocations = frappe._dict()