Repository
OCA/hr · module folder · Try on Runboat
Module version
1.0.0
Category
Generic Modules/Human Resources
Folder size
0.12 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
Camptocamp, Odoo Community Association (OCA), Michael Telahun Makonnen, OpenSynergy Indonesia, CorporateHub
Maintainers
Camptocamp, Odoo Community Association (OCA), Michael Telahun Makonnen, OpenSynergy Indonesia, CorporateHub
Committers
Weblate, OCA-git-bot, oca-ci, Luis Rodriguez
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Company wide unique employee ID. Supports:

- Random ID Generation
- Sequence

This module supports sequence of employee ID which will be generated
automatically from the sequence predefined.

Nevertheless, if you need a difference ID in particular cases you can
pass a custom value for \`identificationid\`: if you do it no automatic
generation happens.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
hr_kanban_view_employees HR - Employees Kanban hr.employee kanban Inherits hr.hr_kanban_view_employees
res_config_settings_view_form res.config.settings.view.form.inherit.hr.employee.id res.config.settings form Inherits hr.res_config_settings_view_form
view_employee_filter Employees hr.employee Inherits hr.view_employee_filter
view_employee_form hr.employee.form.inherit hr.employee form Inherits hr.view_employee_form
view_employee_tree hr.employee.tree.inherit hr.employee tree Inherits hr.view_employee_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • identification_id Char
    copy=False string='Identification No'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (3)
  • employee_id_gen_method Selection
    default='random' selection=[('random', 'Random'), ('sequence', 'Sequence')] string='Generation Method'
  • employee_id_random_digits Integer
    default=5 help='Number of digits in employee identifier' string='# of Digits'
  • employee_id_sequence Many2one → ir.sequence
    comodel_name='ir.sequence' help='Pattern to be used for employee identifier generation' string='Identifier Sequence'
Public methods (0)

No public methods.

New fields (3)
  • employee_id_gen_method Selection
    default=<expr> readonly=False related='company_id.employee_id_gen_method'
  • employee_id_random_digits Integer
    default=<expr> readonly=False related='company_id.employee_id_random_digits'
  • employee_id_sequence Many2one → ir.sequence
    default=<expr> readonly=False related='company_id.employee_id_sequence' args: 'ir.sequence'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks running
Open since
324 days ago
Last activity
33 days ago
Repository
OCA/hr
Pull request
[19.0][MIG] hr_employee_id: Migration to 19.0 (#1509)