-
-
Notifications
You must be signed in to change notification settings - Fork 164
[IMP] hr_payroll_document: Optional payroll encryption #245
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
[IMP] hr_payroll_document: Optional payroll encryption #245
Conversation
|
Hi @peluko00, |
| class Employee(models.Model): | ||
| _inherit = "hr.employee" | ||
|
|
||
| no_payroll_encryption = fields.Boolean( |
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.
By default please encrypt de document
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.
Hi, yes I had the same thought, that's why the Boolean is "Do not encrypt the document": by default Booleans are False, so the document is encrypted.
peluko00
left a comment
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!
/ocabot merge minor
|
This PR looks fantastic, let's merge it! |
|
Can you forward to major versions please @SirPyTech? |
|
Congratulations, your PR was merged at 9c7b5f1. Thanks a lot for contributing to OCA. ❤️ |
Improvement proposed in #236 (comment).
Allow the employee or HR to disable encryption of the employee's payroll.