Skip to content

feat: enhance Unpaid Expense Claim report - #4994

Open
akhtarmohsin wants to merge 2 commits into
frappe:developfrom
akhtarmohsin:feat/enhance-unpaid-expense-claim-report
Open

feat: enhance Unpaid Expense Claim report#4994
akhtarmohsin wants to merge 2 commits into
frappe:developfrom
akhtarmohsin:feat/enhance-unpaid-expense-claim-report

Conversation

@akhtarmohsin

@akhtarmohsin akhtarmohsin commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add Company, Department, and Branch filters. Department and Employee filters are scoped to the selected company.
  • Add Posting Date, Company, Department, and Branch columns to the report table.
  • Add Group By filter (Employee, Department, Branch) with group headers, subtotals, and a grand total row.
Screen.Recording.2026-07-24.at.12.26.44.PM.mov

no-docs

- Add Company, Department, Branch filters
- Department filter scoped to selected company
- Employee filter scoped to selected company
- Add Posting Date, Company, Department, Branch columns
- Add Group By filter (Employee, Department, Branch) with subtotals
- Show 'No record found' message when no data exists
@greptile-apps

greptile-apps Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

Safe to merge; the query and filter logic are correct, with only a minor display inconsistency in the group header rows.

The query changes are straightforward and additive. The group-by aggregation logic is sound. The only issue is cosmetic: header rows for Department/Branch groupings show the group label in the Employee column rather than the relevant column.

hrms/hr/report/unpaid_expense_claim/unpaid_expense_claim.py — group header row key assignment in build_grouped_result.

Reviews (2): Last reviewed commit: "fix: address review comments on Unpaid E..." | Re-trigger Greptile

Comment thread hrms/hr/report/unpaid_expense_claim/unpaid_expense_claim.py Outdated
Comment thread hrms/hr/report/unpaid_expense_claim/unpaid_expense_claim.py
- Remove unused Order import
- Return empty data silently instead of showing msgprint dialog
@mergify

mergify Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant