l10n_br_zip.models package

Submodules

l10n_br_zip.models.l10n_br_zip module

class l10n_br_zip.models.l10n_br_zip.L10nBrZip(pool, cr)[código fonte]

Base: openerp.models.Model

Este objeto persiste todos os códigos postais que podem ser utilizados para pesquisar e auxiliar o preenchimento dos endereços.

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.

create_wizard(object_name, address_id, country_id=False, state_id=False, l10n_br_city_id=False, district=False, street=False, zip_code=False, zip_ids=False)[código fonte]
district

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
l10n_br_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.

set_domain(country_id=False, state_id=False, l10n_br_city_id=False, district=False, street=False, zip_code=False)[código fonte]
set_result(zip_obj=None)[código fonte]
state_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.

street

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
street_type

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
zip

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
zip_search_multi(country_id=False, state_id=False, l10n_br_city_id=False, district=False, street=False, zip_code=False)[código fonte]

l10n_br_zip.models.res_bank module

class l10n_br_zip.models.res_bank.ResBank(pool, cr)[código fonte]

Base: openerp.models.Model

l10n_br_zip.models.res_company module

class l10n_br_zip.models.res_company.ResCompany(pool, cr)[código fonte]

Base: openerp.models.Model

l10n_br_zip.models.res_partner module

class l10n_br_zip.models.res_partner.ResPartner(pool, cr)[código fonte]

Base: openerp.models.Model

class l10n_br_zip.models.res_partner.ResPartnerBank(pool, cr)[código fonte]

Base: openerp.models.Model

Module contents