Repository
OCA/hr · module folder · Try on Runboat
Module version
1.0.0
Category
Human Resources
Folder size
0.11 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr
Last tracking update
2026-08-07 08:43:00
Authors
Odoo Community Association (OCA), Escodoo
Maintainers
Odoo Community Association (OCA), Escodoo
Committers
Weblate, OCA-git-bot, oca-ci, Bhavesh Heliconia
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module allows you to manage allocation of PPE to your employees. A
product can be marked as ppe and additional information as duration and
indications can also be added. If ppe products are selected in a
equipment request, a button to print a receipt of PPE will appear. In
addition, a chron will check every day if an allocation has been
expired.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
hr_employee_ppe_report_template hr_employee_ppe_report_template ir.ui.view qweb New
hr_personal_equipment_form_view hr.personal.equipment.form (in hr_employee_ppe) hr.personal.equipment form Inherits hr_personal_equipment_request.hr_personal_equipment_form_view
hr_personal_equipment_form_view_base_user hr.personal.equipment.form (in hr_employee_ppe) hr.personal.equipment form Inherits hr_employee_ppe.hr_personal_equipment_form_view
hr_personal_equipment_request_form_view hr.personal.equipment.request.form (in hr_employee_ppe) hr.personal.equipment.request form Inherits hr_personal_equipment_request.hr_personal_equipment_request_form_view
hr_personal_equipment_tree_view hr.personal.equipment.tree hr.personal.equipment tree Inherits hr_personal_equipment_request.hr_personal_equipment_list_view
product_template_form_view product.template.form (in hr_employee_ppe) product.template form Inherits product.product_template_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (5)
  • certification Char
    help='Certification Number' string='Certification Number'
  • expire_ppe Boolean
    help='True if the PPE expires'
  • indications Text
    help='Situations in which the employee should use this equipment.'
  • is_ppe Boolean
  • issued_by Many2one → res.users
    comodel_name='res.users'
Public methods (2)
  • cron_ppe_expiry_verification(self, date_ref=None)
    @api.model
  • validate_allocation(self)

New fields (1)
  • contains_ppe Boolean
    compute='_compute_contains_ppe'
Public methods (1)
  • action_view_ppe_report(self)

New fields (5)
  • expirable_ppe Boolean
    default=False help='Select this option if the PPE has expiry date.'
  • indications Text
    help='Situations in which the employee should use this equipment. Only for ppe'
  • is_ppe Boolean
    default=False
  • ppe_duration Integer
    string='PPE duration'
  • ppe_interval_type Selection
    string='Interval Unit' args: [('minutes', 'Minutes'), ('hours', 'Hours'), ('days', 'Days'), ('weeks', 'Weeks'), ('months', 'Months')]
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
244 days ago
Last activity
87 days ago
Repository
OCA/hr
Pull request
[19.0] [MIG] hr_employee_ppe: Migration to 19.0 (#1531)