Skip to content

Commit

Permalink
Merge pull request #148 from 8848digital/procurement_tracker
Browse files Browse the repository at this point in the history
fix: Procurement tracker
  • Loading branch information
aasif-patel authored Oct 1, 2024
2 parents d45f45c + dce11d9 commit 9b1801c
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion erpnext/buying/report/procurement_tracker/procurement_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,25 @@ def get_po_entries(filters):
& (parent.name == child.parent)
& (parent.status.notin(("Closed", "Completed", "Cancelled")))
)
.groupby(parent.name, child.material_request_item)
.groupby(
child.name,
child.parent,
child.cost_center,
child.project,
child.warehouse,
child.material_request,
child.material_request_item,
child.item_code,
child.stock_uom,
child.qty,
child.amount,
child.base_amount,
child.schedule_date,
parent.transaction_date,
parent.supplier,
parent.status,
parent.owner,
)
)
query = apply_filters_on_query(filters, parent, child, query)

Expand Down

0 comments on commit 9b1801c

Please sign in to comment.