TIP: You can type at any time to perform a new search.
HR - Payroll Document
hr_payroll_document · OCA/payroll
- Repository
- OCA/payroll · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Payrolls
- Folder size
- 0.15 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/payroll
- Last tracking update
- 2026-08-07 08:43:01
- Authors
- Odoo Community Association (OCA), APSL
- Maintainers
- Odoo Community Association (OCA), APSL
- Committers
- OCA-git-bot, oca-ci, anusrinps96
- Odoo dependencies
- Python dependencies
- pypdf
- System dependencies
- None
- Required by
- None
- Description
This module have a wizard view to manage the different payrolls of employees which is identified by the identification_id attribute. By default, the employee's payroll is encrypted using their identification number. This behavior can be changed by the employee in their profile or by HR in the employee's form.
Code Analysis ⓘ
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_employee_view_tree_payroll |
inherit_view.hr_employee | hr.employee | tree | Inherits hr.view_employee_form |
payrolls_management_wizard_form |
payroll.management.wizard.form | payroll.management.wizard | form | New |
res_users_view_form_profile_inherit |
hr.res_user.view.form.inherit.document | res.users | form | Inherits hr.res_users_view_form_profile |
view_employee_form |
hr.employee.form | hr.employee | form | Inherits hr.view_employee_form |
view_payroll_filter |
payroll.view.search | ir.attachment.payroll.custom | search | New |
view_payroll_tree |
payroll.view.list | ir.attachment.payroll.custom | list | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (5)
New fields (2)
-
no_payroll_encryptionBooleangroups='hr.group_hr_user'help='If this is disabled (default), the PDF payrolls are encrypted using the Identification No.\nOnly future payrolls are affected by this change, existing payrolls will not change their encryption status.'string='Disable payrolls encryption' -
payroll_countIntegercompute='_compute_payroll_count'
-
action_get_payroll_tree_view(self) -
write(self, vals)
New fields (2)
-
document_typeSelectionargs: [('payroll', 'Payroll')] -
payrol_relMany2many → payroll.management.wizardstring='Attachment' args: 'payroll.management.wizard', 'payrolls', 'attachment_id3', 'document_id'
No public methods.
New fields (5)
-
attachment_idMany2one → ir.attachmentcomodel_name='ir.attachment'ondelete='cascade'prefetch=Falsestring='Attachment File' -
create_dateDatedefault=fields.Date.context_today -
employeeChar -
identification_idCharargs: 'Identification ID' -
subjectChar
-
download(self)
New fields (2)
-
payrollsMany2many → ir.attachmentcopy=Falserequired=True args: 'ir.attachment', 'payrol_rel', 'doc_id', 'attach_id3' -
subjectCharhelp='Enter the title of the payroll whether it is the month, week, day, etc.'required=True
-
merge_pdfs(self) -
send_mail(self, employee, path) -
send_payrolls(self) -
validate_id(self, number)
New fields (1)
-
no_payroll_encryptionBooleanreadonly=Falserelated='employee_id.no_payroll_encryption'related_sudo=False
-
action_get_attachment_tree_view(self)
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 35 days ago
- Last activity
- 35 days ago
- Repository
- OCA/payroll
- Pull request
- [19.0][MIG] hr_payroll_document: Migration to 19.0 (#279)