-
-
Notifications
You must be signed in to change notification settings - Fork 664
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
[12.0] [MIG] hr_payroll_cancel #533
Conversation
Allows the user to cancel a payslip whatever the previous state is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Tested on runbot.
Need to manage codecov |
382200a
to
835c064
Compare
@anandkansagra Done! |
@aheficent @pedrobaeza Can you please review & move forward |
f3e19a7
to
d10f7ea
Compare
LGTM @nikul-serpentcs |
d10f7ea
to
b9f2a9e
Compare
@aheficent @pedrobaeza Can you please review & move forward |
This PR has the |
Hr Payroll Cancel
This module allows the user to cancel a payslip whatever the previous state is
without doing a refund. When the user cancel the journal entry is deleted
and the payslip state is set to rejected. Then the user is able to set the
state to draft again and later on he/she is able to confirm again the payslip.
If there’s a refund for a payslip the user should not cancel the entry because
the refund would still be confirm. In that case, the user have either to
confirm again the payslip or cancel the refund.