Employee ID
hr_employee_id · OCA/hr
-
Security25/25No findings
-
Activity12/25Last human commit 18 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 11 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
HrEmployee— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
-
identification_idCharcopy=Falsestring='Identification No'
-
create(self, vals_list)@api.model_create_multi
-
employee_id_gen_methodSelectiondefault='random'selection=[('random', 'Random'), ('sequence', 'Sequence')]string='Generation Method' -
employee_id_random_digitsIntegerdefault=5help='Number of digits in employee identifier'string='# of Digits' -
employee_id_sequenceMany2one → ir.sequencecomodel_name='ir.sequence'help='Pattern to be used for employee identifier generation'string='Identifier Sequence'
No public methods.
-
employee_id_gen_methodSelectiondefault=<expr>readonly=Falserelated='company_id.employee_id_gen_method' -
employee_id_random_digitsIntegerdefault=<expr>readonly=Falserelated='company_id.employee_id_random_digits' -
employee_id_sequenceMany2one → ir.sequencedefault=<expr>readonly=Falserelated='company_id.employee_id_sequence' args: 'ir.sequence'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…