l10n_br_account_product.wizard package

Submodules

l10n_br_account_product.wizard.account_invoice_refund module

class l10n_br_account_product.wizard.account_invoice_refund.AccountInvoiceRefund(pool, cr)[código fonte]

Base: openerp.models.TransientModel

compute_refund(*args, **kwargs)[código fonte]
fields_view_get(*args, **kwargs)[código fonte]
force_fiscal_category_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_account_product.wizard.l10n_br_account_document_status_sefaz module

class l10n_br_account_product.wizard.l10n_br_account_document_status_sefaz.L10nBrAccountDocumentStatusSefaz(pool, cr)[código fonte]

Base: openerp.models.TransientModel

Check fiscal document key

cUF
chNFe

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
get_document_status(*args, **kwargs)[código fonte]
nfe_environment
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.

procEventoNFe

Very similar to Char but used for longer contents, does not have a size and usually displayed as a multiline text box.

Parâmetros:translate – whether the value of this field can be translated
protNFe

Very similar to Char but used for longer contents, does not have a size and usually displayed as a multiline text box.

Parâmetros:translate – whether the value of this field can be translated
retCancNFe

Very similar to Char but used for longer contents, does not have a size and usually displayed as a multiline text box.

Parâmetros:translate – whether the value of this field can be translated
state
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.

version

Very similar to Char but used for longer contents, does not have a size and usually displayed as a multiline text box.

Parâmetros:translate – whether the value of this field can be translated
xMotivo

Very similar to Char but used for longer contents, does not have a size and usually displayed as a multiline text box.

Parâmetros:translate – whether the value of this field can be translated

l10n_br_account_product.wizard.l10n_br_account_invoice_costs_ratio module

class l10n_br_account_product.wizard.l10n_br_account_invoice_costs_ratio.L10nBrAccountProductInvoiceCostsRatio(pool, cr)[código fonte]

Base: openerp.models.TransientModel

amount_costs_value

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)
amount_freight_value

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)
amount_insurance_value

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)
set_invoice_costs_ratio(*args, **kwargs)[código fonte]

l10n_br_account_product.wizard.l10n_br_account_nfe_export module

class l10n_br_account_product.wizard.l10n_br_account_nfe_export.L10nBrAccountNfeExport(pool, cr)[código fonte]

Base: openerp.models.TransientModel

Exportar Nota Fiscal Eletrônica

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

import_status_draft
nfe_export_result

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.

class l10n_br_account_product.wizard.l10n_br_account_nfe_export.L10nBrAccountNfeExportResult(pool, cr)[código fonte]

Base: openerp.models.TransientModel

wizard_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_account_product.wizard.l10n_br_account_nfe_export_invoice module

class l10n_br_account_product.wizard.l10n_br_account_nfe_export_invoice.L10nBrAccountNfeExportInvoice(pool, cr)[código fonte]

Base: openerp.models.TransientModel

Export fiscal eletronic file from invoice

export_folder
file
file_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.

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

nfe_export(*args, **kwargs)[código fonte]
nfe_export_result

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.

sign_xml
state
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.

class l10n_br_account_product.wizard.l10n_br_account_nfe_export_invoice.L10nBrAccountNfeExportInvoiceResult(pool, cr)[código fonte]

Base: openerp.models.TransientModel

document

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
message

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

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

Module contents