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 IDNameModelTypeStatus
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_encryption Boolean
    groups='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_count Integer
    compute='_compute_payroll_count'
Public methods (2)
  • action_get_payroll_tree_view(self)
  • write(self, vals)

New fields (2)
  • document_type Selection
    args: [('payroll', 'Payroll')]
  • payrol_rel Many2many → payroll.management.wizard
    string='Attachment' args: 'payroll.management.wizard', 'payrolls', 'attachment_id3', 'document_id'
Public methods (0)

No public methods.

New fields (5)
  • attachment_id Many2one → ir.attachment
    comodel_name='ir.attachment' ondelete='cascade' prefetch=False string='Attachment File'
  • create_date Date
    default=fields.Date.context_today
  • employee Char
  • identification_id Char
    args: 'Identification ID'
  • subject Char
Public methods (1)
  • download(self)

New fields (2)
  • payrolls Many2many → ir.attachment
    copy=False required=True args: 'ir.attachment', 'payrol_rel', 'doc_id', 'attach_id3'
  • subject Char
    help='Enter the title of the payroll whether it is the month, week, day, etc.' required=True
Public methods (4)
  • merge_pdfs(self)
  • send_mail(self, employee, path)
  • send_payrolls(self)
  • validate_id(self, number)

New fields (1)
  • no_payroll_encryption Boolean
    readonly=False related='employee_id.no_payroll_encryption' related_sudo=False
Public methods (1)
  • 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)