Repository
OCA/l10n-brazil · module folder · Try on Runboat
Module version
1.4.0
Category
Localization
Folder size
0.46 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-brazil
Last tracking update
2026-08-07 09:06:24
Authors
Odoo Community Association (OCA), KMEE
Maintainers
Odoo Community Association (OCA), KMEE
Committers
Raphaël Valyi, Weblate, OCA-git-bot, oca-ci, Marcel Savegnago
Odoo dependencies
Python dependencies
erpbrasil.base, email-validator, num2words, phonenumbers, python-dateutil
System dependencies
None
Required by
None
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 com formatação e validação desto memso;
- CPTS com validação;
- PIS/PASEF;
- 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;

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
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_email Char
    groups='hr.group_hr_user'
  • alternate_phone Char
    groups='hr.group_hr_user'
  • birth_city_id Many2one → res.city
    comodel_name='res.city' groups='hr.group_hr_user'
  • blood_type Selection
    groups='hr.group_hr_user' selection=[('a+', 'A+'), ('a-', 'A-'), ('b+', 'B+'), ('b-', 'B-'), ('o+', 'O+'), ('o-', 'O-'), ('ab+', 'AB+'), ('ab-', 'AB-')]
  • civil_certificate_type_id Many2one → hr.civil.certificate.type
    comodel_name='hr.civil.certificate.type' groups='hr.group_hr_user' string='Civil certificate type'
  • cnpj_cpf Char
    groups='hr.group_hr_user' string='CNPJ/CPF'
  • country_id Many2one → res.country
    comodel_name='res.country' default=<expr>
  • cpf Char
    groups='hr.group_hr_user' readonly=False related='work_contact_id.vat' string='CPF'
  • creservist Char
    groups='hr.group_hr_user' string='Military service status certificate'
  • cresv_categ Selection
    default='3' groups='hr.group_hr_user' selection=[('1', 'First Category'), ('2', 'Second Category'), ('3', 'Third Category')] string='Military service status category'
  • ctps Char
    groups='hr.group_hr_user' help='CTPS number' string='CTPS'
  • ctps_date Date
    groups='hr.group_hr_user' string='CTPS emission date'
  • ctps_series Char
    groups='hr.group_hr_user' string='CTPS series'
  • ctps_uf_id Many2one → res.country.state
    comodel_name='res.country.state' groups='hr.group_hr_user' string='CTPS district'
  • deficiency_description Char
    groups='hr.group_hr_user'
  • deficiency_id Many2one → hr.deficiency
    comodel_name='hr.deficiency' groups='hr.group_hr_user' string='Deficiency' tracking=True
  • driver_categ Char
    groups='hr.group_hr_user' string='Driver license category'
  • driver_license Char
    groups='hr.group_hr_user' string='Driver license number'
  • employee_relationship_type Selection
    default='funcionario' groups='hr.group_hr_user' required=True selection=[('funcionario', 'Funcionário'), ('autonomo', 'Autônomo'), ('terceirizado', 'Terceirizado'), ('cedido', 'Funcionário Cedido')] string='Tipo de Colaborador'
  • ethnicity Many2one → hr.ethnicity
    comodel_name='hr.ethnicity' groups='hr.group_hr_user'
  • expiration_date Date
    groups='hr.group_hr_user'
  • father_name Char
    groups='hr.group_hr_user'
  • identity_city_id Many2one → res.city
    comodel_name='res.city' domain="[('state_id','=',identity_uf_id)]" groups='hr.group_hr_user' string='ID expedition city'
  • identity_type_id Many2one → hr.identity.type
    comodel_name='hr.identity.type' groups='hr.group_hr_user' string='ID type'
  • identity_uf_id Many2one → res.country.state
    comodel_name='res.country.state' groups='hr.group_hr_user' string='ID expedition district'
  • identity_validity Date
    groups='hr.group_hr_user' string='ID expiration date'
  • l10n_br_rg_code Char
    groups='hr.group_hr_user' help='National ID number' related='work_contact_id.l10n_br_rg_code'
  • mother_name Char
    groups='hr.group_hr_user'
  • organ_exp Char
    groups='hr.group_hr_user' string='Dispatcher organ'
  • pis_pasep Char
    groups='hr.group_hr_user' string='PIS/PASEP'
  • pis_pasep_date Date
    groups='hr.group_hr_user' string='PIS/PASEP emission date'
  • registration Char
    groups='hr.group_hr_user' string='Registration number'
  • rg_emission Date
    groups='hr.group_hr_user' string='Emission date'
  • voter_section Char
    groups='hr.group_hr_user'
  • voter_title Char
    groups='hr.group_hr_user'
  • voter_zone Char
    groups='hr.group_hr_user'
Public methods (1)
  • onchange_cpf(self)
    @api.onchange('cpf')

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • employee_ids Many2many → hr.employee
    comodel_name='hr.employee' string='Employees'
  • initials Char
    required=True
  • name Char
    required=True string='Identity type'
Public methods (0)

No public methods.

New fields (1)
  • cbo_id Many2one → l10n_br_hr.cbo
    comodel_name='l10n_br_hr.cbo' string='CBO'
Public methods (0)

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)
  • code Char
    index=True required=True
  • name Text
    index=True required=True
Public methods (0)

No public methods.

New fields (1)
  • cnpj_cei Char
    string='CNPJ/CEI Tomadora/Obra'
Public methods (0)

No public methods.

New fields (1)
  • union_entity_code Char
    string='Union Entity code'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…