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: Cannot create recurring Additional salary for new recurring period #2579

Open
wants to merge 5 commits into
base: version-15-hotfix
Choose a base branch
from

Conversation

ahmadpak
Copy link

@ahmadpak ahmadpak commented Jan 4, 2025

closes #2578

@ruchamahabal ruchamahabal changed the title Version 15 hotfix fix: Cannot create recurring Additional salary for new recurring period Jan 8, 2025
@benkebdani
Copy link

@ruchamahabal it would be great if you could give this PR a review whenever you get the chance. Thank you 🙂

}

if self.is_recurring:
filters["payroll_date"] = ["between", [self.from_date, self.to_date]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should actually also check for the other case. If my current additional salary is not recurring but there is a recurring additional salary already existing.

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