l10n_br_account_service.models package
Submodules
l10n_br_account_service.models.account_invoice module
-
class
l10n_br_account_service.models.account_invoice.
AccountInvoice
(pool, cr)[código fonte]
Base: openerp.models.Model
-
document_serie_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.
-
fields_view_get
(*args, **kwargs)[código fonte]
-
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.
-
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: |
- 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.
-
fiscal_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.
-
onchange_fiscal_document_id
()[código fonte]
-
open_fiscal_document
(*args, **kwargs)[código fonte]
return action to open NFS-e form
-
class
l10n_br_account_service.models.account_invoice.
AccountInvoiceLine
(pool, cr)[código fonte]
Base: openerp.models.Model
-
fields_view_get
(*args, **kwargs)[código fonte]
l10n_br_account_service.models.l10n_br_account module
-
class
l10n_br_account_service.models.l10n_br_account.
L10n_brAccountFiscalCategory
(pool, cr)[código fonte]
Base: openerp.models.Model
-
fiscal_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.
l10n_br_account_service.models.l10n_br_account_service module
l10n_br_account_service.models.product module
-
class
l10n_br_account_service.models.product.
ProductTemplate
(pool, cr)[código fonte]
Base: openerp.models.Model
-
fiscal_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.
l10n_br_account_service.models.res_company module
-
class
l10n_br_account_service.models.res_company.
L10nbrTaxDefinitionCompanyService
(pool, cr)[código fonte]
Base: openerp.addons.l10n_br_account.models.l10n_br_account.L10nBrTaxDefinition
, openerp.models.Model
-
class
l10n_br_account_service.models.res_company.
ResCompany
(pool, cr)[código fonte]
Base: openerp.models.Model
-
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: |
- 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.
-
in_invoice_service_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.
-
nfse_backup_folder
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
|
-
nfse_export_folder
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
|
-
nfse_import_folder
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
|
-
nfse_version
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.
-
out_invoice_service_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.
-
service_invoice_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.
-
service_tax_definition_line
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.
-
service_tax_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)
|
l10n_br_account_service.models.res_partner module
-
class
l10n_br_account_service.models.res_partner.
AccountFiscalPosition
(pool, cr)[código fonte]
Base: openerp.models.Model
-
map_tax
(*args, **kwargs)[código fonte]
Module contents