Brazilian Localization HR
l10n_br_hr · OCA/l10n-brazil
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 9 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
5 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.47 MB
Module directory on disk
Code analysis
0 migration notes
11 models
11 views
0 HTTP endpoints
Description
Este é o módulo base dos recursos humanos brasileiro e implementa adaptações nos modelos básicos do cadastro de Empregados e suas dependências:
- Campo CPF (armazenado sem máscara, como dígitos puros, no
vatdo contato de trabalho — convenção dol10n_br_base, pronto para o eSocial) com validação; - CPTS com validação;
- PIS/PASEF (armazenado como dígitos puros, com máscara disponível no
campo
pis_pasep_formatted); - Certificado de serviço militar;
- Naturalidade;
- Escolaridade - usar hr_skills;
- Dependentes - Usar hr_employee_relative;
- RG;
- Título de eleitor;
- Paternidade;
- Etinia;
- Tipo sanguíneo;
- Incapacidade física;
- Tipo: Funcionário / Autônomo / Terceirizado / Cedido;
Dependencies
- Odoo dependencies
- Python dependencies
- erpbrasil-base>=2.4.2, email-validator, num2words, phonenumbers, python-dateutil
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 11
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
partner_form |
l10n_br_hr.res.partner.form | res.partner | form | Inherits l10n_br_base.l10n_br_base_partner_form |
view_hr_deficiency_tree |
hr.deficiency.tree.view | hr.deficiency | list | New |
view_hr_ethnicity_form |
hr.ethnicity.form.view | hr.ethnicity | form | New |
view_hr_ethnicity_tree |
hr.ethnicity.tree.view | hr.ethnicity | list | New |
view_hr_identity_type_tree |
hr.identity.type.tree.view | hr.identity.type | list | New |
view_l10n_br_hr_cbo_filter |
Código Brasileiro de Ocupações | l10n_br_hr.cbo | search | New |
view_l10n_br_hr_cbo_form |
l10n_br_hr.cbo.form | l10n_br_hr.cbo | form | New |
view_l10n_br_hr_cbo_tree |
l10n_br_hr.cbo.tree | l10n_br_hr.cbo | list | New |
view_l10n_br_hr_employee_form |
l10n_br_hr_employee.form | hr.employee | form | Inherits hr.view_employee_form |
view_l10n_br_hr_job_form |
l10n_br_hr_job.form | hr.job | form | Inherits hr.view_hr_job_form |
view_res_company_form_l10n_br_hr |
res.company in l10n_br_hr | res.company | form | Inherits l10n_br_base.l10n_br_base_res_company_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 11
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (36)
-
alternate_emailChargroups='hr.group_hr_user' -
alternate_phoneChargroups='hr.group_hr_user' -
birth_city_idMany2one → res.citycomodel_name='res.city'groups='hr.group_hr_user' -
blood_typeSelectiongroups='hr.group_hr_user'selection=[('a+', 'A+'), ('a-', 'A-'), ('b+', 'B+'), ('b-', 'B-'), ('o+', 'O+'), ('o-', 'O-'), ('ab+', 'AB+'), ('ab-', 'AB-')] -
civil_certificate_type_idMany2one → hr.civil.certificate.typecomodel_name='hr.civil.certificate.type'groups='hr.group_hr_user'string='Civil certificate type' -
country_idMany2one → res.countrycomodel_name='res.country'default=<expr> -
creservistChargroups='hr.group_hr_user'string='Military service status certificate' -
cresv_categSelectiondefault='3'groups='hr.group_hr_user'selection=[('1', 'First Category'), ('2', 'Second Category'), ('3', 'Third Category')]string='Military service status category' -
ctpsChargroups='hr.group_hr_user'help='CTPS number'string='CTPS' -
ctps_dateDategroups='hr.group_hr_user'string='CTPS emission date' -
ctps_seriesChargroups='hr.group_hr_user'string='CTPS series' -
ctps_uf_idMany2one → res.country.statecomodel_name='res.country.state'groups='hr.group_hr_user'string='CTPS district' -
deficiency_descriptionChargroups='hr.group_hr_user' -
deficiency_idMany2one → hr.deficiencycomodel_name='hr.deficiency'groups='hr.group_hr_user'tracking=True -
driver_categChargroups='hr.group_hr_user'string='Driver license category' -
driver_licenseChargroups='hr.group_hr_user'string='Driver license number' -
employee_relationship_typeSelectiondefault='funcionario'groups='hr.group_hr_user'required=Trueselection=[('funcionario', 'Funcionário'), ('autonomo', 'Autônomo'), ('terceirizado', 'Terceirizado'), ('cedido', 'Funcionário Cedido')]string='Tipo de Colaborador' -
ethnicityMany2one → hr.ethnicitycomodel_name='hr.ethnicity'groups='hr.group_hr_user' -
expiration_dateDategroups='hr.group_hr_user' -
father_nameChargroups='hr.group_hr_user' -
identity_city_idMany2one → res.citycomodel_name='res.city'domain="[('state_id','=',identity_uf_id)]"groups='hr.group_hr_user'string='ID expedition city' -
identity_type_idMany2one → hr.identity.typecomodel_name='hr.identity.type'groups='hr.group_hr_user'string='ID type' -
identity_uf_idMany2one → res.country.statecomodel_name='res.country.state'groups='hr.group_hr_user'string='ID expedition district' -
identity_validityDategroups='hr.group_hr_user'string='ID expiration date' -
l10n_br_rg_codeChargroups='hr.group_hr_user'help='National ID number'related='work_contact_id.l10n_br_rg_code' -
mother_nameChargroups='hr.group_hr_user' -
organ_expChargroups='hr.group_hr_user'string='Dispatcher organ' -
pis_pasepChargroups='hr.group_hr_user'string='PIS/PASEP' -
pis_pasep_dateDategroups='hr.group_hr_user'string='PIS/PASEP emission date' -
pis_pasep_formattedCharcompute='_compute_pis_pasep_formatted'groups='hr.group_hr_user'help='PIS/PASEP displayed with punctuation (XXX.XXXXX.XX-X); it is stored unformatted in the pis_pasep field.'inverse='_inverse_pis_pasep_formatted'string='PIS/PASEP Formatted' -
registrationChargroups='hr.group_hr_user'string='Registration number' -
rg_emissionDategroups='hr.group_hr_user'string='Emission date' -
vatChargroups='hr.group_hr_user'readonly=Falserelated='work_contact_id.vat'string='CPF' -
voter_sectionChargroups='hr.group_hr_user' -
voter_titleChargroups='hr.group_hr_user' -
voter_zoneChargroups='hr.group_hr_user'
-
create(self, vals_list)@api.model_create_multi -
onchange_vat(self)@api.onchange('vat')Keep the employee VAT (CPF) unformatted, following the l10n_br_base convention of storing res_partner.vat as plain digits (eSocial ready); the formatted value is available on the work contact through vat_formatted_cnpj. -
write(self, vals)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (3)
-
employee_idsMany2many → hr.employeecomodel_name='hr.employee'string='Employees' -
initialsCharrequired=True -
nameCharrequired=Truestring='Identity type'
No public methods.
New fields (1)
-
cbo_idMany2one → l10n_br_hr.cbocomodel_name='l10n_br_hr.cbo'string='CBO'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
codeCharindex=Truerequired=True -
nameTextindex=Truerequired=True
No public methods.
New fields (1)
-
cnpj_ceiCharstring='CNPJ/CEI Tomadora/Obra'
No public methods.
New fields (1)
-
union_entity_codeCharstring='Union Entity code'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…