l10n_br_hr.model package

Submodules

l10n_br_hr.model.hr_employee module

class l10n_br_hr.model.hr_employee.HrEmployee(pool, cr)[código fonte]

Base: openerp.models.Model

alternate_email

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
alternate_phone

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
arrival_year
blood_type
Parâmetros:
  • selection – specifies the possible values for this field. It is given as either a list of pairs (value, string), or a model method, or a method name.
  • selection_add – provides an extension of the selection in the case of an overridden field. It is a list of pairs (value, string).

The attribute selection is mandatory except in the case of related fields or field extensions.

check_cpf
chronic_disease_ids

Many2many field; the value of such a field is the recordset.

Parâmetros:comodel_name – name of the target model (string)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

Parâmetros:
  • relation – optional name of the table that stores the relation in the database (string)
  • column1 – optional name of the column referring to “these” records in the table relation (string)
  • column2 – optional name of the column referring to “those” records in the table relation (string)

The attributes relation, column1 and column2 are optional. If not given, names are automatically generated from model names, provided model_name and comodel_name are different!

Parâmetros:
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • limit – optional limit to use upon read (integer)
civil_certificate_type_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

country_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

cpf

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
creservist

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
cresv_categ
Parâmetros:
  • selection – specifies the possible values for this field. It is given as either a list of pairs (value, string), or a model method, or a method name.
  • selection_add – provides an extension of the selection in the case of an overridden field. It is a list of pairs (value, string).

The attribute selection is mandatory except in the case of related fields or field extensions.

ctps

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
ctps_date
ctps_series

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
ctps_uf_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

deficiency_description

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
deficiency_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

dependent_ids

One2many field; the value of such a field is the recordset of all the records in comodel_name such that the field inverse_name is equal to the current record.

Parâmetros:
  • comodel_name – name of the target model (string)
  • inverse_name – name of the inverse Many2one field in comodel_name (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • limit – optional limit to use upon read (integer)

The attributes comodel_name and inverse_name are mandatory except in the case of related fields or field extensions.

driver_categ

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
driver_license

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
educational_attainment

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

emergency_phone

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
ethnicity

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

expiration_date
father_name

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
have_dependent
identity_city_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

identity_type_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

identity_uf_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

identity_validity
marital
Parâmetros:
  • selection – specifies the possible values for this field. It is given as either a list of pairs (value, string), or a model method, or a method name.
  • selection_add – provides an extension of the selection in the case of an overridden field. It is a list of pairs (value, string).

The attribute selection is mandatory except in the case of related fields or field extensions.

mother_name

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
nat_code

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
nationality_code

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

onchange_address_home_id(*args, **kwargs)[código fonte]
onchange_user(*args, **kwargs)[código fonte]
organ_exp

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
pis_pasep

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
registration

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
rg

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
rg_emission
talk_to

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
voter_section

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
voter_title

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
voter_zone

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
class l10n_br_hr.model.hr_employee.HrEmployeeDependent(pool, cr)[código fonte]

Base: openerp.models.Model

dependent_cpf

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
dependent_dob
dependent_gender
Parâmetros:
  • selection – specifies the possible values for this field. It is given as either a list of pairs (value, string), or a model method, or a method name.
  • selection_add – provides an extension of the selection in the case of an overridden field. It is a list of pairs (value, string).

The attribute selection is mandatory except in the case of related fields or field extensions.

dependent_name

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
dependent_rg

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
dependent_type_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

dependent_verification
employee_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

health_verification
pension_benefits

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)

l10n_br_hr.model.hr_job module

class l10n_br_hr.model.hr_job.HrJob(pool, cr)[código fonte]

Base: openerp.models.Model

cbo_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

l10n_br_hr.model.l10n_br_hr module

class l10n_br_hr.model.l10n_br_hr.HrChronicDisease(pool, cr)[código fonte]

Base: openerp.models.Model

employee_ids

Many2many field; the value of such a field is the recordset.

Parâmetros:comodel_name – name of the target model (string)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

Parâmetros:
  • relation – optional name of the table that stores the relation in the database (string)
  • column1 – optional name of the column referring to “these” records in the table relation (string)
  • column2 – optional name of the column referring to “those” records in the table relation (string)

The attributes relation, column1 and column2 are optional. If not given, names are automatically generated from model names, provided model_name and comodel_name are different!

Parâmetros:
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • limit – optional limit to use upon read (integer)
name

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
class l10n_br_hr.model.l10n_br_hr.HrCivilCertificateType(pool, cr)[código fonte]

Base: openerp.models.Model

name

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
class l10n_br_hr.model.l10n_br_hr.HrDeficiency(pool, cr)[código fonte]

Base: openerp.models.Model

code

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
name

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
name_get(*args, **kwargs)[código fonte]
class l10n_br_hr.model.l10n_br_hr.HrDependentType(pool, cr)[código fonte]

Base: openerp.models.Model

code

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
name

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
name_get(*args, **kwargs)[código fonte]
class l10n_br_hr.model.l10n_br_hr.HrEducationalAttainment(pool, cr)[código fonte]

Base: openerp.models.Model

code

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
name

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
name_get(*args, **kwargs)[código fonte]
class l10n_br_hr.model.l10n_br_hr.HrEthnicity(pool, cr)[código fonte]

Base: openerp.models.Model

code

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
name

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
name_get(*args, **kwargs)[código fonte]
class l10n_br_hr.model.l10n_br_hr.HrIdentityType(pool, cr)[código fonte]

Base: openerp.models.Model

employee_ids

Many2many field; the value of such a field is the recordset.

Parâmetros:comodel_name – name of the target model (string)

The attribute comodel_name is mandatory except in the case of related fields or field extensions.

Parâmetros:
  • relation – optional name of the table that stores the relation in the database (string)
  • column1 – optional name of the column referring to “these” records in the table relation (string)
  • column2 – optional name of the column referring to “those” records in the table relation (string)

The attributes relation, column1 and column2 are optional. If not given, names are automatically generated from model names, provided model_name and comodel_name are different!

Parâmetros:
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • limit – optional limit to use upon read (integer)
initials

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
name

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
class l10n_br_hr.model.l10n_br_hr.HrNationalityCode(pool, cr)[código fonte]

Base: openerp.models.Model

code

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
name

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
name_get(*args, **kwargs)[código fonte]
class l10n_br_hr.model.l10n_br_hr.L10nBrHrCbo(pool, cr)[código fonte]

Base: openerp.models.Model

code

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
name

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
name_get(*args, **kwargs)[código fonte]

l10n_br_hr.model.res_company module

class l10n_br_hr.model.res_company.ResCompany(pool, cr)[código fonte]

Base: openerp.models.Model

check_benefits

Module contents