Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: filters on vehicle expenses report (backport #2440) #2446

Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Nov 25, 2024

Issue:

Filters on Vehicle expense report are conditional based on "Fiscal Year" or "Date Range" but they are all set to be
mandatory. So when "Fiscal Year" is selected the report shows up but the console throws error for date filters not being set. When "Date Range" is selected the missing filter on Fiscal Year prevents the report from loading and "Please set filter" shows up.
The problem is gone even if the order of the filters in the report script is exchanged. Will dig deeper into this, for now

Fix:

Made the requirement of the filters conditional based on "Fiscal Year" or "Date Range"


Before

Screenshot 2024-11-22 at 3 30 31 PM

After

Screenshot 2024-11-22 at 3 27 11 PM

The issue was in frontend script, no-tests-required


This is an automatic backport of pull request #2440 done by Mergify.

@mergify mergify bot requested a review from ruchamahabal as a code owner November 25, 2024 14:35
@ruchamahabal ruchamahabal merged commit 6d35f11 into version-14-hotfix Nov 25, 2024
5 checks passed
@ruchamahabal ruchamahabal deleted the mergify/bp/version-14-hotfix/pr-2440 branch November 25, 2024 15:07
frappe-pr-bot pushed a commit that referenced this pull request Nov 26, 2024
## [14.35.2](v14.35.1...v14.35.2) (2024-11-26)

### Bug Fixes

* filters on vehicle expenses report (backport [#2440](#2440)) ([#2446](#2446)) ([6d35f11](6d35f11))
* ignore linked ledger entry record on employee advance cancellation (backport [#2432](#2432)) ([#2434](#2434)) ([8058d74](8058d74))
* **Salary Structure Assignment:** validate cost center company on server-side (backport [#2445](#2445)) ([#2449](#2449)) ([51831cb](51831cb))
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 14.35.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants