Skip to content

fix(hr): exclude cancelled Expense Claims in Vehicle Log make_expense_claim - #5022

Open
itsdivvy wants to merge 4 commits into
frappe:developfrom
itsdivvy:fix/divvy-hrms-bug-006
Open

fix(hr): exclude cancelled Expense Claims in Vehicle Log make_expense_claim#5022
itsdivvy wants to merge 4 commits into
frappe:developfrom
itsdivvy:fix/divvy-hrms-bug-006

Conversation

@itsdivvy

Copy link
Copy Markdown

Summary of Changes

  • Add filter to in ().
  • Previously, cancelled Expense Claims () matched , throwing an error and permanently blocking users from creating a valid new claim for a vehicle log.

Comment thread hrms/hr/doctype/vehicle_log/test_vehicle_log.py Outdated
@greptile-apps

greptile-apps Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 4/5

The implementation appears safe to merge, but restore the displaced Vehicle Log cancellation assertions.

The functional fix is sound, while the test edit silently removes coverage from an existing cancellation workflow.

Files Needing Attention: hrms/hr/doctype/vehicle_log/test_vehicle_log.py

Reviews (5): Last reviewed commit: "fix(test): cancel and delete vehicle log..." | Re-trigger Greptile

@itsdivvy
itsdivvy force-pushed the fix/divvy-hrms-bug-006 branch from e0c33fc to e950963 Compare July 29, 2026 10:20
Comment thread hrms/hr/doctype/vehicle_log/test_vehicle_log.py Outdated
Comment thread hrms/hr/doctype/vehicle_log/test_vehicle_log.py Outdated
@greptile-apps

greptile-apps Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Want your agent to iterate on Greptile's feedback? Try greploops.

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.

2 participants