l10n_br_account.models.account.
AccountAccount
(pool, cr)[código fonte]¶Base: openerp.models.Model
l10n_br_account.models.account.
AccountJournal
(pool, cr)[código fonte]¶Base: openerp.models.Model
revenue_expense
¶l10n_br_account.models.account.
AccountTax
(pool, cr)[código fonte]¶Base: openerp.models.Model
compute_all
(*args, **kwargs)[código fonte]¶l10n_br_account.models.account.
AccountTaxComputation
(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: |
|
---|
l10n_br_account.models.account.
WizardMultiChartsAccounts
(pool, cr)[código fonte]¶Base: openerp.models.TransientModel
execute
(*args, **kwargs)[código fonte]¶This function is called at the confirmation of the wizard to generate the COA from the templates. It will read all the provided information to create the accounts, the banks, the journals, the taxes, the tax codes, the accounting properties... accordingly for the chosen company.
This is override in Brazilian Localization to copy CFOP from fiscal positions template to fiscal positions.
Parameters: |
|
---|
l10n_br_account.models.account_fiscal_position_rule.
AccountFiscalPositionRule
(pool, cr)[código fonte]¶Base: openerp.models.Model
child_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: |
|
---|
The attributes comodel_name
and inverse_name
are mandatory except in
the case of related fields or field extensions.
fiscal_category_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
fiscal_type
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
parent_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
partner_fiscal_type_id
¶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: |
|
---|
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: |
|
---|
partner_special_fiscal_type_id
¶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: |
|
---|
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: |
|
---|
product_fiscal_category_map
(product_id, fiscal_category_id, to_state_id=None)[código fonte]¶revenue_end
¶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) |
---|
revenue_start
¶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_account.models.account_fiscal_position_rule.
AccountFiscalPositionRuleTemplate
(pool, cr)[código fonte]¶Base: openerp.models.Model
child_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: |
|
---|
The attributes comodel_name
and inverse_name
are mandatory except in
the case of related fields or field extensions.
fiscal_category_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
fiscal_type
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
parent_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
partner_fiscal_type_id
¶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: |
|
---|
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: |
|
---|
partner_special_fiscal_type_id
¶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: |
|
---|
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: |
|
---|
revenue_end
¶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) |
---|
revenue_start
¶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_account.models.account_fiscal_position_rule.
WizardAccountFiscalPositionRule
(pool, cr)[código fonte]¶Base: openerp.models.TransientModel
action_create
(*args, **kwargs)[código fonte]¶l10n_br_account.models.account_invoice.
AccountInvoice
(pool, cr)[código fonte]¶Base: openerp.models.Model
account_document_event_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: |
|
---|
The attributes comodel_name
and inverse_name
are mandatory except in
the case of related fields or field extensions.
cnpj_cpf
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
document_serie_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
finalize_invoice_move_lines
(move_lines) → move_lines[código fonte]¶Hook method to be overridden in additional modules to verify and possibly alter the move lines to be created by an invoice, for special cases. :param move_lines: list of dictionaries with the account.move.lines (as for create()) :return: the (possibly updated) final move_lines to create for this invoice
fiscal_category_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
fiscal_comment
¶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 |
---|
fiscal_document_code
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
fiscal_document_electronic
¶fiscal_document_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
fiscal_position
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
ie
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
legal_name
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
move_line_receivable_id
¶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: |
|
---|
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: |
|
---|
name_get
(*args, **kwargs)[código fonte]¶open_fiscal_document
(*args, **kwargs)[código fonte]¶revenue_expense
¶state
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
l10n_br_account.models.account_invoice.
AccountInvoiceLine
(pool, cr)[código fonte]¶Base: openerp.models.Model
fiscal_category_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
fiscal_position
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
invoice_line_tax_id
¶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: |
|
---|
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: |
|
---|
move_line_get_item
(*args, **kwargs)[código fonte]¶Overrrite core to fix invoice total account.move
Parâmetros: | line – |
---|---|
Retorna: |
price_tax_discount
¶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_account.models.account_move_line.
AccountMoveLine
(pool, cr)[código fonte]¶Base: openerp.models.Model
l10n_br_account.models.l10n_br_account.
L10nBrAccountCNAE
(pool, cr)[código fonte]¶Base: openerp.models.Model
child_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: |
|
---|
The attributes comodel_name
and inverse_name
are mandatory except in
the case of related fields or field extensions.
code
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
internal_type
¶Parâmetros: |
|
---|
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: |
|
---|
name_get
(*args, **kwargs)[código fonte]¶parent_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
version
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
l10n_br_account.models.l10n_br_account.
L10nBrAccountCce
(pool, cr)[código fonte]¶Base: openerp.models.Model
cce_document_event_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: |
|
---|
The attributes comodel_name
and inverse_name
are mandatory except in
the case of related fields or field extensions.
display_name
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
invoice_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
motivo
¶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 |
---|
sequencia
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
l10n_br_account.models.l10n_br_account.
L10nBrAccountDocumentSerie
(pool, cr)[código fonte]¶Base: openerp.models.Model
active
¶code
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
company_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
create
(*args, **kwargs)[código fonte]¶Overwrite method to create a new ir.sequence if this field is null
fiscal_document_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
fiscal_type
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
internal_sequence_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
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: |
|
---|
l10n_br_account.models.l10n_br_account.
L10nBrAccountFiscalCategory
(pool, cr)[código fonte]¶Base: openerp.models.Model
Fiscal Category to apply fiscal and account parameters in documents.
action_unapproved_draft
(*args, **kwargs)[código fonte]¶Set state to draft and create a new workflow instance
code
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
fiscal_position_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: |
|
---|
The attributes comodel_name
and inverse_name
are mandatory except in
the case of related fields or field extensions.
fiscal_type
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
journal_type
¶Parâmetros: |
|
---|
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: |
|
---|
note
¶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 |
---|
onchange_journal_type
(*args, **kwargs)[código fonte]¶Clear property_journal
property_journal
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
refund_fiscal_category_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
reverse_fiscal_category_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
state
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
type
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
l10n_br_account.models.l10n_br_account.
L10nBrAccountFiscalDocument
(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: |
|
---|
electronic
¶name
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
l10n_br_account.models.l10n_br_account.
L10nBrAccountInvoiceCancel
(pool, cr)[código fonte]¶Base: openerp.models.Model
cancel_document_event_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: |
|
---|
The attributes comodel_name
and inverse_name
are mandatory except in
the case of related fields or field extensions.
display_name
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
invoice_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
justificative
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
partner_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
l10n_br_account.models.l10n_br_account.
L10nBrAccountInvoiceInvalidNumber
(pool, cr)[código fonte]¶Base: openerp.models.Model
action_draft_done
()[código fonte]¶company_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
document_serie_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
fiscal_document_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
invalid_number_document_event_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: |
|
---|
The attributes comodel_name
and inverse_name
are mandatory except in
the case of related fields or field extensions.
justificative
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
name_get
(*args, **kwargs)[código fonte]¶number_end
¶number_start
¶state
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
unlink
(*args, **kwargs)[código fonte]¶l10n_br_account.models.l10n_br_account.
L10nBrAccountPartnerFiscalType
(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: |
|
---|
default
¶icms
¶ipi
¶is_company
¶name
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
l10n_br_account.models.l10n_br_account.
L10nBrAccountPartnerSpecialFiscalType
(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: |
|
---|
l10n_br_account.models.l10n_br_account.
L10nBrAccountServiceType
(pool, cr)[código fonte]¶Base: openerp.models.Model
child_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: |
|
---|
The attributes comodel_name
and inverse_name
are mandatory except in
the case of related fields or field extensions.
code
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
internal_type
¶Parâmetros: |
|
---|
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: |
|
---|
name_get
(*args, **kwargs)[código fonte]¶parent_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
l10n_br_account.models.l10n_br_account.
L10nBrDocumentEvent
(pool, cr)[código fonte]¶Base: openerp.models.Model
cancel_document_event_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
company_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
create_date
¶display_name
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
document_event_ids
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
end_date
¶file_returned
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
file_sent
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
invalid_number_document_event_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
message
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
origin
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
response
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
set_done
(*args, **kwargs)[código fonte]¶state
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
status
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
type
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
write_date
¶l10n_br_account.models.l10n_br_account.
L10nBrTaxDefinition
[código fonte]¶Base: object
company_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
tax_code_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
tax_domain
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
tax_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
l10n_br_account.models.l10n_br_account.
L10nBrTaxDefinitionTemplate
[código fonte]¶Base: object
tax_code_template_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
tax_domain
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
tax_template_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
l10n_br_account.models.product.
L10nBrAccountProductFiscalCategory
(pool, cr)[código fonte]¶Base: openerp.models.Model
fiscal_category_destination_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
fiscal_category_source_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
product_tmpl_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
to_state_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
l10n_br_account.models.product.
ProductTemplate
(pool, cr)[código fonte]¶Base: openerp.models.Model
fiscal_category_default_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: |
|
---|
The attributes comodel_name
and inverse_name
are mandatory except in
the case of related fields or field extensions.
fiscal_type
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
service_type_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
l10n_br_account.models.res_company.
ResCompany
(pool, cr)[código fonte]¶Base: openerp.models.Model
annual_revenue
¶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) |
---|
cnae_main_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
cnae_secondary_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: |
|
---|
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: |
|
---|
document_serie_service_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
ecnpj_a1_file
¶ecnpj_a1_password
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
fiscal_rule_parent_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
fiscal_type
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
ibpt_update_days
¶ipbt_token
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
service_invoice_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
l10n_br_account.models.res_config.
ResConfig
(pool, cr)[código fonte]¶Base: openerp.models.TransientModel
ibpt_update_days
¶ipbt_token
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
l10n_br_account.models.res_partner.
AccountFiscalPosition
(pool, cr)[código fonte]¶Base: openerp.models.Model
asset_operation
¶fiscal_category_fiscal_type
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
fiscal_category_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
inv_copy_note
¶map_tax
(*args, **kwargs)[código fonte]¶name
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
onchange_fiscal_category_id
(*args, **kwargs)[código fonte]¶onchange_type
(*args, **kwargs)[código fonte]¶state
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
type
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
type_tax_use
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
l10n_br_account.models.res_partner.
AccountFiscalPositionTax
(pool, cr)[código fonte]¶Base: openerp.models.Model
onchange_tax_src_id
()[código fonte]¶tax_code_dest_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
tax_code_src_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
tax_src_domain
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
tax_src_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
l10n_br_account.models.res_partner.
AccountFiscalPositionTaxTemplate
(pool, cr)[código fonte]¶Base: openerp.models.Model
onchange_tax_src_id
()[código fonte]¶tax_code_dest_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
tax_code_src_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
tax_src_domain
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
tax_src_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
l10n_br_account.models.res_partner.
AccountFiscalPositionTemplate
(pool, cr)[código fonte]¶Base: openerp.models.Model
asset_operation
¶fiscal_category_fiscal_type
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
fiscal_category_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
generate_fiscal_position
(*args, **kwargs)[código fonte]¶This method generate Fiscal Position, Fiscal Position Accounts and Fiscal Position Taxes from templates.
Parâmetros: |
|
---|
account.fiscal.position.tax. :param acc_template_ref: Account templates reference for generating account.fiscal.position.account. :param company_id: selected from wizard.multi.charts.accounts. :returns: True
inv_copy_note
¶name
¶Basic string field, can be length-limited, usually displayed as a single-line string in clients
Parâmetros: |
|
---|
onchange_fiscal_category_id
(*args, **kwargs)[código fonte]¶onchange_type
(*args, **kwargs)[código fonte]¶state
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
type
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
type_tax_use
¶Parâmetros: |
|
---|
The attribute selection
is mandatory except in the case of
related fields or field extensions.
l10n_br_account.models.res_partner.
ResPartner
(pool, cr)[código fonte]¶Base: openerp.models.Model
partner_fiscal_type_id
¶The value of such a field is a recordset of size 0 (no record) or 1 (a single record).
Parâmetros: |
|
---|
The attribute comodel_name
is mandatory except in the case of related
fields or field extensions.
partner_special_fiscal_type_id
¶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: |
|
---|
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: |
|
---|