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: Apply system precision value while validating leave balance (backport #2482) #2489

Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Dec 9, 2024

Update leave balance validation in Leave Application to apply system-level precision using flt(leave_balance, precision) for comparison with leave days.


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

* fix: Apply system precision value while validating leave balance

* fix: apply precision on leave balance, add fallback value for precision

* fix: remove precision at expired leaves calculation

(cherry picked from commit ffa4509)
@mergify mergify bot requested a review from ruchamahabal as a code owner December 9, 2024 05:52
@ruchamahabal ruchamahabal merged commit 4d2c5f6 into version-15-hotfix Dec 9, 2024
8 checks passed
frappe-pr-bot pushed a commit that referenced this pull request Dec 9, 2024
# [15.36.0](v15.35.3...v15.36.0) (2024-12-09)

### Bug Fixes

* Apply system precision value while validating leave balance (backport [#2482](#2482)) ([#2489](#2489)) ([4d2c5f6](4d2c5f6))
* prompt user to select company for shift & attendance report creation (backport [#2461](#2461)) ([#2475](#2475)) ([2bfd0b0](2bfd0b0))
* render correct date in job listing web view (backport [#2464](#2464)) ([#2478](#2478)) ([4e2b6ea](4e2b6ea))
* **Salary Assignment:** skip warning for missing opening entries in the absence of tax components (backport [#2472](#2472)) ([#2477](#2477)) ([531d16b](531d16b))

### Features

* add Absent Days column to salary register (backport [#2485](#2485)) ([#2493](#2493)) ([67077ee](67077ee))
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 15.36.0 🎉

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants