Skip to content

Conversation

@SirPyTech
Copy link

@SirPyTech SirPyTech commented Dec 31, 2025

Improvement proposed in #236 (comment).

Allow the employee or HR to disable encryption of the employee's payroll.

@OCA-git-bot
Copy link
Contributor

Hi @peluko00,
some modules you are maintaining are being modified, check this out!

@SirPyTech SirPyTech marked this pull request as ready for review December 31, 2025 16:54
class Employee(models.Model):
_inherit = "hr.employee"

no_payroll_encryption = fields.Boolean(
Copy link

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

Copy link
Author

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.

@SirPyTech SirPyTech requested a review from peluko00 January 5, 2026 08:11
Copy link

@peluko00 peluko00 left a 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

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-245-by-peluko00-bump-minor, awaiting test results.

@peluko00
Copy link

peluko00 commented Jan 5, 2026

Can you forward to major versions please @SirPyTech?

@OCA-git-bot OCA-git-bot merged commit 7720c60 into OCA:16.0 Jan 5, 2026
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 9c7b5f1. Thanks a lot for contributing to OCA. ❤️

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