| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-brazil |
| GIT | |
| GIT | https://github.com/OCA/l10n-brazil.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-brazil/tree/18.0/l10n_br_fiscal |
| VERSION | |
| VERSION | 7.6.0 |
| CATEGORY | |
| CATEGORY | Localisation |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | Yes |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Raphaël Valyi, Renato Lima, Luis Felipe Mileo, Weblate, OCA-git-bot, Magno Costa, oca-ci, CristianoMafraJunior, OTX Solutions |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/l10n-brazil |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:09 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/l10n-brazil: - l10n_br_base OCA/product-attribute: - uom_alias odoo/odoo: - product - base - base_setup - web - bus - web_tour - html_editor - uom - base_address_extended - contacts |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
erpbrasil.base email-validator num2words phonenumbers |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | 
## Classificações fiscais
Primeramente, este módulo traz uma variedade de cadastros fiscais para
produtos, parceiros ou empresas. Na hora de emitir documentos fiscais
como NF-e, NFS-e etc... até empresas do regime simplificado ou MEI
precisam de vários desses cadastros. E empresas do regime normal
precisam deles para calcular os impostos ou emitir documentos fiscais.
Produtos:
- tipo fiscal
- NCM (com ligações com os impostos)
- genêro fiscal
- CEST
- NBM
- NBS
- tipo de serviço
- unidades fiscais
Parceiros:
- CNAE
- perfil fiscal
## Conceito de documento fiscal
O Odoo nativo não tem o conceito de documento fiscal. O conceito mais
parecido seria o `account.move` e até a versão 10.0 a localização
estendia o invoice para suportar as NF-e e NFS-e apenas. Naquela época
não era razoável você cogitar fazer o SPED no Odoo, o próprio core do
Odoo não tinha maturidade para isso então era válido a abordagem
empírica de ir suportando mais casos de NFe dentro do invoice Odoo
apenas.
Porém, na v12, amadurecemos o framework XML/SOAP de forma que se torna
razoável suportar vários documentos fiscais (NF-e, NFS-e, MDF-e, CT-e,
EFD-Reinf, e-Social, GNRE, BP-e...) com a qualidade OCA dentro do Odoo.
Também, apesar de complexo, o core do Odoo finalmente tem suporte
suficiente para as operações de uma empresa que faria o SPED.
Nisso se torna interessante ter o conceito de documento fiscal
`l10n_br_fiscal.document` independente do invoice Odoo para suportar
todos os documentos fiscais mesmo, de forma modular. Um outro motivo
para ter o conceito de documento fiscal fora do módulo account é que
quando você analisa o código deste módulo `l10n_br_fiscal`, quase nada
dele poderia ser feito pelo módulo account do Odoo. Então ter esse
módulo l10n_br_fiscal que não depende do módulo account também é uma
forma de modularizar a localização para facilitar a manutenção dela,
especialmente quando se trata de migrar e que o módulo pode ter mudado
bastante como foi o caso entre a v8.0 e a v9.0 ou a v12.0 e v13.0 por
exemplo. Facilita também a governança do projeto possibilitando que
pessoas sejam responsáveis por diferentes partes. O módulo
l10n_br_fiscal foi principalmente extraído do módulo
l10n_br_l10n_br_account_product das v7.0 as v.10.0.
Esse módulo `l10n_br_fiscal` é agnóstico de qualquer tecnologia XML ou
SOAP. Ele contém apenas o que há de comum entre os documentos fiscais
mas esses últimos são implementados em outros módulos. Para um
determinado documento fiscal como a Nf-e, você tem então por exemplo:
- `nfelib`: um pacote de data bindings puro Python (que não depende do
Odoo). Em geral usamos um gerador de código para gerar esses bindings
a partir dos esquemas XSD da fazenda.
- `l10n_br_nfe_spec`: um modulo de mixins Odoo geridos também a partir
dos XSD. Esses mixins são apenas as estruturas de dados das
especificações antes de ser injectados em objetos Odoo existantes
(como res.partner ou l10n_br_fiscal.document) ou até tornados
concretos caso não exite objetos na Odoo ou na OCA para eles já.
- `l10n_br_nfe`: um módulo Odoo que trata de injectar esses mappings
fiscais nos objetos Odoo e que implementa a lógica como os wizards
para a transmissão.
A transmissão é realizada usando uma lib de transmissão como
`erpbrasil.doc` (baseada em Python Zeep). Importante: no caso da
`NFS-e`, a ausência de padrão nacional hoje e a simplicidade do modelo
(comparado com a NFe) faz que foi decidido de não usar um módulo de
mixins fiscais Odoo geridos, o mapping é com a lib de binding é feito
manualmente, família de NFS-e por família.
Alem disso a maioria do codigo do `l10n_br_fiscal.document` e das linhas
dele `l10n_br_fiscal.document.line` é na verdade feito dentro de mixins
`10n_br_fiscal.document.mixin` e `10n_br_fiscal.document.line.mixin`
respectivamente. Esses mixins podem assim ser injectados em outros
objetos Odoo que precedem os documentos fiscais e podem armazenar então
o mesmo tipo de informação: `sale.order`, `purchase.order`,
`stock.picking`... Isso é bem visível nos módulos que estendem esse
módulo:
``` text
|-- l10n_br_fiscal
|-- l10n_br_sale
|-- l10n_br_purchase
|-- l10n_br_account
|-- ...
```
Porem o caso do invoice Odoo no modulo `l10n_br_account` é diferente
ainda. Pois já se tem a tabela independente do documento fiscal cuja
grande maioria das dezenas e até centenas de campos fiscais (no caso de
muitos tipos de documentos fiscais) não são redundante com os do invoice
Odoo. Se a gente injetasse esses mixins dentro do invoice, aí sim essas
centenas de campos seriam duplicados entre o invoice e o documento
fiscal. Por isso, o sistema que foi adotado no modulo `l10n_br_account`
é que um invoice Odoo passa a ter um
`_inherits = "l10n_br_fiscal.document"` de forma que se pilota o
documento fiscal através do invoice, oferecendo o mesmo tipo de
integração como antes. O mesmo tipo de mecanismo acontece com a linha do
documento fiscal.
Sendo assim, já pelos \_inherits, o invoice Odoo e as linhas dele já vão
puxar todos campos fiscais como se eles fossem das suas respectivas
tabelas sem duplicar eles no banco. Se alem disso a gente injetasse os
mixins `10n_br_fiscal.document.mixin` e
`10n_br_fiscal.document.line.mixin` no invoice e invoice.line, esses
campos fiscais apareceriam também nas tabelas `account_move` e
`account_move_line` de forma redundantes com os campos puxados pelos
\_inherits. Para não ter esse problema, os métodos fiscais comuns (sem
os campos) foram ainda extraidos nos mixins:
`10n_br_fiscal.document.mixin.methods` e
`10n_br_fiscal.document.line.mixin.methods` que são injectados nos
objetos `account_move` e `account_move_line` respectivamente dentro do
modulo `l10n_br_account`.
## Impostos brasileiros
O módulo l10n_br_fiscal lida com os principais impostos brasileiros
como:
- ICMS do Simples Nacional
- ICMS do Regime normal
- IPI
- PIS
- COFINS
- ISSQN
- IRPJ
- II
- CSLL
- INSS
O módulo l10n_br_fiscal também lida com:
- ST
- retenções


É notório que o cálculo dos impostos no Brasil é muito especial e muito
trabalhoso. Geralmente é o motivo pelo qual os ERPs internacionais não
tem grande fatia de mercado brasileiro.
Até a versão 10.0, tentamos usar e estender o objeto Odoo `account.tax`.
A Akretion até criou o projeto `OCA/account-fiscal-rule` para determinar
as alíquotas de cada imposto de accordo com os parâmetros da operação
fiscal. Porém, a gente acabava usando quase nada do
`account.fiscal.position` nativo na parte fiscal e pelo contrário, isso
nos obrigava a ter um registro `account.tax` para cada aliquota e nos
obrigava a manter centenas de taxas e dezenas de milhares de regras para
selecionar a "posição fiscal" Odoo que aplicaria as taxas corretas. E
você ainda tinha que gerir essas dezenas de milhares de regras para uma
determinada empresa do regime normal. Conclusão: era inviável nos
projetos menores de tentar se encaixa na lógica do Odoo para calcular os
impostos brasileiros.
Nisso criamos neste módulo os modelos de taxas que representam
exatamente o funcionamentos dos impostos brasileiros. Além dos cálculos,
esses modelos também nos servem a carregar as tabelas dos impostos. E
mais adiante, no módulo `l10n_br_account`, ligamos os objetos nativos
`account.tax` as alíquotas dos impostos brasileiros.
Claro esses modelos dos impostos atendem as empresas do regime normal,
mas é bom lembrar que até empresas do regime simplificado precisam
desses modelos para realizar as operações com ST (Substituição
Tributária)...
## Operações fiscais
> 
No Odoo nativo, o conceito mais parecido com a operação fiscal e o
`account.fiscal.position`. E ate a versão 10.0, era o que a gente usava.
Porém, a posição fiscal do Odoo não resolve muito os nossos problemas
pois:
- no Brasil se tem uma operação fiscal por linha de documento fiscal
- a posição fiscal do Odoo desconhece a lógica da parametrização fiscal
brasileira
- já que puxamos o cadastro dos impostos no módulo l10n_br_fiscal fora
do módulo account (sem depender dele), não temos ainda o objeto
`account.fiscal.position` neste módulo.
Com tudo, optamos por criar um objeto `l10n_br_fiscal.operation` que faz
exactamente o que precisamos para o Brasil. Mais adiante, no módulo
`l10n_br_account` é realizado a integração entre a posição fiscal do
Odoo e essa operação fiscal. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cest_form |
l10n_br_fiscal.cest.form | l10n_br_fiscal.cest | form | New |
cest_search |
l10n_br_fiscal.cest.search | l10n_br_fiscal.cest | search | New |
cest_tree |
l10n_br_fiscal.cest.tree | l10n_br_fiscal.cest | list | New |
cfop_form |
l10n_br_fiscal.cfop.form | l10n_br_fiscal.cfop | form | New |
cfop_search |
l10n_br_fiscal.cfop.search | l10n_br_fiscal.cfop | search | New |
cfop_tree |
l10n_br_fiscal.cfop.tree | l10n_br_fiscal.cfop | list | New |
city_taxation_code_form_view |
city.taxation.code.form (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | form | New |
city_taxation_code_search_view |
city.taxation.code.search (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | search | New |
city_taxation_code_tree_view |
city.taxation.code.tree (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | list | New |
cnae_form |
l10n_br_fiscal.cnae.form | l10n_br_fiscal.cnae | form | New |
cnae_search |
l10n_br_fiscal.cnae.search | l10n_br_fiscal.cnae | search | New |
cnae_tree |
l10n_br_fiscal.cnae.tree | l10n_br_fiscal.cnae | list | New |
comment_form |
l10n_br_fiscal.comment.form | l10n_br_fiscal.comment | form | New |
comment_search |
l10n_br_fiscal.comment.search | l10n_br_fiscal.comment | search | New |
comment_tree |
l10n_br_fiscal.comment.tree | l10n_br_fiscal.comment | list | New |
cst_form |
l10n_br_fiscal.cst.form | l10n_br_fiscal.cst | form | New |
cst_search |
l10n_br_fiscal.cst.search | l10n_br_fiscal.cst | search | New |
cst_tree |
l10n_br_fiscal.cst.tree | l10n_br_fiscal.cst | list | New |
document_fiscal_line_mixin_form |
l10n_br_fiscal.document.line.mixin.form | l10n_br_fiscal.document.line | form | New |
document_form |
l10n_br_fiscal.document.form | l10n_br_fiscal.document | form | New |
document_import_wizard_form |
document.import.wizard.form | l10n_br_fiscal.document.import.wizard | form | New |
document_line_form |
l10n_br_fiscal.document.line.form | l10n_br_fiscal.document.line | form | New |
document_related_form |
l10n_br_fiscal.document.related.form | l10n_br_fiscal.document.related | form | New |
document_related_tree |
l10n_br_fiscal.document.related.tree | l10n_br_fiscal.document.related | list | New |
document_search |
l10n_br_fiscal.document.search | l10n_br_fiscal.document | search | New |
document_serie_form |
l10n_br_fiscal.document.serie.form | l10n_br_fiscal.document.serie | form | New |
document_serie_tree |
l10n_br_fiscal.document.serie.tree | l10n_br_fiscal.document.serie | list | New |
document_tree |
l10n_br_fiscal.document.tree | l10n_br_fiscal.document | list | New |
document_type_form |
l10n_br_fiscal.document.type.form | l10n_br_fiscal.document.type | form | New |
document_type_tree |
l10n_br_fiscal.document.type.tree | l10n_br_fiscal.document.type | list | New |
fiscal_res_company_form |
l10n_br_fiscal.res.company.form | res.company | notebook | Inherits base.view_company_form |
invalidate_number_form |
l10n_br_fiscal.invalidate.number.form | l10n_br_fiscal.invalidate.number | form | New |
invalidate_number_search |
l10n_br_fiscal.invalidate.number.search | l10n_br_fiscal.invalidate.number | search | New |
invalidate_number_tree |
l10n_br_fiscal.invalidate.number.tree | l10n_br_fiscal.invalidate.number | list | New |
l10n_br_fiscal_res_config_settings_form |
l10n_br_fiscal.res.config.settings.view.form | res.config.settings | xpath | Inherits base.res_config_settings_view_form |
legal_nature_form |
l10n_br_fiscal.legal.nature.form | l10n_br_fiscal.legal.nature | form | New |
legal_nature_search |
l10n_br_fiscal.legal.nature.search | l10n_br_fiscal.legal.nature | search | New |
legal_nature_tree |
l10n_br_fiscal.legal.nature.tree | l10n_br_fiscal.legal.nature | list | New |
national_taxation_code_form_view |
national.taxation.code.form (in l10n_br_fiscal) | l10n_br_fiscal.national.taxation.code | form | New |
national_taxation_code_search_view |
national.taxation.code.search (in l10n_br_fiscal) | l10n_br_fiscal.national.taxation.code | search | New |
national_taxation_code_tree_view |
national.taxation.code.tree (in l10n_br_fiscal) | l10n_br_fiscal.national.taxation.code | list | New |
nbm_form |
l10n_br_fiscal.nbm.form | l10n_br_fiscal.nbm | form | New |
nbm_kanban |
l10n_br_fiscal.nbm.kanban | l10n_br_fiscal.ncm | kanban | New |
nbm_search |
l10n_br_fiscal.nbm.search | l10n_br_fiscal.nbm | search | New |
nbm_tree |
l10n_br_fiscal.nbm.tree | l10n_br_fiscal.nbm | list | New |
nbs_form |
l10n_br_fiscal.nbs.form | l10n_br_fiscal.nbs | form | New |
nbs_kanban |
l10n_br_fiscal.nbs.kanban | l10n_br_fiscal.nbs | kanban | New |
nbs_search |
l10n_br_fiscal.nbs.search | l10n_br_fiscal.nbs | search | New |
nbs_tree |
l10n_br_fiscal.nbs.tree | l10n_br_fiscal.nbs | list | New |
ncm_form |
l10n_br_fiscal.ncm.form | l10n_br_fiscal.ncm | form | New |
ncm_kanban |
l10n_br_fiscal.ncm.kanban | l10n_br_fiscal.ncm | kanban | New |
ncm_search |
l10n_br_fiscal.ncm.search | l10n_br_fiscal.ncm | search | New |
ncm_tree |
l10n_br_fiscal.ncm.tree | l10n_br_fiscal.ncm | list | New |
operation_dashboard_kanban |
l10n_br_fiscal.operation.dashboard.kanban | l10n_br_fiscal.operation | kanban | New |
operation_form |
l10n_br_fiscal.operation.form | l10n_br_fiscal.operation | form | New |
operation_indicator_form |
l10n_br_fiscal.operation.indicator.form | l10n_br_fiscal.operation.indicator | form | New |
operation_indicator_search |
l10n_br_fiscal.operation.indicator.search | l10n_br_fiscal.operation.indicator | search | New |
operation_indicator_tree |
l10n_br_fiscal.operation.indicator.tree | l10n_br_fiscal.operation.indicator | list | New |
operation_line_form |
l10n_br_fiscal.operation.line.form | l10n_br_fiscal.operation.line | form | New |
operation_line_tree |
l10n_br_fiscal.operation.line.tree | l10n_br_fiscal.operation.line | list | New |
operation_search |
l10n_br_fiscal.operation.search | l10n_br_fiscal.operation | search | New |
operation_tree |
l10n_br_fiscal.operation.tree | l10n_br_fiscal.operation | list | New |
partner_form |
l10n_br_fiscal.partner.form | res.partner | group | Inherits l10n_br_base.l10n_br_base_partner_form |
partner_profile_form |
l10n_br_fiscal.partner.profile.form | l10n_br_fiscal.partner.profile | form | New |
partner_profile_search |
l10n_br_fiscal.partner.profile.search | l10n_br_fiscal.partner.profile | search | New |
partner_profile_tree |
l10n_br_fiscal.partner.profile.tree | l10n_br_fiscal.partner.profile | list | New |
product_form |
l10n_br_fiscal.product.product.form | product.product | xpath | Inherits product.product_normal_form_view |
product_genre_form |
l10n_br_fiscal.product.genre.form | l10n_br_fiscal.product.genre | form | New |
product_genre_search |
l10n_br_fiscal.product.genre.search | l10n_br_fiscal.product.genre | search | New |
product_genre_tree |
l10n_br_fiscal.product.genre.tree | l10n_br_fiscal.product.genre | list | New |
product_search |
l10n_br_fiscal.product.product.search | product.product | field | Inherits product.product_search_form_view |
product_template_form |
l10n_br_fiscal.product.template.form | product.template | xpath | Inherits product.product_template_only_form_view |
product_template_search |
l10n_br_fiscal.product.template.search | product.template | field | Inherits product.product_template_search_view |
product_template_tree |
product.template.tree | product.template | list | New |
product_tree |
product.product.tree | product.product | list | New |
service_type_form |
l10n_br_fiscal.service.type.form | l10n_br_fiscal.service.type | form | New |
service_type_kanban |
l10n_br_fiscal.service.type.kanban | l10n_br_fiscal.service.type | kanban | New |
service_type_search |
l10n_br_fiscal.service.type.search | l10n_br_fiscal.service.type | search | New |
service_type_tree |
l10n_br_fiscal.service.type.tree | l10n_br_fiscal.service.type | list | New |
simplified_tax_form |
l10n_br_fiscal.simplified.tax.form | l10n_br_fiscal.simplified.tax | form | New |
simplified_tax_range_tree |
l10n_br_fiscal.simplified.tax.range.tree | l10n_br_fiscal.simplified.tax.range | list | New |
simplified_tax_tree |
l10n_br_fiscal.simplified.tax.tree | l10n_br_fiscal.simplified.tax | list | New |
tax_classification_form |
l10n_br_fiscal.tax.classification | form | New | |
tax_classification_search |
l10n_br_fiscal.tax.classification | search | New | |
tax_classification_tree |
l10n_br_fiscal.tax.classification | list | New | |
tax_definition_form |
l10n_br_fiscal.tax.definition.form | l10n_br_fiscal.tax.definition | form | New |
tax_definition_icms_tree |
l10n_br_fiscal.tax.definition.icms.tree | l10n_br_fiscal.tax.definition | list | New |
tax_definition_tree |
l10n_br_fiscal.tax.definition.tree | l10n_br_fiscal.tax.definition | list | New |
tax_estimate_tree |
l10n_br_fiscal.tax.estimate.tree | l10n_br_fiscal.tax.estimate | list | New |
tax_form |
l10n_br_fiscal.tax.form | l10n_br_fiscal.tax | form | New |
tax_group_form |
l10n_br_fiscal.tax.group.form | l10n_br_fiscal.tax.group | form | New |
tax_group_search |
l10n_br_fiscal.tax.group.search | l10n_br_fiscal.tax.group | search | New |
tax_group_tree |
l10n_br_fiscal.tax.group.tree | l10n_br_fiscal.tax.group | list | New |
tax_icms_regulation_form |
l10n_br_fiscal.icms.regulation.form | l10n_br_fiscal.icms.regulation | form | New |
tax_icms_regulation_search |
l10n_br_fiscal.icms.regulation.search | l10n_br_fiscal.icms.regulation | search | New |
tax_icms_regulation_tree |
l10n_br_fiscal.icms.regulation.tree | l10n_br_fiscal.icms.regulation | list | New |
tax_icms_relief_form |
l10n_br_fiscal.icms.relief.form | l10n_br_fiscal.icms.relief | form | New |
tax_icms_relief_search |
l10n_br_fiscal.icms.relief.search | l10n_br_fiscal.icms.relief | search | New |
tax_icms_relief_tree |
l10n_br_fiscal.icms.relief.tree | l10n_br_fiscal.icms.relief | list | New |
tax_ipi_control_seal_form |
l10n_br_fiscal.tax.ipi.control.seal.form | l10n_br_fiscal.tax.ipi.control.seal | form | New |
tax_ipi_control_seal_search |
l10n_br_fiscal.tax.ipi.control.seal.search | l10n_br_fiscal.tax.ipi.guideline.class | search | New |
tax_ipi_control_seal_tree |
l10n_br_fiscal.tax.ipi.control.seal.tree | l10n_br_fiscal.tax.ipi.control.seal | list | New |
tax_ipi_guideline_class_form |
l10n_br_fiscal.tax.ipi.guideline.class.form | l10n_br_fiscal.tax.ipi.guideline.class | form | New |
tax_ipi_guideline_class_search |
l10n_br_fiscal.tax.ipi.guideline.class.search | l10n_br_fiscal.tax.ipi.guideline.class | search | New |
tax_ipi_guideline_class_tree |
l10n_br_fiscal.tax.ipi.guideline.class.tree | l10n_br_fiscal.tax.ipi.guideline.class | list | New |
tax_ipi_guideline_form |
l10n_br_fiscal.tax.ipi.guideline.form | l10n_br_fiscal.tax.ipi.guideline | form | New |
tax_ipi_guideline_search |
l10n_br_fiscal.tax.ipi.guideline.search | l10n_br_fiscal.tax.ipi.guideline | search | New |
tax_ipi_guideline_tree |
l10n_br_fiscal.tax.ipi.guideline.tree | l10n_br_fiscal.tax.ipi.guideline | list | New |
tax_pis_cofins_base_form |
l10n_br_fiscal.tax.pis.cofins.base.form | l10n_br_fiscal.tax.pis.cofins.base | form | New |
tax_pis_cofins_base_search |
l10n_br_fiscal.tax.pis.cofins.base.search | l10n_br_fiscal.tax.pis.cofins.base | search | New |
tax_pis_cofins_base_tree |
l10n_br_fiscal.tax.pis.cofins.base.tree | l10n_br_fiscal.tax.pis.cofins.base | list | New |
tax_pis_cofins_credit_form |
l10n_br_fiscal.tax.pis.cofins.credit.form | l10n_br_fiscal.tax.pis.cofins.credit | form | New |
tax_pis_cofins_credit_search |
l10n_br_fiscal.tax.pis.cofins.credit.search | l10n_br_fiscal.tax.pis.cofins.credit | search | New |
tax_pis_cofins_credit_tree |
l10n_br_fiscal.tax.pis.cofins.credit.tree | l10n_br_fiscal.tax.pis.cofins.credit | list | New |
tax_pis_cofins_form |
l10n_br_fiscal.pis.cofins.tax.form | l10n_br_fiscal.tax.pis.cofins | form | New |
tax_pis_cofins_search |
l10n_br_fiscal.tax.search | l10n_br_fiscal.tax.pis.cofins | search | New |
tax_pis_cofins_tree |
l10n_br_fiscal.tax.pis.cofins.tree | l10n_br_fiscal.tax.pis.cofins | list | New |
tax_search |
l10n_br_fiscal.tax.search | l10n_br_fiscal.tax | search | New |
tax_tree |
l10n_br_fiscal.tax.tree | l10n_br_fiscal.tax | list | New |
uom_category_form_inherit_code_desc |
uom.category.form (in l10n_br_fiscal) | uom.category | xpath | Inherits uom.product_uom_categ_form_view |
uom_uom_form_view |
uom.uom.form (in l10n_br_fiscal) | uom.uom | field | Inherits uom.product_uom_form_view |
uom_uom_tree_view |
uom.uom.tree (in l10n_br_fiscal) | uom.uom | field | Inherits uom.product_uom_tree_view |
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
string='Fiscal Document'
document_key
Char
document_number
Char
document_serie
Char
document_status
Text
readonly=True
string='Status'
document_type
Char
related='document_type_id.code'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Document Type'
justification
Text
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
rps_number
Char
state
Selection
default='init'
readonly=True
selection=[('init', 'init'), ('confirm', 'confirm'), ('done', 'done')]
button_back(self)
default_get(self, fields_list)
code
Char
size=9
code_unmasked
Char
size=7
item
Char
required=True
ncm_ids
Many2many → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
readonly=True
string='NCMs'
ncms
Char
string='NCM'
product_tmpl_ids
One2many
inverse_name='cest_id'
segment
Selection
required=True
selection=CEST_SEGMENT
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
string='Tax Definition'
action_search_ncms(self)
create(self, vals_list)
write(self, values)
account_move
Boolean
default=True
string='Account Move?'
assent_move
Boolean
default=False
string='Assent Move?'
cfop_inverse_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('destination', '=', destination),('type_in_out', '!=', type_in_out)]"
string='Inverse CFOP'
cfop_return_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('destination', '=', destination),('type_in_out', '!=', type_in_out),('type_move', 'in', ('sale_refund', 'purchase_refund', 'return_out', 'return_in'))]"
string='Return CFOP'
code
Char
size=4
destination
Selection
compute='_compute_destination'
help='Identifies the operation destination.'
selection=CFOP_DESTINATION
store=True
finance_move
Boolean
default=True
string='Finance Moves?'
ind_anula
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Revocation?'
ind_comb
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes - Without mandatory transportation information'), ('2', '2 - Yes - With mandatory transportation information')]
string='Fuel?'
ind_comunica
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Communication?'
ind_cte
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Used in CTe'
ind_devol
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Return?'
ind_nfe
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Used in NFe'
ind_remes
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Shipment?'
ind_retor
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Regress?'
ind_transp
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Transport?'
is_import
Boolean
compute='_compute_is_import'
string='Is Import?'
small_name
Char
required=True
size=32
stock_move
Boolean
default=True
string='Stock Moves?'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='cfop_id'
string='Tax Definition'
type_in_out
Selection
default=FISCAL_OUT
required=True
selection=FISCAL_IN_OUT
string='Type'
type_move
Selection
default=CFOP_TYPE_MOVE_DEFAULT
required=True
selection=CFOP_TYPE_MOVE
No public methods.
city_id
Many2one → res.city
comodel_name='res.city'
domain="[('state_id', '=', state_id)]"
string='City'
cnae_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='CNAE Code'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain=[('internal_type', '=', 'normal')]
string='Service Type'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='State'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_city_taxation_code_rel'
string='Tax Definition'
No public methods.
child_ids
One2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
inverse_name='parent_id'
string='Children CNAEs'
code
Char
size=16
internal_type
Selection
default='normal'
required=True
selection=[('view', 'View'), ('normal', 'Normal')]
parent_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='Parent CNAE'
version
Char
required=True
size=16
No public methods.
comment
Text
required=True
comment_type
Selection
default=COMMENT_TYPE_COMMERCIAL
required=True
selection=COMMENT_TYPE
date_begin
Date
string='Initial Date'
date_end
Date
string='Final Date'
name
Char
required=True
object
Selection
required=True
selection=FISCAL_COMMENT_OBJECTS
object_id
Reference
ondelete='set null'
selection=FISCAL_COMMENT_OBJECTS
string='Reference'
sequence
Integer
default=10
test_comment
Text
action_test_message(self)
compute_message(self, vals, manual_comment=None)
format_amount(self, env, amount, currency)
code
Char
size=4
cst_type
Selection
required=True
selection=FISCAL_IN_OUT_ALL
string='Type'
tax_domain
Selection
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
required=True
string='Fiscal Tax Group'
No public methods.
active
Boolean
default=True
code
Char
index=True
required=True
code_unmasked
Char
compute='_compute_code_unmasked'
index=True
store=True
string='Unmasked Code'
name
Text
index=True
required=True
action_archive(self)
action_unarchive(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
estimate_tax_imported
Float
compute='_compute_amount'
digits='Fiscal Tax Percent'
readonly=True
store=True
string='Estimate Tax Imported Percent'
estimate_tax_national
Float
compute='_compute_amount'
digits='Fiscal Tax Percent'
readonly=True
store=True
string='Estimate Tax Nacional Percent'
tax_estimate_ids
One2many → l10n_br_fiscal.tax.estimate
comodel_name='l10n_br_fiscal.tax.estimate'
readonly=True
string='Estimate Taxes'
action_ibpt_inquiry(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
product_tmpl_ids
One2many → product.template
comodel_name='product.template'
readonly=True
string='Products'
product_tmpl_qty
Integer
compute='_compute_product_tmpl_infos'
string='Products Quantity'
No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
company_l10n_br_ie_code_st
Char
string='Company ST State Tax Number'
currency_id
Many2one → res.currency
comodel_name='res.currency'
related='company_id.currency_id'
string='Currency'
customer_additional_data
Text
date_in_out
Datetime
copy=False
string='Date IN/OUT'
document_date
Datetime
copy=False
document_electronic
Boolean
related='document_type_id.electronic'
store=True
string='Electronic?'
document_related_ids
One2many → l10n_br_fiscal.document.related
comodel_name='l10n_br_fiscal.document.related'
inverse_name='document_id'
string='Fiscal Document Related'
document_type
Char
related='document_type_id.code'
store=True
string='Document Type Code'
edoc_purpose
Selection
compute='_compute_edoc_purpose'
default=EDOC_PURPOSE_NORMAL
precompute=True
selection=EDOC_PURPOSE
store=True
string='Finalidade'
edoc_refund_credit_type
Selection
selection=EDOC_REFUND_CREDIT_TYPE
string='Tipo de Nota de Crédito'
edoc_refund_debit_type
Selection
selection=EDOC_REFUND_DEBIT_TYPE
string='Tipo de Nota de Débito'
fiscal_additional_data
Text
fiscal_line_ids
One2many → l10n_br_fiscal.document.line
check_company=True
comodel_name='l10n_br_fiscal.document.line'
copy=True
inverse_name='document_id'
string='Document Lines'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
domain="[('state', '=', 'approved')]"
string='Fiscal Operation'
args: 'l10n_br_fiscal.operation'
fiscal_operation_type
Selection
store=True
imported_document
Boolean
default=False
string='Imported'
name
Char
compute='_compute_name'
index=True
store=True
partner_cnpj_cpf
Char
related='partner_id.vat'
string='CNPJ'
partner_id
Many2one → res.partner
comodel_name='res.partner'
inverse='_inverse_partner_id'
string='Partner'
partner_l10n_br_ie_code
Char
related='partner_id.l10n_br_ie_code'
string='State Tax Number'
partner_legal_name
Char
related='partner_id.legal_name'
string='Legal Name'
partner_shipping_id
Many2one → res.partner
comodel_name='res.partner'
string='Shipping Address'
processador_edoc
Selection
related='company_id.processador_edoc'
public_entity_type
Selection
selection=PUBLIC_ENTIRY_TYPE
string='Tipo de Entidade Governamental'
rps_number
Char
copy=False
index=True
string='RPS Number'
service_provider
Selection
selection=[('0', 'Remetente'), ('1', 'Expedidor'), ('2', 'Recebedor'), ('3', 'Destinatário'), ('4', 'Outros')]
string='Tomador do Serviço'
state
Selection
related='state_edoc'
string='State'
state_edoc
Selection
copy=False
default=SITUACAO_EDOC_EM_DIGITACAO
index=True
readonly=True
required=True
selection=SITUACAO_EDOC
string='Situação e-doc'
state_fiscal
Selection
copy=False
index=True
selection=SITUACAO_FISCAL
string='Situação Fiscal'
transport_modal
Selection
selection=[('01', 'Rodoviário'), ('02', 'Aéreo'), ('03', 'Aquaviário'), ('04', 'Ferroviário'), ('05', 'Dutoviário'), ('06', 'Multimodal')]
string='Modal de Transporte'
user_id
Many2one → res.users
comodel_name='res.users'
default=<expr>
index=True
string='User'
xml_error_message
Text
copy=False
readonly=True
string='XML validation errors'
action_create_return(self)
action_document_back2draft(self)
action_document_cancel(self)
action_document_confirm(self)
action_document_correction(self)
action_document_invalidate(self)
action_document_send(self)
exec_after_SITUACAO_EDOC_DENEGADA(self, old_state, new_state)
unlink(self)
view_pdf(self)
view_xml(self)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
destination_cnpj
Char
string='Destination CNPJ'
destination_name
Char
destination_partner_id
Many2one → res.partner
comodel_name='res.partner'
destination_type_in_out
Selection
selection=FISCAL_IN_OUT
string='Destination Type'
document_type
Char
file
Binary
string='File to Import'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain="[('fiscal_operation_type', '=', fiscal_operation_type)]"
string='Fiscal Operation'
fiscal_operation_type
Selection
compute='_compute_fiscal_operation_type'
selection=FISCAL_IN_OUT
issuer_cnpj
Char
string='Issuer CNPJ'
issuer_legal_name
Char
issuer_name
Char
string='Fantasia'
issuer_partner_id
Many2one → res.partner
comodel_name='res.partner'
issuer_type_in_out
Selection
selection=FISCAL_IN_OUT
string='Issuer Type'
action_import_and_open_document(self)
action_open_document(self)
additional_data
Text
company_id
Many2one → res.company
comodel_name='res.company'
precompute=True
related='document_id.company_id'
store=True
string='Company'
delivery_costs
Selection
related='company_id.delivery_costs'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
ondelete='cascade'
string='Document'
edoc_purpose
Selection
related='document_id.edoc_purpose'
force_compute_delivery_costs_by_total
Boolean
related='document_id.force_compute_delivery_costs_by_total'
name
Char
compute='_compute_name'
precompute=True
readonly=False
store=True
partner_id
Many2one → res.partner
comodel_name='res.partner'
compute='_compute_partner_id'
precompute=True
readonly=False
store=True
price_unit
Float
compute='_compute_price_unit_fiscal'
digits='Product Price'
precompute=True
readonly=False
store=True
quantity
Float
default=1.0
tax_framework
Selection
related='company_id.tax_framework'
uom_id
Many2one → uom.uom
comodel_name='uom.uom'
compute='_compute_uom_id'
precompute=True
readonly=False
store=True
string='UOM'
No public methods.
allow_csll_irpj
Boolean
compute='_compute_allow_csll_irpj'
help="Indicates potential 'CSLL' and 'IRPJ' tax charges."
amount_fiscal
Monetary
compute='_compute_fiscal_amounts'
amount_tax_included
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
amount_tax_not_included
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
amount_tax_withholding
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='Tax Withholding'
amount_taxed
Monetary
compute='_compute_fiscal_amounts'
cbs_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CBS Base'
cbs_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='CBS Base Type'
cbs_cst_code
Char
related='cbs_cst_id.code'
store=True
string='CBS CST Code'
cbs_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'cbs')]"
precompute=True
readonly=False
store=True
string='CST CBS'
cbs_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CBS %'
cbs_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CBS % Reduction'
cbs_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=<expr>
precompute=True
readonly=False
store=True
string='Tax CBS'
cbs_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CBS Value'
cest_id
Many2one → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
compute='_compute_product_fiscal_fields'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
precompute=True
readonly=False
store=True
string='CEST'
cfop_destination
Selection
related='cfop_id.destination'
string='CFOP Destination'
cfop_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
compute='_compute_fiscal_tax_ids'
domain="[('type_in_out', '=', fiscal_operation_type)]"
precompute=True
readonly=False
store=True
string='CFOP'
city_taxation_code_id
Many2one → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
compute='_compute_city_taxation_code_id'
help='City Taxation Code for Municipal NFS-e or ISS Municipal Taxation Code for National NFS-e.'
precompute=True
readonly=False
store=True
string='City Taxation Code'
cnae_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
precompute=True
readonly=False
related='city_taxation_code_id.cnae_id'
store=True
string='CNAE Code'
cofins_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS Base'
cofins_base_id
Many2one → l10n_br_fiscal.tax.pis.cofins.base
comodel_name='l10n_br_fiscal.tax.pis.cofins.base'
string='COFINS Base Code'
cofins_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='COFINS Base Type'
cofins_credit_id
Many2one → l10n_br_fiscal.tax.pis.cofins.credit
comodel_name='l10n_br_fiscal.tax.pis.cofins.credit'
string='COFINS Credit Code'
cofins_cst_code
Char
related='cofins_cst_id.code'
store=True
string='COFINS CST Code'
cofins_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'cofins')]"
precompute=True
readonly=False
store=True
string='CST COFINS'
cofins_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS %'
cofins_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS % Reduction'
cofins_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS)]
precompute=True
readonly=False
store=True
string='Tax COFINS'
cofins_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS Value'
cofins_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS RET Base'
cofins_wh_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='COFINS WH Base Type'
cofins_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS RET %'
cofins_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS RET % Reduction'
cofins_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_WH)]
precompute=True
readonly=False
store=True
string='Tax COFINS RET'
cofins_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS RET Value'
cofinsst_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS ST Base'
cofinsst_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='COFINS ST Base Type'
cofinsst_cst_code
Char
related='cofinsst_cst_id.code'
store=True
string='COFINS ST CST Code'
cofinsst_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'cofinsst')]"
precompute=True
readonly=False
store=True
string='CST COFINS ST'
cofinsst_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS ST %'
cofinsst_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS ST % Reduction'
cofinsst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_ST)]
precompute=True
readonly=False
store=True
string='Tax COFINS ST'
cofinsst_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS ST Value'
comment_ids
Many2many → l10n_br_fiscal.comment
comodel_name='l10n_br_fiscal.comment'
compute='_compute_comment_ids'
domain=[('object', '=', FISCAL_COMMENT_LINE)]
precompute=True
readonly=False
store=True
string='Comments'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
csll_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL Base'
csll_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL %'
csll_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL % Reduction'
csll_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL)]
precompute=True
readonly=False
store=True
string='Tax CSLL'
csll_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL Value'
csll_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL RET Base'
csll_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL RET %'
csll_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL RET % Reduction'
csll_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL_WH)]
precompute=True
readonly=False
store=True
string='Tax CSLL RET'
csll_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL RET Value'
cst_code_prefix_like
Char
compute='_compute_cst_code_prefix_like'
help='Helper field to filter taxes by CST code prefix (3 chars) using LIKE.'
currency_id
Many2one → res.currency
comodel_name='res.currency'
compute='_compute_currency_id'
string='Currency'
discount_value
Monetary
estimate_tax
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
financial_discount_value
Monetary
compute='_compute_fiscal_amounts'
financial_total
Monetary
compute='_compute_fiscal_amounts'
string='Amount Financial'
financial_total_gross
Monetary
compute='_compute_fiscal_amounts'
help='Total amount before any discounts are applied.'
string='Financial Gross Amount'
fiscal_amount_tax
Monetary
compute='_compute_fiscal_amounts'
fiscal_amount_total
Monetary
compute='_compute_fiscal_amounts'
fiscal_amount_untaxed
Monetary
compute='_compute_fiscal_amounts'
fiscal_genre_code
Char
related='fiscal_genre_id.code'
string='Fiscal Product Genre Code'
fiscal_genre_id
Many2one → l10n_br_fiscal.product.genre
comodel_name='l10n_br_fiscal.product.genre'
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
store=True
string='Fiscal Product Genre'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain=<expr>
string='Operation'
fiscal_operation_line_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
compute='_compute_fiscal_operation_line_id'
domain="[('fiscal_operation_id', '=', fiscal_operation_id), ('state', '=', 'approved')]"
precompute=True
readonly=False
store=True
string='Operation Line'
fiscal_operation_type
Selection
related='fiscal_operation_id.fiscal_operation_type'
string='Operation Type'
fiscal_price
Float
compute='_compute_fiscal_price'
digits='Product Price'
precompute=True
readonly=False
store=True
fiscal_quantity
Float
compute='_compute_fiscal_quantity'
digits='Product Unit of Measure'
precompute=True
readonly=False
store=True
fiscal_tax_ids
Many2many → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_fiscal_tax_ids'
precompute=True
readonly=False
store=True
string='Fiscal Taxes'
fiscal_type
Selection
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
selection=PRODUCT_FISCAL_TYPE
store=True
freight_value
Monetary
ibs_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IBS Base'
ibs_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='IBS Base Type'
ibs_cst_code
Char
related='ibs_cst_id.code'
store=True
string='IBS CST Code'
ibs_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'ibs')]"
precompute=True
readonly=False
store=True
string='CST IBS'
ibs_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IBS %'
ibs_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IBS % Reduction'
ibs_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=<expr>
precompute=True
readonly=False
store=True
string='Tax IBS'
ibs_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IBS Value'
icms_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Base'
icms_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=ICMS_BASE_TYPE
store=True
string='ICMS Base Type'
icms_cst_code
Char
related='icms_cst_id.code'
store=True
string='ICMS CST Code'
icms_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="[('tax_domain', '=', {'1': 'icmssn', '2': 'icmssn', '3': 'icms'}.get(tax_framework))]"
precompute=True
readonly=False
store=True
string='CST ICMS'
icms_destination_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Destination Base'
icms_destination_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS External %'
icms_destination_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Dest. Value'
icms_effective_base
Monetary
string='ICMS Effective Base'
icms_effective_percent
Float
string='ICMS Effective %'
icms_effective_reduction
Float
string='ICMS Effective % Reduction'
icms_effective_value
Monetary
string='ICMS Effective'
icms_origin
Selection
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
selection=ICMS_ORIGIN
store=True
string='ICMS Origin'
icms_origin_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Internal %'
icms_origin_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Origin Value'
icms_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS %'
icms_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS % Reduction'
icms_relief_id
Many2one → l10n_br_fiscal.icms.relief
comodel_name='l10n_br_fiscal.icms.relief'
string='ICMS Relief'
icms_relief_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Relief Value'
icms_sharing_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Sharing %'
icms_substitute
Monetary
help='Valor do ICMS Próprio do Substituto cobrado em operação anterior'
string='ICMS Substitute'
icms_tax_benefit_code
Char
related='icms_tax_benefit_id.code'
store=True
string='Tax Benefit Code'
icms_tax_benefit_id
Many2one → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
compute='_compute_fiscal_tax_ids'
domain=[('is_benefit', '=', True), ('tax_domain', '=', TAX_DOMAIN_ICMS)]
precompute=True
readonly=False
store=True
string='Tax Benefit'
icms_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS)]
precompute=True
readonly=False
store=True
string='Tax ICMS'
icms_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Value'
icmsfcp_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP Base'
icmsfcp_base_wh
Monetary
string='FCP WH Base'
icmsfcp_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP %'
icmsfcp_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
precompute=True
readonly=False
store=True
string='Tax ICMS FCP'
icmsfcp_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP Value'
icmsfcp_value_wh
Monetary
string='FCP WH'
icmsfcp_wh_percent
Float
string='FCP WH %'
icmsfcpst_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP ST Base'
icmsfcpst_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP ST %'
icmsfcpst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST)]
precompute=True
readonly=False
store=True
string='Tax ICMS FCP ST'
icmsfcpst_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP ST Value'
icmssn_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS SN Base'
icmssn_credit_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS SN Credit'
icmssn_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS SN %'
icmssn_range_id
Many2one → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
default=_default_icmssn_range_id
string='Simplified Range Tax'
icmssn_reduction
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS SN Reduction'
icmssn_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_SN)]
precompute=True
readonly=False
store=True
string='Tax ICMS SN'
icmsst_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST Base'
icmsst_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=ICMS_ST_BASE_TYPE
store=True
string='ICMS ST Base Type'
icmsst_mva_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST MVA %'
icmsst_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST %'
icmsst_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST % Reduction'
icmsst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
precompute=True
readonly=False
store=True
string='Tax ICMS ST'
icmsst_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST Value'
icmsst_wh_base
Monetary
string='ICMS ST WH Base'
icmsst_wh_percent
Float
string='ICMS ST WH %'
icmsst_wh_value
Monetary
string='ICMS ST WH Value'
ii_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='II Base'
ii_customhouse_charges
Monetary
string='Despesas Aduaneiras'
ii_iof_value
Monetary
string='IOF Value'
ii_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='II %'
ii_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_II)]
precompute=True
readonly=False
store=True
string='Tax II'
ii_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='II Value'
ind_final
Selection
compute='_compute_ind_final'
precompute=True
readonly=False
selection=FINAL_CUSTOMER
store=True
string='Consumidor final'
inss_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS Base'
inss_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS %'
inss_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS % Reduction'
inss_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS)]
precompute=True
readonly=False
store=True
string='Tax INSS'
inss_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS Value'
inss_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS RET Base'
inss_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS RET %'
inss_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS RET % Reduction'
inss_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS_WH)]
precompute=True
readonly=False
store=True
string='Tax INSS RET'
inss_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS RET Value'
insurance_value
Monetary
ipi_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IPI Base'
ipi_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='IPI Base Type'
ipi_cst_code
Char
related='ipi_cst_id.code'
store=True
string='IPI CST Code'
ipi_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'ipi')]"
precompute=True
readonly=False
store=True
string='CST IPI'
ipi_devol_value
Monetary
string='Valor do IPI devolvido'
ipi_guideline_id
Many2one → l10n_br_fiscal.tax.ipi.guideline
comodel_name='l10n_br_fiscal.tax.ipi.guideline'
compute='_compute_fiscal_tax_ids'
domain="['|', ('cst_in_id', '=', ipi_cst_id),('cst_out_id', '=', ipi_cst_id)]"
precompute=True
readonly=False
store=True
string='IPI Guideline'
ipi_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IPI %'
ipi_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IPI % Reduction'
ipi_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
precompute=True
readonly=False
store=True
string='Tax IPI'
ipi_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IPI Value'
irpj_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ Base'
irpj_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ %'
irpj_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ % Reduction'
irpj_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ)]
precompute=True
readonly=False
store=True
string='Tax IRPJ'
irpj_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ Value'
irpj_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ RET Base'
irpj_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ RET %'
irpj_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ RET % Reduction'
irpj_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ_WH)]
precompute=True
readonly=False
store=True
string='Tax IRPJ RET'
irpj_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ RET Value'
issqn_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN Base'
issqn_deduction_amount
Monetary
string='ISSQN Deduction Value'
issqn_desc_cond_amount
Monetary
string='ISSQN Discount Cond'
issqn_desc_incond_amount
Monetary
string='ISSQN Discount Incond'
issqn_eligibility
Selection
default=ISSQN_ELIGIBILITY_DEFAULT
selection=ISSQN_ELIGIBILITY
string='ISSQN Eligibility'
issqn_fg_city_id
Many2one → res.city
comodel_name='res.city'
compute='_compute_issqn_fg_city_id'
precompute=True
readonly=False
store=True
string='ISSQN City'
issqn_incentive
Selection
default=ISSQN_INCENTIVE_DEFAULT
selection=ISSQN_INCENTIVE
string='ISSQN Incentive'
issqn_other_amount
Monetary
string='ISSQN Other Value'
issqn_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN %'
issqn_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN % Reduction'
issqn_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN)]
precompute=True
readonly=False
store=True
string='Tax ISSQN'
issqn_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN Value'
issqn_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN RET Base'
issqn_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN RET %'
issqn_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN RET % Reduction'
issqn_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN_WH)]
precompute=True
readonly=False
store=True
string='Tax ISSQN RET'
issqn_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN RET Value'
manual_additional_data
Text
help='Additional data manually entered by user'
national_taxation_code_id
Many2one → l10n_br_fiscal.national.taxation.code
comodel_name='l10n_br_fiscal.national.taxation.code'
compute='_compute_national_taxation_code_id'
help='National Taxation Code for the ISS tax (National NFS-e)'
precompute=True
readonly=False
store=True
string='ISS National Taxation Code'
nbm_id
Many2one → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
compute='_compute_product_fiscal_fields'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
precompute=True
readonly=False
store=True
string='NBM'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
compute='_compute_product_fiscal_fields'
index=True
precompute=True
readonly=False
store=True
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
compute='_compute_product_fiscal_fields'
index=True
precompute=True
readonly=False
store=True
string='NCM'
operation_fiscal_type
Selection
related='fiscal_operation_id.fiscal_type'
string='Operation Fiscal Type'
operation_indicator_id
Many2one → l10n_br_fiscal.operation.indicator
comodel_name='l10n_br_fiscal.operation.indicator'
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
store=True
string='Operation Indicator'
other_value
Monetary
p_devol
Float
string='Percentual de mercadoria devolvida'
partner_company_type
Selection
related='partner_id.company_type'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
partner_is_public_entity
Boolean
related='partner_id.is_public_entity'
partner_order
Char
size=15
string='Partner Order (xPed)'
partner_order_line
Char
size=6
string='Partner Order Line (nItemPed)'
pis_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS Base'
pis_base_id
Many2one → l10n_br_fiscal.tax.pis.cofins.base
comodel_name='l10n_br_fiscal.tax.pis.cofins.base'
string='PIS Base Code'
pis_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='PIS Base Type'
pis_credit_id
Many2one → l10n_br_fiscal.tax.pis.cofins.credit
comodel_name='l10n_br_fiscal.tax.pis.cofins.credit'
string='PIS Credit'
pis_cst_code
Char
related='pis_cst_id.code'
store=True
string='PIS CST Code'
pis_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'pis')]"
precompute=True
readonly=False
store=True
string='CST PIS'
pis_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS %'
pis_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS % Reduction'
pis_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS)]
precompute=True
readonly=False
store=True
string='Tax PIS'
pis_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS Value'
pis_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS RET Base'
pis_wh_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='PIS WH Base Type'
pis_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS RET %'
pis_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS RET % Reduction'
pis_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_WH)]
precompute=True
readonly=False
store=True
string='Tax PIS RET'
pis_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS RET Value'
pisst_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS ST Base'
pisst_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='PIS ST Base Type'
pisst_cst_code
Char
related='pisst_cst_id.code'
store=True
string='PIS ST CST Code'
pisst_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'pisst')]"
precompute=True
readonly=False
store=True
string='CST PIS ST'
pisst_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS ST %'
pisst_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS ST % Reduction'
pisst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_ST)]
precompute=True
readonly=False
store=True
string='Tax PIS ST'
pisst_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS ST Value'
price_gross
Monetary
compute='_compute_fiscal_amounts'
help='Total value of products or services (quantity x unit price)before any discounts.'
string='Gross Product/Service Amount'
price_unit
Float
digits='Product Price'
store=True
product_id
Many2one → product.product
comodel_name='product.product'
index=True
string='Product'
quantity
Float
digits='Product Unit of Measure'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
compute='_compute_product_fiscal_fields'
domain="[('internal_type', '=', 'normal')]"
precompute=True
readonly=False
store=True
string='Service Type LC 166'
simple_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='National Simple Taxes'
simple_without_icms_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='National Simple Taxes without ICMS'
tax_classification_id
Many2one → l10n_br_fiscal.tax.classification
comodel_name='l10n_br_fiscal.tax.classification'
compute='_compute_fiscal_tax_ids'
precompute=True
readonly=False
store=True
string='Tax Classification'
tax_icms_or_issqn
Selection
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
selection=TAX_ICMS_OR_ISSQN
store=True
string='ICMS or ISSQN Tax'
uom_id
Many2one → uom.uom
comodel_name='uom.uom'
string='UOM'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
compute='_compute_uot_id'
precompute=True
readonly=False
store=True
string='Tax UoM'
inject_fiscal_fields(self, doc, view_ref='l10n_br_fiscal.document_fiscal_line_mixin_form', xpath_mappings=None)
write(self, vals)
amount_cbs_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='CBS Base'
amount_cbs_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='CBS Value'
amount_cofins_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS Base'
amount_cofins_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS Value'
amount_cofins_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS Ret Base'
amount_cofins_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS Ret Value'
amount_cofinsst_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS ST Base'
amount_cofinsst_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS ST Value'
amount_csll_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='CSLL Base'
amount_csll_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='CSLL Value'
amount_csll_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='CSLL Ret Base'
amount_csll_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='CSLL Ret Value'
amount_discount_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='Amount Discount'
amount_estimate_tax
Monetary
compute='_compute_fiscal_amount'
store=True
amount_financial_discount_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='Financial Discount Value'
amount_financial_total
Monetary
compute='_compute_fiscal_amount'
store=True
string='Amount Financial'
amount_financial_total_gross
Monetary
compute='_compute_fiscal_amount'
store=True
string='Amount Financial Gross'
amount_freight_value
Monetary
compute='_compute_fiscal_amount'
inverse='_inverse_amount_freight'
store=True
string='Freight Value'
amount_ibs_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='IBS Base'
amount_ibs_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='IBS Value'
amount_icms_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS Base'
amount_icms_destination_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS Destination Value'
amount_icms_origin_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS Origin Value'
amount_icms_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS Value'
amount_icmsfcp_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS FCP Base'
amount_icmsfcp_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS FCP Value'
amount_icmsfcpst_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS FCP ST Value'
amount_icmssn_credit_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMSSN Credit Value'
amount_icmsst_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS ST Base'
amount_icmsst_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS ST Value'
amount_ii_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='II Base'
amount_ii_customhouse_charges
Monetary
compute='_compute_fiscal_amount'
store=True
string='Customhouse Charges'
amount_ii_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='II Value'
amount_inss_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='INSS Base'
amount_inss_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='INSS Value'
amount_inss_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='INSS Ret Base'
amount_inss_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='INSS Ret Value'
amount_insurance_value
Monetary
compute='_compute_fiscal_amount'
inverse='_inverse_amount_insurance'
store=True
string='Insurance Value'
amount_ipi_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='IPI Base'
amount_ipi_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='IPI Value'
amount_irpj_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='IRPJ Base'
amount_irpj_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='IRPJ Value'
amount_irpj_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='IRPJ Ret Base'
amount_irpj_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='IRPJ Ret Value'
amount_issqn_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ISSQN Base'
amount_issqn_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ISSQN Value'
amount_issqn_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ISSQN Ret Base'
amount_issqn_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ISSQN Ret Value'
amount_other_value
Monetary
compute='_compute_fiscal_amount'
inverse='_inverse_amount_other'
store=True
string='Other Costs'
amount_pis_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS Base'
amount_pis_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS Value'
amount_pis_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS Ret Base'
amount_pis_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS Ret Value'
amount_pisst_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS ST Base'
amount_pisst_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS ST Value'
amount_price_gross
Monetary
compute='_compute_fiscal_amount'
help='Amount without discount.'
store=True
string='Amount Gross'
amount_tax_withholding
Monetary
compute='_compute_fiscal_amount'
store=True
string='Tax Withholding'
comment_ids
Many2many → l10n_br_fiscal.comment
comodel_name='l10n_br_fiscal.comment'
compute='_compute_comment_ids'
domain=[('object', '=', FISCAL_COMMENT_DOCUMENT)]
store=True
string='Comments'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
currency_id
Many2one → res.currency
comodel_name='res.currency'
string='Currency'
delivery_costs
Selection
related='company_id.delivery_costs'
document_key
Char
copy=False
index=True
string='Key'
document_number
Char
copy=False
index=True
string='Fiscal Document Number'
document_serie
Char
compute='_compute_document_serie'
store=True
string='Serie Number'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
compute='_compute_document_serie_id'
domain="[('active', '=', True),('document_type_id', '=', document_type_id)]"
store=True
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
compute='_compute_document_type_id'
precompute=True
readonly=False
store=True
string='Fiscal Document Type'
fiscal_amount_tax
Monetary
compute='_compute_fiscal_amount'
store=True
fiscal_amount_total
Monetary
compute='_compute_fiscal_amount'
store=True
fiscal_amount_untaxed
Monetary
compute='_compute_fiscal_amount'
store=True
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain=<expr>
string='Operation'
fiscal_operation_type
Selection
related='fiscal_operation_id.fiscal_operation_type'
force_compute_delivery_costs_by_total
Boolean
default=False
ind_final
Selection
compute='_compute_ind_final'
inverse='_inverse_ind_final'
precompute=True
readonly=False
selection=FINAL_CUSTOMER
store=True
string='Final Consumption Operation'
ind_pres
Selection
default=NFE_IND_PRES_DEFAULT
selection=NFE_IND_PRES
string='Buyer Presence'
issuer
Selection
default=DOCUMENT_ISSUER_COMPANY
selection=DOCUMENT_ISSUER
key_check_digit
Char
string='Document Key Check Digit'
key_random_code
Char
string='Document Key Random Code'
manual_customer_additional_data
Text
help='Customer Additional data manually entered by user'
manual_fiscal_additional_data
Text
help='Fiscal Additional data manually entered by user'
operation_name
Char
compute='_compute_operation_name'
copy=False
partner_id
Many2one → res.partner
comodel_name='res.partner'
index=True
total_weight
Float
write(self, vals)
cnpj_cpf
Char
size=18
string='CNPJ/CPF'
cpfcnpj_type
Selection
default='cnpj'
selection=[('cpf', 'CPF'), ('cnpj', 'CNPJ')]
string='Type Doc Number'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
document_date
Date
string='Data'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document'
document_key
Char
size=44
document_number
Char
size=32
string='Number'
document_related_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document Related'
document_serie
Char
size=12
string='Serie'
document_total_amount
Monetary
currency_field='currency_id'
string='Valor Total'
document_total_weight
Float
string='Peso Total'
document_type_code
Char
related='document_type_id.code'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Fiscal Document Type'
l10n_br_ie_code
Char
size=16
string='Inscr. Estadual/RG'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='State'
No public methods.
active
Boolean
default=True
code
Char
size=3
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
required=True
string='Fiscal Document'
fiscal_type
Selection
default=FISCAL_IN_OUT_DEFAULT
selection=FISCAL_IN_OUT
string='Type'
internal_sequence_id
Many2one → ir.sequence
comodel_name='ir.sequence'
domain="[('company_id', '=', company_id)]"
string='Sequence'
invalidate_number_id
One2many → l10n_br_fiscal.invalidate.number
comodel_name='l10n_br_fiscal.invalidate.number'
inverse_name='document_serie_id'
string='Invalidate Number Range'
name
Char
required=True
sequence_number_next
Integer
related='internal_sequence_id.number_next'
check_number_in_use(self, document_number)
create(self, vals_list)
next_seq_number(self)
write(self, vals)
No new fields.
Public methods (2)doit(self)
get_document_status(self)
qrcode
Char
string='QR Code'
url_key
Char
string='QR Code URL Key'
No public methods.
code
Char
size=8
document_serie_ids
One2many → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
inverse_name='document_type_id'
string='Document Series'
electronic
Boolean
string='Is Electronic?'
name
Char
size=128
prefix
Char
sufix
Char
type
Selection
required=True
selection=DOCUMENT_TYPE
string='Document Type'
get_document_serie(self, company, fiscal_operation)
icms_external_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '!=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AC'
icms_external_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '!=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AL'
icms_external_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '!=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AM'
icms_external_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '!=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AP'
icms_external_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '!=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External BA'
icms_external_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '!=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External CE'
icms_external_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '!=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External DF'
icms_external_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '!=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External ES'
icms_external_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '!=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External GO'
icms_external_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '!=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MA'
icms_external_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '!=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MG'
icms_external_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '!=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MS'
icms_external_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '!=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MT'
icms_external_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '!=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PA'
icms_external_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '!=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PB'
icms_external_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '!=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PE'
icms_external_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '!=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PI'
icms_external_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '!=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PR'
icms_external_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '!=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RJ'
icms_external_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '!=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RN'
icms_external_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '!=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RO'
icms_external_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '!=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RR'
icms_external_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '!=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RS'
icms_external_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '!=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SC'
icms_external_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '!=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SE'
icms_external_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '!=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SP'
icms_external_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '!=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External TO'
icms_fcp_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AC'
icms_fcp_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AL'
icms_fcp_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AM'
icms_fcp_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AP'
icms_fcp_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP BA'
icms_fcp_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP CE'
icms_fcp_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP DF'
icms_fcp_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ES'
icms_fcp_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP GO'
icms_fcp_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MA'
icms_fcp_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MG'
icms_fcp_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MS'
icms_fcp_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MT'
icms_fcp_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PA'
icms_fcp_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PB'
icms_fcp_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PE'
icms_fcp_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PI'
icms_fcp_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PR'
icms_fcp_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RJ'
icms_fcp_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RN'
icms_fcp_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RO'
icms_fcp_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RR'
icms_fcp_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RS'
icms_fcp_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SC'
icms_fcp_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SE'
icms_fcp_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SP'
icms_fcp_st_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AC'
icms_fcp_st_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AL'
icms_fcp_st_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AM'
icms_fcp_st_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AP'
icms_fcp_st_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST BA'
icms_fcp_st_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST CE'
icms_fcp_st_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST DF'
icms_fcp_st_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST ES'
icms_fcp_st_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST GO'
icms_fcp_st_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MA'
icms_fcp_st_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MG'
icms_fcp_st_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MS'
icms_fcp_st_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MT'
icms_fcp_st_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PA'
icms_fcp_st_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PB'
icms_fcp_st_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PE'
icms_fcp_st_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PI'
icms_fcp_st_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PR'
icms_fcp_st_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RJ'
icms_fcp_st_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RN'
icms_fcp_st_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RO'
icms_fcp_st_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RR'
icms_fcp_st_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RS'
icms_fcp_st_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SC'
icms_fcp_st_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SE'
icms_fcp_st_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SP'
icms_fcp_st_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST TO'
icms_fcp_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP TO'
icms_imported_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
string='ICMS Tax Imported'
icms_internal_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AC'
icms_internal_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AL'
icms_internal_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AM'
icms_internal_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AP'
icms_internal_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal BA'
icms_internal_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal CE'
icms_internal_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal DF'
icms_internal_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal ES'
icms_internal_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal GO'
icms_internal_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MA'
icms_internal_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MG'
icms_internal_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MS'
icms_internal_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MT'
icms_internal_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PA'
icms_internal_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PB'
icms_internal_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PE'
icms_internal_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PI'
icms_internal_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PR'
icms_internal_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RJ'
icms_internal_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RN'
icms_internal_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='ICMS Internal RO'
icms_internal_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RR'
icms_internal_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RS'
icms_internal_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SC'
icms_internal_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SE'
icms_internal_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SP'
icms_internal_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal TO'
icms_st_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AC'
icms_st_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AL'
icms_st_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AM'
icms_st_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AP'
icms_st_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST BA'
icms_st_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST CE'
icms_st_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST DF'
icms_st_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST ES'
icms_st_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST GO'
icms_st_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MA'
icms_st_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MG'
icms_st_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MS'
icms_st_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MT'
icms_st_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PA'
icms_st_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PB'
icms_st_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PE'
icms_st_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PI'
icms_st_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PR'
icms_st_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RJ'
icms_st_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RN'
icms_st_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RO'
icms_st_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RR'
icms_st_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RS'
icms_st_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SC'
icms_st_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SE'
icms_st_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SP'
icms_st_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST TO'
name
Char
index=True
required=True
tax_benefit_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AC', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AC'
tax_benefit_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AL', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AL'
tax_benefit_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AM', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AM'
tax_benefit_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AP', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AP'
tax_benefit_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('BA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit BA'
tax_benefit_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('CE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit CE'
tax_benefit_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('DF', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit DF'
tax_benefit_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('ES', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit ES'
tax_benefit_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('GO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit GO'
tax_benefit_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MA'
tax_benefit_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MG', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MG'
tax_benefit_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MS', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MS'
tax_benefit_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MT', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MT'
tax_benefit_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PA'
tax_benefit_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PB', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PB'
tax_benefit_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PE'
tax_benefit_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PI', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PI'
tax_benefit_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PR', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PR'
tax_benefit_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RJ', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='Tax Benefit RJ'
tax_benefit_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RN', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RN'
tax_benefit_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RO'
tax_benefit_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RR', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RR'
tax_benefit_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RS', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RS'
tax_benefit_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SC', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SC'
tax_benefit_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SE'
tax_benefit_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SP', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SP'
tax_benefit_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('TO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit TO'
map_tax(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None, ind_final=None)
map_tax_def_icms_difal(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None, ind_final=None)
No new fields.
Public methods (0)No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
readonly=True
required=True
date
Date
default=fields.Date.today
readonly=True
document_electronic
Boolean
readonly=True
related='document_type_id.electronic'
string='Electronic?'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
domain="[('active', '=', True),\n ('document_type_id', '=', document_type_id),\n ('company_id', '=', company_id)]"
readonly=True
required=True
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
readonly=True
required=True
justification
Char
readonly=True
required=True
name
Char
compute='_compute_name'
index=True
store=True
number_end
Integer
readonly=True
required=True
string='End Number'
number_start
Integer
readonly=True
required=True
string='Initial Number'
state
Selection
default='draft'
readonly=True
selection=[('draft', 'Draft'), ('done', 'Done')]
string='Status'
action_invalidate(self)
unlink(self)
code
Char
size=5
No public methods.
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_national_taxation_code_rel'
string='Tax Definition'
No public methods.
code
Char
size=12
code_unmasked
Char
size=10
ncm_ids
Many2many → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
readonly=True
string='NCMs'
ncms
Char
string='NCM'
product_tmpl_ids
One2many
inverse_name='nbm_id'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
string='Tax Definition'
action_search_ncms(self)
create(self, vals_list)
write(self, values)
code
Char
size=12
code_unmasked
Char
size=10
product_tmpl_ids
One2many
inverse_name='nbs_id'
tax_estimate_ids
One2many
inverse_name='nbs_id'
No public methods.
cest_ids
Many2many → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
readonly=True
string='CESTs'
code
Char
size=10
code_unmasked
Char
size=8
exception
Char
size=2
nbm_ids
Many2many → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
readonly=True
string='NBMs'
piscofins_ids
Many2many → l10n_br_fiscal.tax.pis.cofins
comodel_name='l10n_br_fiscal.tax.pis.cofins'
readonly=True
string='PIS/COFINS'
product_tmpl_ids
One2many
inverse_name='ncm_id'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
string='Tax Definition'
tax_estimate_ids
One2many
inverse_name='ncm_id'
tax_ii_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_II)]
string='Tax II'
tax_ipi_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Tax IPI'
uoe_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Export UoM'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
code
Char
readonly=True
required=True
tracking=True
comment_ids
Many2many → l10n_br_fiscal.comment
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_DOCUMENT)]
string='Comment'
company_id
Many2one → res.company
comodel_name='res.company'
readonly=True
string='Company'
tracking=True
default_price_unit
Selection
default='sale_price'
readonly=True
selection=[('sale_price', 'Sale Price'), ('cost_price', 'Cost Price')]
string='Default Price Unit?'
tracking=True
document_type_ids
One2many → l10n_br_fiscal.operation.document.type
comodel_name='l10n_br_fiscal.operation.document.type'
inverse_name='fiscal_operation_id'
readonly=True
string='Operation Document Types'
edoc_purpose
Selection
default=EDOC_PURPOSE_NORMAL
readonly=True
selection=EDOC_PURPOSE
string='Finalidade'
tracking=True
fiscal_operation_type
Selection
readonly=True
required=True
selection=FISCAL_IN_OUT_ALL
string='Type'
tracking=True
fiscal_type
Selection
default=OPERATION_FISCAL_TYPE_DEFAULT
readonly=True
required=True
selection=OPERATION_FISCAL_TYPE
tracking=True
inverse_fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
readonly=True
string='Inverse Operation'
tracking=True
line_ids
One2many → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=True
inverse_name='fiscal_operation_id'
readonly=True
string='Operation Line'
name
Char
readonly=True
required=True
tracking=True
return_fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain="[('fiscal_operation_type', '!=', fiscal_operation_type), ('fiscal_type', 'in', {'sale': ['sale_refund'], 'purchase': ['purchase_refund'], 'other': ['return_in', 'return_out'],'return_in': ['return_out'], 'return_out': ['return_in']}.get(fiscal_type, []))]"
readonly=True
string='Return Operation'
tracking=True
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
action_approve(self)
action_draft(self)
action_review(self)
copy(self, default=None)
get_document_serie(self, company, document_type)
line_definition(self, company, partner, product)
unlink(self)
color
Integer
default=0
string='Color Index'
kanban_dashboard
Text
compute='_compute_kanban_dashboard'
action_create_new(self)
get_operation_dashboard_data(self)
open_action(self)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
document_electronic
Boolean
related='document_type_id.electronic'
string='Electronic?'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
company_dependent=True
domain="[('active', '=', True),('document_type_id', '=', document_type_id)]"
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
required=True
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Operation'
name
Char
compute='_compute_name'
No public methods.
code
Char
help='Operation indicator code according to Annex VII of NT 004/2025 (e.g., 020101, 030101)'
index=True
required=True
size=6
string='Operation Indicator Code'
operation_location
Text
help='Where the operation is considered to take place according to the legislation'
string='Operation Location Consideration'
operation_type
Text
help='Type of operation according to Art. 11 of Complementary Law No. 214/2025'
required=True
supply_characteristic
Text
help='Specific characteristic of the supply execution that determines the place of supply'
supply_location
Text
help='Place of supply to be identified in the Digital Fiscal Document (DFe), such as supplier establishment, acquirer address, recipient address, or other locations depending on the operation'
required=True
string='DFe Supply Location'
No public methods.
add_to_amount
Boolean
default=True
string='Add to Document Amount?'
cfop_export_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('type_move', '=ilike', fiscal_type + '%'), ('destination', '=', '3')]"
string='CFOP Export'
cfop_external_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('type_move', '=ilike', fiscal_type + '%'), ('destination', '=', '2')]"
string='CFOP External'
cfop_internal_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('destination', '=', '1'),('type_move', '=ilike', fiscal_type + '%')]"
string='CFOP Internal'
comment_ids
Many2many → l10n_br_fiscal.comment
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_LINE)]
string='Comment'
company_tax_framework
Selection
selection=TAX_FRAMEWORK
date_end
Datetime
string='End Date'
date_start
Datetime
string='Start Date'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Operation'
fiscal_operation_type
Selection
related='fiscal_operation_id.fiscal_operation_type'
store=True
string='Fiscal Operation Type'
fiscal_type
Selection
related='fiscal_operation_id.fiscal_type'
store=True
string='Fiscal Type'
icms_origin
Selection
selection=ICMS_ORIGIN
string='Origin'
ind_ie_dest
Selection
selection=NFE_IND_IE_DEST
string='ICMS Taxpayer'
line_inverse_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=False
domain="[('fiscal_operation_type', '!=', fiscal_operation_type)]"
string='Operation Line Inverse'
line_refund_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=False
domain="[('fiscal_operation_type', '!=', fiscal_operation_type)]"
string='Operation Line Refund'
name
Char
required=True
partner_tax_framework
Selection
selection=TAX_FRAMEWORK
product_type
Selection
selection=PRODUCT_FISCAL_TYPE
string='Product Fiscal Type'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
tax_classification_id
Many2one → l10n_br_fiscal.tax.classification
comodel_name='l10n_br_fiscal.tax.classification'
string='Tax Classification'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
copy=True
inverse_name='fiscal_operation_line_id'
string='Tax Definition'
tax_icms_or_issqn
Selection
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
action_review(self)
get_document_type(self, company)
map_fiscal_taxes(self, company, partner, product=None, fiscal_price=None, fiscal_quantity=None, ncm=None, nbm=None, nbs=None, cest=None, city_taxation_code=None, national_taxation_code=None, service_type=None, ind_final=None)
unlink(self)
code
Char
required=True
size=16
default
Boolean
default=True
string='Default Profile'
ind_ie_dest
Selection
default=NFE_IND_IE_DEST_DEFAULT
required=True
selection=NFE_IND_IE_DEST
string='Contribuinte do ICMS'
is_company
Boolean
string='Is Company?'
is_public_entity
Boolean
help='Indicates whether the entity in question is a public organization or government-related entity. It encompasses a range of entities such as municipal governments, state-owned enterprises (where the government is the largest shareholder), and other government-controlled organizations.'
string='Public Entity'
name
Char
size=64
partner_ids
One2many → res.partner
comodel_name='res.partner'
compute='_compute_partner_info'
string='Partner'
partner_qty
Integer
compute='_compute_partner_info'
string='Partner Quantity'
public_entity_type
Selection
selection=PUBLIC_ENTIRY_TYPE
string='Tipo de Entidade Governamental'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='fiscal_profile_id'
string='Tax Definition'
tax_framework
Selection
default=TAX_FRAMEWORK_NORMAL
selection=TAX_FRAMEWORK
action_view_partners(self)
product_tmpl_ids
One2many
inverse_name='fiscal_genre_id'
No public methods.
No new fields.
Public methods (0)No public methods.
child_ids
One2many → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
inverse_name='parent_id'
string='Service Type Child'
internal_type
Selection
default='normal'
required=True
selection=[('view', 'View'), ('normal', 'Normal')]
parent_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
string='Parent Service Type'
product_tmpl_ids
One2many
inverse_name='service_type_id'
withholding_at_place
Boolean
help='The tax is due at the location of the provider establishment, except in the cases that this field is true, where it will be due at the place of provision.'
string='Tax Retention at place of provision'
withholding_possible
Boolean
string='Subject to withholding tax'
No public methods.
cnae_ids
Many2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal')]"
string='CNAEs'
coefficient_r
Boolean
readonly=True
name
Char
required=True
simplified_tax_range_ids
One2many → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
copy=False
inverse_name='simplified_tax_id'
string='Simplified Tax Range'
No public methods.
amount_deduced
Monetary
currency_field='currency_id'
required=True
string='Amount to be Deducted'
currency_id
Many2one → res.currency
comodel_name='res.currency'
required=True
string='Currency'
final_revenue
Monetary
currency_field='currency_id'
inital_revenue
Monetary
currency_field='currency_id'
name
Char
required=True
simplified_tax_id
Many2one → l10n_br_fiscal.simplified.tax
comodel_name='l10n_br_fiscal.simplified.tax'
string='Simplified Tax'
tax_cbs_percent
Float
digits='Fiscal Tax Percent'
string='Tax CBS Percent'
tax_cofins_percent
Float
digits='Fiscal Tax Percent'
string='Tax COFINS Percent'
tax_cpp_percent
Float
digits='Fiscal Tax Percent'
string='Tax CPP Percent'
tax_csll_percent
Float
digits='Fiscal Tax Percent'
string='Tax CSLL Percent'
tax_ibs_percent
Float
digits='Fiscal Tax Percent'
string='Tax IBS Percent'
tax_icms_percent
Float
digits='Fiscal Tax Percent'
string='Tax ICMS Percent'
tax_ipi_percent
Float
digits='Fiscal Tax Percent'
string='Tax IPI Percent'
tax_irpj_percent
Float
digits='Fiscal Tax Percent'
string='Tax IRPJ Percent'
tax_iss_percent
Float
digits='Fiscal Tax Percent'
string='Tax ISS Percent'
tax_pis_percent
Float
digits='Fiscal Tax Percent'
string='Tax PIS Percent'
total_tax_percent
Float
digits='Fiscal Tax Percent'
string='Tax Percent'
No public methods.
compute_sequence
Integer
help='The sequence field is used to define order in which the tax lines are applied.'
related='tax_group_id.compute_sequence'
cst_in_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', ('in', 'all')), ('tax_domain', '=', tax_domain)]"
string='CST In'
cst_out_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', ('out', 'all')), ('tax_domain', '=', tax_domain)]"
string='CST Out'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
string='Currency'
icms_base_type
Selection
default=ICMS_BASE_TYPE_DEFAULT
required=True
selection=ICMS_BASE_TYPE
icmsst_base_type
Selection
default=ICMS_ST_BASE_TYPE_DEFAULT
required=True
selection=ICMS_ST_BASE_TYPE
string='ICMS ST Base Type'
icmsst_mva_percent
Float
digits='Fiscal Tax Percent'
required=True
string='MVA Percent'
icmsst_value
Float
digits='Fiscal Tax Value'
required=True
string='PFC Value'
name
Char
required=True
size=256
percent_amount
Float
digits='Fiscal Tax Percent'
required=True
string='Percent'
percent_debit_credit
Float
digits='Fiscal Tax Percent'
required=True
string='Percent Debit/Credit'
percent_reduction
Float
digits='Fiscal Tax Percent'
required=True
sequence
Integer
help='The sequence field is used to define the order in which taxes are displayed.'
related='tax_group_id.sequence'
store=True
tax_base_type
Selection
compute='_compute_tax_base_type'
default=TAX_BASE_TYPE_PERCENT
required=True
selection=TAX_BASE_TYPE
store=True
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
required=True
string='Fiscal Tax Group'
tax_scope
Selection
related='tax_group_id.tax_scope'
store=True
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
value_amount
Float
digits='Fiscal Tax Value'
required=True
string='Value'
compute_taxes(self, **kwargs)
cst_from_tax(self, fiscal_operation_type=FISCAL_OUT)
code
Char
size=8
credit_reversal
Boolean
default=False
cst_code_prefix_like
Char
compute='_compute_cst_code_prefix_like'
help='Helper field to filter taxes by CST code prefix (3 chars) using LIKE.'
description
Text
document_type_ids
Many2many → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
help='Related Digital Fiscal Documents'
relation='tax_classification_document_type_rel'
string='Related DFes'
presumed_credit
Boolean
default=False
rate_type
Selection
default=TAX_RATE_TYPE_DEFAULT
required=True
selection=TAX_RATE_TYPE
regular_taxation
Boolean
default=False
tax_cbs_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=<expr>
string='Tax CBS'
tax_ibs_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=<expr>
string='Tax IBS'
No public methods.
benefit_type
Selection
readonly=True
selection=ICMS_TAX_BENEFIT_TYPE
cest_ids
Many2many → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
readonly=True
string='CESTs'
cests
Text
readonly=True
string='CEST List'
cfop_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
string='CFOP'
city_taxation_code_ids
Many2many → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
relation='tax_definition_city_taxation_code_rel'
string='City Taxation Codes'
code
Char
readonly=True
size=8
company_id
Many2one → res.company
comodel_name='res.company'
readonly=True
string='Company'
cst_code
Char
related='cst_id.code'
string='CST Code'
cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', (type_in_out, 'all')), ('tax_group_id', '=', tax_group_id)]"
readonly=True
string='CST'
custom_tax
Boolean
readonly=True
date_end
Datetime
readonly=True
string='End Date'
date_start
Datetime
readonly=True
string='Start Date'
description
Text
readonly=True
fiscal_operation_line_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
string='Operation Line'
fiscal_profile_id
Many2one → l10n_br_fiscal.partner.profile
comodel_name='l10n_br_fiscal.partner.profile'
string='Partner Profile'
icms_regulation_id
Many2one → l10n_br_fiscal.icms.regulation
comodel_name='l10n_br_fiscal.icms.regulation'
string='ICMS Regulation'
ind_final
Selection
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
ipi_guideline_id
Many2one → l10n_br_fiscal.tax.ipi.guideline
comodel_name='l10n_br_fiscal.tax.ipi.guideline'
domain="['|', ('cst_in_id', '=', cst_id), ('cst_out_id', '=', cst_id)]"
string='IPI Guideline'
is_benefit
Boolean
readonly=True
string='Benefit?'
is_debit_credit
Boolean
readonly=True
string='Debit/Credit?'
is_taxed
Boolean
readonly=True
string='Taxed?'
name
Char
readonly=True
national_taxation_code_ids
Many2many → l10n_br_fiscal.national.taxation.code
comodel_name='l10n_br_fiscal.national.taxation.code'
relation='tax_definition_national_taxation_code_rel'
string='National Taxation Codes'
nbm_ids
Many2many → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
readonly=True
string='NBMs'
nbms
Text
readonly=True
string='NBM List'
ncm_exception
Text
readonly=True
string='NCM Exeption'
ncm_ids
Many2many → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
readonly=True
string='NCMs'
ncms
Text
readonly=True
string='NCM List'
not_in_nbms
Text
readonly=True
string='Not in NBMs'
not_in_ncms
Text
readonly=True
string='Not in NCMs'
product_ids
Many2many → product.product
comodel_name='product.product'
string='Products'
service_type_ids
Many2many → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
string='Fiscal Service Types'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
state_from_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
readonly=True
string='From State'
state_to_ids
Many2many → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
readonly=True
string='To States'
tax_domain
Selection
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
readonly=True
required=True
string='Tax Group'
tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain="[('tax_group_id', '=', tax_group_id)]"
readonly=True
string='Tax'
type_in_out
Selection
default=FISCAL_OUT
readonly=True
required=True
selection=FISCAL_IN_OUT
string='Type'
action_approve(self)
action_draft(self)
action_review(self)
action_search_cests(self)
action_search_nbms(self)
action_search_ncms(self)
create(self, vals_list)
map_tax_definition(self, company, partner, product, ncm=None, nbm=None, nbs=None, cest=None, city_taxation_code=None, national_taxation_code=None, service_type=None)
unlink(self)
write(self, values)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
create_date
Datetime
readonly=True
federal_taxes_import
Float
digits='Fiscal Tax Percent'
string='Impostos Federais Importado'
federal_taxes_national
Float
digits='Fiscal Tax Percent'
string='Impostos Federais Nacional'
key
Char
size=32
municipal_taxes
Float
digits='Fiscal Tax Percent'
string='Impostos Municipais Nacional'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
string='NCM'
origin
Char
size=32
string='Source'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
required=True
string='State'
state_taxes
Float
digits='Fiscal Tax Percent'
string='Impostos Estaduais Nacional'
No public methods.
base_with_additional_values
Boolean
default=True
string='Add the value of freight, insurance and others to the Base'
base_without_icms
Boolean
default=False
string='Remove ICMS value from Base'
compute_sequence
Integer
default=10
help='The sequence field is used to define order in which the tax lines are applied.'
required=True
cst_ids
One2many → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
inverse_name='tax_group_id'
string='CSTs'
name
Char
required=True
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='WH Partner'
sequence
Integer
default=10
help='The sequence field is used to define the order in which taxes are displayed.'
required=True
tax_domain
Selection
required=True
selection=TAX_DOMAIN
tax_ids
One2many → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
inverse_name='tax_group_id'
string='Taxes'
tax_include
Boolean
default=False
string='Tax Included in Price'
tax_scope
Selection
required=True
selection=[('city', 'City'), ('state', 'State'), ('federal', 'Federal'), ('other', 'Other')]
tax_withholding
Boolean
default=False
wh_due_day
Integer
string='Due Day'
No public methods.
No new fields.
Public methods (0)No public methods.
code
Char
size=3
cst_group
Selection
required=True
selection=IPI_GUIDELINE_GROUP
string='Group'
cst_in_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain=[('domain', '=', TAX_DOMAIN_IPI), ('cst_type', '=', FISCAL_IN)]
string='CST In'
cst_out_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain=[('domain', '=', TAX_DOMAIN_IPI), ('cst_type', '=', FISCAL_OUT)]
string='CST Out'
No public methods.
No new fields.
Public methods (0)No public methods.
code
Char
required=True
name
Text
index=True
required=True
ncm_exception
Char
string='NCM Exeption'
ncm_ids
Many2many → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
compute='_compute_ncms'
readonly=True
store=True
string='NCMs'
ncms
Char
string='NCM'
not_in_ncms
Char
string='Not in NCM'
piscofins_type
Selection
default='ncm'
index=True
required=True
selection=[('ncm', 'NCM'), ('product', 'Product'), ('company', 'Company')]
string='Type'
tax_cofins_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS)]
string='Tax COFINS'
tax_cofins_st_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_ST)]
string='Tax COFINS ST'
tax_pis_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS)]
string='Tax PIS'
tax_pis_st_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_ST)]
string='Tax PIS ST'
No public methods.
code
Char
size=2
No public methods.
code
Char
size=3
No public methods.
No new fields.
Public methods (0)No public methods.
cest_id
Many2one → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='CEST'
city_taxation_code_ids
Many2many → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
string='City Taxation Code'
fiscal_genre_code
Char
related='fiscal_genre_id.code'
store=True
string='Fiscal Product Genre Code'
fiscal_genre_id
Many2one → l10n_br_fiscal.product.genre
comodel_name='l10n_br_fiscal.product.genre'
compute='_compute_fiscal_genre_id'
readonly=False
store=True
string='Fiscal Product Genre'
fiscal_type
Selection
company_dependent=True
selection=PRODUCT_FISCAL_TYPE
icms_origin
Selection
company_dependent=True
default=ICMS_ORIGIN_DEFAULT
selection=ICMS_ORIGIN
string='ICMS Origin'
ipi_control_seal_id
Many2one → l10n_br_fiscal.tax.ipi.control.seal
comodel_name='l10n_br_fiscal.tax.ipi.control.seal'
string='IPI Control Seal'
ipi_guideline_class_id
Many2one → l10n_br_fiscal.tax.ipi.guideline.class
comodel_name='l10n_br_fiscal.tax.ipi.guideline.class'
string='IPI Guideline Class'
national_taxation_code_id
Many2one → l10n_br_fiscal.national.taxation.code
comodel_name='l10n_br_fiscal.national.taxation.code'
string='National Taxation Code'
nbm_id
Many2one → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
index=True
string='NBM'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
index=True
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
compute='_compute_ncm_id'
default=_get_default_ncm_id
index=True
readonly=False
store=True
string='NCM'
operation_indicator_id
Many2one → l10n_br_fiscal.operation.indicator
comodel_name='l10n_br_fiscal.operation.indicator'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain="[('internal_type', '=', 'normal')]"
string='Service Type LC 166'
tax_icms_or_issqn
Selection
compute='_compute_tax_icms_or_issqn'
default=TAX_DOMAIN_ICMS
readonly=False
selection=TAX_ICMS_OR_ISSQN
store=True
string='ICMS or ISSQN Tax'
type
Selection
ondelete={'product': 'set consu'}
selection_add=[('product', 'Storable Product')]
uoe_factor
Float
default=1.0
string='Export UoM Factor'
uoe_id
Many2one → uom.uom
comodel_name='uom.uom'
related='ncm_id.uoe_id'
store=True
string='Export UoM'
uot_factor
Float
string='Tax UoM Factor'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
accountant_id
Many2one → res.partner
comodel_name='res.partner'
string='Accountant'
accounting_office
Many2one → res.partner
comodel_name='res.partner'
annual_revenue
Monetary
currency_field='currency_id'
cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
compute='_compute_address'
domain="[('internal_type', '=', 'normal'), ('id', 'not in', cnae_secondary_ids)]"
inverse='_inverse_cnae_main_id'
string='Main CNAE'
cnae_secondary_ids
Many2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal'), ('id', '!=', cnae_main_id)]"
string='Secondary CNAE'
coefficient_r
Boolean
compute='_compute_simplified_tax'
readonly=True
store=True
coefficient_r_percent
Float
compute='_compute_simplified_tax'
readonly=True
store=True
string='Coefficient R (%)'
delivery_costs
Selection
default='line'
help='Define if costs of Insurance, Freight and Other Costs should be informed by Line or by Total.'
selection=[('line', 'By Line'), ('total', 'By Total')]
document_save_disk
Boolean
default=True
string='Save Documents to disk'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Default Document Type'
ibpt_api
Boolean
default=False
string='Use IBPT API'
ibpt_token
Char
ibpt_update_days
Integer
default=15
string='IBPT Token Updates'
icms_regulation_id
Many2one → l10n_br_fiscal.icms.regulation
comodel_name='l10n_br_fiscal.icms.regulation'
string='ICMS Regulation'
industry_type
Selection
default=INDUSTRY_TYPE_TRANSFORMATION
selection=INDUSTRY_TYPE
is_industry
Boolean
default=False
help='If your company is industry or ......'
legal_nature_id
Many2one → l10n_br_fiscal.legal.nature
comodel_name='l10n_br_fiscal.legal.nature'
compute='_compute_address'
inverse='_inverse_legal_nature_id'
string='Legal Nature'
payroll_amount
Monetary
currency_field='currency_id'
string='Last Period Payroll Amount'
piscofins_id
Many2one → l10n_br_fiscal.tax.pis.cofins
comodel_name='l10n_br_fiscal.tax.pis.cofins'
domain="[('piscofins_type', '=', 'company')]"
string='PIS/COFINS'
piscofins_id_domain
Json
compute='_compute_piscofins_id_domain'
processador_edoc
Selection
default=PROCESSADOR_NENHUM
selection=PROCESSADOR
string='Processador documentos eletrônicos'
profit_calculation
Selection
default=PROFIT_CALCULATION_PRESUMED
selection=PROFIT_CALCULATION
ripi
Boolean
string='RIPI'
simplified_tax_id
Many2one → l10n_br_fiscal.simplified.tax
comodel_name='l10n_br_fiscal.simplified.tax'
compute='_compute_simplified_tax'
readonly=True
store=True
string='Simplified Tax'
simplified_tax_percent
Float
compute='_compute_simplified_tax'
digits='Fiscal Tax Percent'
store=True
simplified_tax_range_id
Many2one → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
compute='_compute_simplified_tax'
readonly=True
store=True
string='Simplified Tax Range'
tax_classification_id
Many2one → l10n_br_fiscal.tax.classification
comodel_name='l10n_br_fiscal.tax.classification'
string='Default Tax Classification'
tax_cofins_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_WH)]
string='Default COFINS RET'
tax_csll_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL)]
string='Default CSLL'
tax_csll_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL_WH)]
string='Default CSLL RET'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='company_id'
string='Tax Definition'
tax_framework
Selection
compute='_compute_address'
default=TAX_FRAMEWORK_NORMAL
inverse='_inverse_tax_framework'
selection=TAX_FRAMEWORK
tax_icms_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', 'in', (TAX_DOMAIN_ICMS, TAX_DOMAIN_ICMS_SN))]
string='Default ICMS'
tax_icms_id_domain
Json
compute='_compute_tax_icms_id_domain'
tax_inss_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS)]
string='Default INSS'
tax_inss_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS_WH)]
string='Default INSS RET'
tax_ipi_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Default IPI'
tax_ipi_id_domain
Json
compute='_compute_tax_ipi_id_domain'
tax_irpj_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ)]
string='Default IRPJ'
tax_irpj_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ_WH)]
string='Default IRPJ RET'
tax_issqn_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN)]
string='Default ISSQN'
tax_issqn_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN_WH)]
string='Default ISSQN RET'
tax_pis_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_WH)]
string='Default PIS RET'
technical_support_id
Many2one → res.partner
comodel_name='res.partner'
string='Technical Support'
No public methods.
delivery_costs
Selection
readonly=False
related='company_id.delivery_costs'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
related='company_id.document_type_id'
string='Default Document Type'
ibpt_api
Boolean
readonly=False
related='company_id.ibpt_api'
string='Use IBPT API'
ibpt_token
Char
readonly=False
related='company_id.ibpt_token'
string='IBPT Token'
ibpt_update_days
Integer
readonly=False
related='company_id.ibpt_update_days'
string='IBPT Update'
module_l10n_br_cte
Boolean
string='CT-e'
module_l10n_br_mdfe
Boolean
string='MDF-e'
module_l10n_br_nfe
Boolean
string='NF-e/NFC-e'
module_l10n_br_nfse
Boolean
string='NFS-e'
No public methods.
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain="['|', ('state_from_ids', '=', id), ('state_to_ids', '=', id)]"
string='Tax Definitions'
No public methods.
city_id
Many2one
tracking=True
cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain=[('internal_type', '=', 'normal')]
string='Main CNAE'
cnae_secondary_ids
Many2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal'), ('id', '!=', cnae_main_id)]"
string='Secondary CNAEs'
fiscal_profile_id
Many2one → l10n_br_fiscal.partner.profile
comodel_name='l10n_br_fiscal.partner.profile'
default=_default_fiscal_profile_id
domain="[('is_company', '=', is_company)]"
inverse='_inverse_fiscal_profile'
string='Fiscal Partner Profile'
tracking=True
ind_final
Selection
default=FINAL_CUSTOMER_NO
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
tracking=True
ind_ie_dest
Selection
default=NFE_IND_IE_DEST_DEFAULT
required=True
selection=NFE_IND_IE_DEST
string='Contribuinte do ICMS'
tracking=True
is_company
Boolean
tracking=True
is_public_entity
Boolean
help='Indicates whether the entity in question is a public organization or government-related entity. It encompasses a range of entities such as municipal governments, state-owned enterprises (where the government is the largest shareholder), and other government-controlled organizations.'
string='Public Entity'
l10n_br_ie_code
Char
tracking=True
l10n_br_im_code
Char
tracking=True
legal_nature_id
Many2one → l10n_br_fiscal.legal.nature
comodel_name='l10n_br_fiscal.legal.nature'
string='Legal Nature'
nif_motive_absence
Selection
default=False
selection=[('0', 'Not informed in the origin note'), ('1', 'Exemption from NIF'), ('2', 'NIF not required')]
string='NIF motive absence'
public_entity_type
Selection
selection=PUBLIC_ENTIRY_TYPE
string='Tipo de Entidade Governamental'
rntrc_code
Char
size=12
string='RNTRC Code'
tracking=True
state_id
Many2one
tracking=True
tax_framework
Selection
default=TAX_FRAMEWORK_NORMAL
selection=TAX_FRAMEWORK
tracking=True
vat
Char
tracking=True
No public methods.
code
Char
help="Abbreviated unit code used in electronic fiscal documents (e.g. NF-e, NFC-e). Must have a maximum of 6 characters by regulation. e.g. 'UN', 'KG', 'LITRO', 'CX12UN"
size=6
translate=False
description
Char
help="Full unit description. e.g. 'Unit', 'Kilogram', 'Box of 12 Units'."
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-brazil |
| GIT | |
| GIT | https://github.com/OCA/l10n-brazil.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-brazil/tree/17.0/l10n_br_fiscal |
| VERSION | |
| VERSION | 7.4.1 |
| CATEGORY | |
| CATEGORY | Localisation |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | Yes |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Raphaël Valyi, Renato Lima, Weblate, OCA-git-bot, oca-ci, CristianoMafraJunior |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/l10n-brazil |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:03 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/l10n-brazil: - l10n_br_base OCA/product-attribute: - uom_alias odoo/odoo: - product - base - base_setup - web - bus - web_tour - uom - base_address_extended - contacts |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
erpbrasil.base email-validator num2words phonenumbers |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | 
## Classificações fiscais
Primeramente, este módulo traz uma variedade de cadastros fiscais para
produtos, parceiros ou empresas. Na hora de emitir documentos fiscais
como NF-e, NFS-e etc... até empresas do regime simplificado ou MEI
precisam de vários desses cadastros. E empresas do regime normal
precisam deles para calcular os impostos ou emitir documentos fiscais.
Produtos:
- tipo fiscal
- NCM (com ligações com os impostos)
- genêro fiscal
- CEST
- NBM
- NBS
- tipo de serviço
- unidades fiscais
Parceiros:
- CNAE
- perfil fiscal
## Conceito de documento fiscal
O Odoo nativo não tem o conceito de documento fiscal. O conceito mais
parecido seria o `account.move` e até a versão 10.0 a localização
estendia o invoice para suportar as NF-e e NFS-e apenas. Naquela época
não era razoável você cogitar fazer o SPED no Odoo, o próprio core do
Odoo não tinha maturidade para isso então era válido a abordagem
empírica de ir suportando mais casos de NFe dentro do invoice Odoo
apenas.
Porém, na v12, amadurecemos o framework XML/SOAP de forma que se torna
razoável suportar vários documentos fiscais (NF-e, NFS-e, MDF-e, CT-e,
EFD-Reinf, e-Social, GNRE, BP-e...) com a qualidade OCA dentro do Odoo.
Também, apesar de complexo, o core do Odoo finalmente tem suporte
suficiente para as operações de uma empresa que faria o SPED.
Nisso se torna interessante ter o conceito de documento fiscal
`l10n_br_fiscal.document` independente do invoice Odoo para suportar
todos os documentos fiscais mesmo, de forma modular. Um outro motivo
para ter o conceito de documento fiscal fora do módulo account é que
quando você analisa o código deste módulo `l10n_br_fiscal`, quase nada
dele poderia ser feito pelo módulo account do Odoo. Então ter esse
módulo l10n_br_fiscal que não depende do módulo account também é uma
forma de modularizar a localização para facilitar a manutenção dela,
especialmente quando se trata de migrar e que o módulo pode ter mudado
bastante como foi o caso entre a v8.0 e a v9.0 ou a v12.0 e v13.0 por
exemplo. Facilita também a governança do projeto possibilitando que
pessoas sejam responsáveis por diferentes partes. O módulo
l10n_br_fiscal foi principalmente extraído do módulo
l10n_br_l10n_br_account_product das v7.0 as v.10.0.
Esse módulo `l10n_br_fiscal` é agnóstico de qualquer tecnologia XML ou
SOAP. Ele contém apenas o que há de comum entre os documentos fiscais
mas esses últimos são implementados em outros módulos. Para um
determinado documento fiscal como a Nf-e, você tem então por exemplo:
- `nfelib`: um pacote de data bindings puro Python (que não depende do
Odoo). Em geral usamos um gerador de código para gerar esses bindings
a partir dos esquemas XSD da fazenda.
- `l10n_br_nfe_spec`: um modulo de mixins Odoo geridos também a partir
dos XSD. Esses mixins são apenas as estruturas de dados das
especificações antes de ser injectados em objetos Odoo existantes
(como res.partner ou l10n_br_fiscal.document) ou até tornados
concretos caso não exite objetos na Odoo ou na OCA para eles já.
- `l10n_br_nfe`: um módulo Odoo que trata de injectar esses mappings
fiscais nos objetos Odoo e que implementa a lógica como os wizards
para a transmissão.
A transmissão é realizada usando uma lib de transmissão como
`erpbrasil.doc` (baseada em Python Zeep). Importante: no caso da
`NFS-e`, a ausência de padrão nacional hoje e a simplicidade do modelo
(comparado com a NFe) faz que foi decidido de não usar um módulo de
mixins fiscais Odoo geridos, o mapping é com a lib de binding é feito
manualmente, família de NFS-e por família.
Alem disso a maioria do codigo do `l10n_br_fiscal.document` e das linhas
dele `l10n_br_fiscal.document.line` é na verdade feito dentro de mixins
`10n_br_fiscal.document.mixin` e `10n_br_fiscal.document.line.mixin`
respectivamente. Esses mixins podem assim ser injectados em outros
objetos Odoo que precedem os documentos fiscais e podem armazenar então
o mesmo tipo de informação: `sale.order`, `purchase.order`,
`stock.picking`... Isso é bem visível nos módulos que estendem esse
módulo:
``` text
|-- l10n_br_fiscal
|-- l10n_br_sale
|-- l10n_br_purchase
|-- l10n_br_account
|-- ...
```
Porem o caso do invoice Odoo no modulo `l10n_br_account` é diferente
ainda. Pois já se tem a tabela independente do documento fiscal cuja
grande maioria das dezenas e até centenas de campos fiscais (no caso de
muitos tipos de documentos fiscais) não são redundante com os do invoice
Odoo. Se a gente injetasse esses mixins dentro do invoice, aí sim essas
centenas de campos seriam duplicados entre o invoice e o documento
fiscal. Por isso, o sistema que foi adotado no modulo `l10n_br_account`
é que um invoice Odoo passa a ter um
`_inherits = "l10n_br_fiscal.document"` de forma que se pilota o
documento fiscal através do invoice, oferecendo o mesmo tipo de
integração como antes. O mesmo tipo de mecanismo acontece com a linha do
documento fiscal.
Sendo assim, já pelos \_inherits, o invoice Odoo e as linhas dele já vão
puxar todos campos fiscais como se eles fossem das suas respectivas
tabelas sem duplicar eles no banco. Se alem disso a gente injetasse os
mixins `10n_br_fiscal.document.mixin` e
`10n_br_fiscal.document.line.mixin` no invoice e invoice.line, esses
campos fiscais apareceriam também nas tabelas `account_move` e
`account_move_line` de forma redundantes com os campos puxados pelos
\_inherits. Para não ter esse problema, os métodos fiscais comuns (sem
os campos) foram ainda extraidos nos mixins:
`10n_br_fiscal.document.mixin.methods` e
`10n_br_fiscal.document.line.mixin.methods` que são injectados nos
objetos `account_move` e `account_move_line` respectivamente dentro do
modulo `l10n_br_account`.
## Impostos brasileiros
O módulo l10n_br_fiscal lida com os principais impostos brasileiros
como:
- ICMS do Simples Nacional
- ICMS do Regime normal
- IPI
- PIS
- COFINS
- ISSQN
- IRPJ
- II
- CSLL
- INSS
O módulo l10n_br_fiscal também lida com:
- ST
- retenções


É notório que o cálculo dos impostos no Brasil é muito especial e muito
trabalhoso. Geralmente é o motivo pelo qual os ERPs internacionais não
tem grande fatia de mercado brasileiro.
Até a versão 10.0, tentamos usar e estender o objeto Odoo `account.tax`.
A Akretion até criou o projeto `OCA/account-fiscal-rule` para determinar
as alíquotas de cada imposto de accordo com os parâmetros da operação
fiscal. Porém, a gente acabava usando quase nada do
`account.fiscal.position` nativo na parte fiscal e pelo contrário, isso
nos obrigava a ter um registro `account.tax` para cada aliquota e nos
obrigava a manter centenas de taxas e dezenas de milhares de regras para
selecionar a "posição fiscal" Odoo que aplicaria as taxas corretas. E
você ainda tinha que gerir essas dezenas de milhares de regras para uma
determinada empresa do regime normal. Conclusão: era inviável nos
projetos menores de tentar se encaixa na lógica do Odoo para calcular os
impostos brasileiros.
Nisso criamos neste módulo os modelos de taxas que representam
exatamente o funcionamentos dos impostos brasileiros. Além dos cálculos,
esses modelos também nos servem a carregar as tabelas dos impostos. E
mais adiante, no módulo `l10n_br_account`, ligamos os objetos nativos
`account.tax` as alíquotas dos impostos brasileiros.
Claro esses modelos dos impostos atendem as empresas do regime normal,
mas é bom lembrar que até empresas do regime simplificado precisam
desses modelos para realizar as operações com ST (Substituição
Tributária)...
## Operações fiscais
> 
No Odoo nativo, o conceito mais parecido com a operação fiscal e o
`account.fiscal.position`. E ate a versão 10.0, era o que a gente usava.
Porém, a posição fiscal do Odoo não resolve muito os nossos problemas
pois:
- no Brasil se tem uma operação fiscal por linha de documento fiscal
- a posição fiscal do Odoo desconhece a lógica da parametrização fiscal
brasileira
- já que puxamos o cadastro dos impostos no módulo l10n_br_fiscal fora
do módulo account (sem depender dele), não temos ainda o objeto
`account.fiscal.position` neste módulo.
Com tudo, optamos por criar um objeto `l10n_br_fiscal.operation` que faz
exactamente o que precisamos para o Brasil. Mais adiante, no módulo
`l10n_br_account` é realizado a integração entre a posição fiscal do
Odoo e essa operação fiscal. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cest_form |
l10n_br_fiscal.cest.form | l10n_br_fiscal.cest | form | New |
cest_search |
l10n_br_fiscal.cest.search | l10n_br_fiscal.cest | search | New |
cest_tree |
l10n_br_fiscal.cest.tree | l10n_br_fiscal.cest | tree | New |
cfop_form |
l10n_br_fiscal.cfop.form | l10n_br_fiscal.cfop | form | New |
cfop_search |
l10n_br_fiscal.cfop.search | l10n_br_fiscal.cfop | search | New |
cfop_tree |
l10n_br_fiscal.cfop.tree | l10n_br_fiscal.cfop | tree | New |
city_taxation_code_form_view |
city.taxation.code.form (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | form | New |
city_taxation_code_search_view |
city.taxation.code.search (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | search | New |
city_taxation_code_tree_view |
city.taxation.code.tree (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | tree | New |
cnae_form |
l10n_br_fiscal.cnae.form | l10n_br_fiscal.cnae | form | New |
cnae_search |
l10n_br_fiscal.cnae.search | l10n_br_fiscal.cnae | search | New |
cnae_tree |
l10n_br_fiscal.cnae.tree | l10n_br_fiscal.cnae | tree | New |
comment_form |
l10n_br_fiscal.comment.form | l10n_br_fiscal.comment | form | New |
comment_search |
l10n_br_fiscal.comment.search | l10n_br_fiscal.comment | search | New |
comment_tree |
l10n_br_fiscal.comment.tree | l10n_br_fiscal.comment | tree | New |
cst_form |
l10n_br_fiscal.cst.form | l10n_br_fiscal.cst | form | New |
cst_search |
l10n_br_fiscal.cst.search | l10n_br_fiscal.cst | search | New |
cst_tree |
l10n_br_fiscal.cst.tree | l10n_br_fiscal.cst | tree | New |
document_fiscal_line_mixin_form |
l10n_br_fiscal.document.line.mixin.form | l10n_br_fiscal.document.line | form | New |
document_form |
l10n_br_fiscal.document.form | l10n_br_fiscal.document | form | New |
document_import_wizard_form |
document.import.wizard.form | l10n_br_fiscal.document.import.wizard | form | New |
document_line_form |
l10n_br_fiscal.document.line.form | l10n_br_fiscal.document.line | form | New |
document_related_form |
l10n_br_fiscal.document.related.form | l10n_br_fiscal.document.related | form | New |
document_related_tree |
l10n_br_fiscal.document.related.tree | l10n_br_fiscal.document.related | tree | New |
document_search |
l10n_br_fiscal.document.search | l10n_br_fiscal.document | search | New |
document_serie_form |
l10n_br_fiscal.document.serie.form | l10n_br_fiscal.document.serie | form | New |
document_serie_tree |
l10n_br_fiscal.document.serie.tree | l10n_br_fiscal.document.serie | tree | New |
document_tree |
l10n_br_fiscal.document.tree | l10n_br_fiscal.document | tree | New |
document_type_form |
l10n_br_fiscal.document.type.form | l10n_br_fiscal.document.type | form | New |
document_type_tree |
l10n_br_fiscal.document.type.tree | l10n_br_fiscal.document.type | tree | New |
fiscal_res_company_form |
l10n_br_fiscal.res.company.form | res.company | notebook | Inherits base.view_company_form |
invalidate_number_form |
l10n_br_fiscal.invalidate.number.form | l10n_br_fiscal.invalidate.number | form | New |
invalidate_number_search |
l10n_br_fiscal.invalidate.number.search | l10n_br_fiscal.invalidate.number | search | New |
invalidate_number_tree |
l10n_br_fiscal.invalidate.number.tree | l10n_br_fiscal.invalidate.number | tree | New |
l10n_br_fiscal_res_config_settings_form |
l10n_br_fiscal.res.config.settings.view.form | res.config.settings | xpath | Inherits base.res_config_settings_view_form |
legal_nature_form |
l10n_br_fiscal.legal.nature.form | l10n_br_fiscal.legal.nature | form | New |
legal_nature_search |
l10n_br_fiscal.legal.nature.search | l10n_br_fiscal.legal.nature | search | New |
legal_nature_tree |
l10n_br_fiscal.legal.nature.tree | l10n_br_fiscal.legal.nature | tree | New |
national_taxation_code_form_view |
national.taxation.code.form (in l10n_br_fiscal) | l10n_br_fiscal.national.taxation.code | form | New |
national_taxation_code_search_view |
national.taxation.code.search (in l10n_br_fiscal) | l10n_br_fiscal.national.taxation.code | search | New |
national_taxation_code_tree_view |
national.taxation.code.tree (in l10n_br_fiscal) | l10n_br_fiscal.national.taxation.code | tree | New |
nbm_form |
l10n_br_fiscal.nbm.form | l10n_br_fiscal.nbm | form | New |
nbm_kanban |
l10n_br_fiscal.nbm.kanban | l10n_br_fiscal.ncm | kanban | New |
nbm_search |
l10n_br_fiscal.nbm.search | l10n_br_fiscal.nbm | search | New |
nbm_tree |
l10n_br_fiscal.nbm.tree | l10n_br_fiscal.nbm | tree | New |
nbs_form |
l10n_br_fiscal.nbs.form | l10n_br_fiscal.nbs | form | New |
nbs_kanban |
l10n_br_fiscal.nbs.kanban | l10n_br_fiscal.nbs | kanban | New |
nbs_search |
l10n_br_fiscal.nbs.search | l10n_br_fiscal.nbs | search | New |
nbs_tree |
l10n_br_fiscal.nbs.tree | l10n_br_fiscal.nbs | tree | New |
ncm_form |
l10n_br_fiscal.ncm.form | l10n_br_fiscal.ncm | form | New |
ncm_kanban |
l10n_br_fiscal.ncm.kanban | l10n_br_fiscal.ncm | kanban | New |
ncm_search |
l10n_br_fiscal.ncm.search | l10n_br_fiscal.ncm | search | New |
ncm_tree |
l10n_br_fiscal.ncm.tree | l10n_br_fiscal.ncm | tree | New |
operation_dashboard_kanban |
l10n_br_fiscal.operation.dashboard.kanban | l10n_br_fiscal.operation | kanban | New |
operation_form |
l10n_br_fiscal.operation.form | l10n_br_fiscal.operation | form | New |
operation_indicator_form |
l10n_br_fiscal.operation.indicator.form | l10n_br_fiscal.operation.indicator | form | New |
operation_indicator_search |
l10n_br_fiscal.operation.indicator.search | l10n_br_fiscal.operation.indicator | search | New |
operation_indicator_tree |
l10n_br_fiscal.operation.indicator.tree | l10n_br_fiscal.operation.indicator | tree | New |
operation_line_form |
l10n_br_fiscal.operation.line.form | l10n_br_fiscal.operation.line | form | New |
operation_line_tree |
l10n_br_fiscal.operation.line.tree | l10n_br_fiscal.operation.line | tree | New |
operation_search |
l10n_br_fiscal.operation.search | l10n_br_fiscal.operation | search | New |
operation_tree |
l10n_br_fiscal.operation.tree | l10n_br_fiscal.operation | tree | New |
partner_form |
l10n_br_fiscal.partner.form | res.partner | group | Inherits l10n_br_base.l10n_br_base_partner_form |
partner_profile_form |
l10n_br_fiscal.partner.profile.form | l10n_br_fiscal.partner.profile | form | New |
partner_profile_search |
l10n_br_fiscal.partner.profile.search | l10n_br_fiscal.partner.profile | search | New |
partner_profile_tree |
l10n_br_fiscal.partner.profile.tree | l10n_br_fiscal.partner.profile | tree | New |
product_form |
l10n_br_fiscal.product.product.form | product.product | xpath | Inherits product.product_normal_form_view |
product_genre_form |
l10n_br_fiscal.product.genre.form | l10n_br_fiscal.product.genre | form | New |
product_genre_search |
l10n_br_fiscal.product.genre.search | l10n_br_fiscal.product.genre | search | New |
product_genre_tree |
l10n_br_fiscal.product.genre.tree | l10n_br_fiscal.product.genre | tree | New |
product_search |
l10n_br_fiscal.product.product.search | product.product | field | Inherits product.product_search_form_view |
product_template_form |
l10n_br_fiscal.product.template.form | product.template | xpath | Inherits product.product_template_only_form_view |
product_template_search |
l10n_br_fiscal.product.template.search | product.template | field | Inherits product.product_template_search_view |
product_template_tree |
product.template.tree | product.template | tree | New |
product_tree |
product.product.tree | product.product | tree | New |
service_type_form |
l10n_br_fiscal.service.type.form | l10n_br_fiscal.service.type | form | New |
service_type_kanban |
l10n_br_fiscal.service.type.kanban | l10n_br_fiscal.service.type | kanban | New |
service_type_search |
l10n_br_fiscal.service.type.search | l10n_br_fiscal.service.type | search | New |
service_type_tree |
l10n_br_fiscal.service.type.tree | l10n_br_fiscal.service.type | tree | New |
simplified_tax_form |
l10n_br_fiscal.simplified.tax.form | l10n_br_fiscal.simplified.tax | form | New |
simplified_tax_range_tree |
l10n_br_fiscal.simplified.tax.range.tree | l10n_br_fiscal.simplified.tax.range | tree | New |
simplified_tax_tree |
l10n_br_fiscal.simplified.tax.tree | l10n_br_fiscal.simplified.tax | tree | New |
tax_classification_form |
l10n_br_fiscal.tax.classification | form | New | |
tax_classification_search |
l10n_br_fiscal.tax.classification | search | New | |
tax_classification_tree |
l10n_br_fiscal.tax.classification | tree | New | |
tax_definition_form |
l10n_br_fiscal.tax.definition.form | l10n_br_fiscal.tax.definition | form | New |
tax_definition_icms_tree |
l10n_br_fiscal.tax.definition.icms.tree | l10n_br_fiscal.tax.definition | tree | New |
tax_definition_tree |
l10n_br_fiscal.tax.definition.tree | l10n_br_fiscal.tax.definition | tree | New |
tax_estimate_tree |
l10n_br_fiscal.tax.estimate.tree | l10n_br_fiscal.tax.estimate | tree | New |
tax_form |
l10n_br_fiscal.tax.form | l10n_br_fiscal.tax | form | New |
tax_group_form |
l10n_br_fiscal.tax.group.form | l10n_br_fiscal.tax.group | form | New |
tax_group_search |
l10n_br_fiscal.tax.group.search | l10n_br_fiscal.tax.group | search | New |
tax_group_tree |
l10n_br_fiscal.tax.group.tree | l10n_br_fiscal.tax.group | tree | New |
tax_icms_regulation_form |
l10n_br_fiscal.icms.regulation.form | l10n_br_fiscal.icms.regulation | form | New |
tax_icms_regulation_search |
l10n_br_fiscal.icms.regulation.search | l10n_br_fiscal.icms.regulation | search | New |
tax_icms_regulation_tree |
l10n_br_fiscal.icms.regulation.tree | l10n_br_fiscal.icms.regulation | tree | New |
tax_icms_relief_form |
l10n_br_fiscal.icms.relief.form | l10n_br_fiscal.icms.relief | form | New |
tax_icms_relief_search |
l10n_br_fiscal.icms.relief.search | l10n_br_fiscal.icms.relief | search | New |
tax_icms_relief_tree |
l10n_br_fiscal.icms.relief.tree | l10n_br_fiscal.icms.relief | tree | New |
tax_ipi_control_seal_form |
l10n_br_fiscal.tax.ipi.control.seal.form | l10n_br_fiscal.tax.ipi.control.seal | form | New |
tax_ipi_control_seal_search |
l10n_br_fiscal.tax.ipi.control.seal.search | l10n_br_fiscal.tax.ipi.guideline.class | search | New |
tax_ipi_control_seal_tree |
l10n_br_fiscal.tax.ipi.control.seal.tree | l10n_br_fiscal.tax.ipi.control.seal | tree | New |
tax_ipi_guideline_class_form |
l10n_br_fiscal.tax.ipi.guideline.class.form | l10n_br_fiscal.tax.ipi.guideline.class | form | New |
tax_ipi_guideline_class_search |
l10n_br_fiscal.tax.ipi.guideline.class.search | l10n_br_fiscal.tax.ipi.guideline.class | search | New |
tax_ipi_guideline_class_tree |
l10n_br_fiscal.tax.ipi.guideline.class.tree | l10n_br_fiscal.tax.ipi.guideline.class | tree | New |
tax_ipi_guideline_form |
l10n_br_fiscal.tax.ipi.guideline.form | l10n_br_fiscal.tax.ipi.guideline | form | New |
tax_ipi_guideline_search |
l10n_br_fiscal.tax.ipi.guideline.search | l10n_br_fiscal.tax.ipi.guideline | search | New |
tax_ipi_guideline_tree |
l10n_br_fiscal.tax.ipi.guideline.tree | l10n_br_fiscal.tax.ipi.guideline | tree | New |
tax_pis_cofins_base_form |
l10n_br_fiscal.tax.pis.cofins.base.form | l10n_br_fiscal.tax.pis.cofins.base | form | New |
tax_pis_cofins_base_search |
l10n_br_fiscal.tax.pis.cofins.base.search | l10n_br_fiscal.tax.pis.cofins.base | search | New |
tax_pis_cofins_base_tree |
l10n_br_fiscal.tax.pis.cofins.base.tree | l10n_br_fiscal.tax.pis.cofins.base | tree | New |
tax_pis_cofins_credit_form |
l10n_br_fiscal.tax.pis.cofins.credit.form | l10n_br_fiscal.tax.pis.cofins.credit | form | New |
tax_pis_cofins_credit_search |
l10n_br_fiscal.tax.pis.cofins.credit.search | l10n_br_fiscal.tax.pis.cofins.credit | search | New |
tax_pis_cofins_credit_tree |
l10n_br_fiscal.tax.pis.cofins.credit.tree | l10n_br_fiscal.tax.pis.cofins.credit | tree | New |
tax_pis_cofins_form |
l10n_br_fiscal.pis.cofins.tax.form | l10n_br_fiscal.tax.pis.cofins | form | New |
tax_pis_cofins_search |
l10n_br_fiscal.tax.search | l10n_br_fiscal.tax.pis.cofins | search | New |
tax_pis_cofins_tree |
l10n_br_fiscal.tax.pis.cofins.tree | l10n_br_fiscal.tax.pis.cofins | tree | New |
tax_search |
l10n_br_fiscal.tax.search | l10n_br_fiscal.tax | search | New |
tax_tree |
l10n_br_fiscal.tax.tree | l10n_br_fiscal.tax | tree | New |
uom_category_form_inherit_code_desc |
uom.category.form (in l10n_br_fiscal) | uom.category | xpath | Inherits uom.product_uom_categ_form_view |
uom_uom_form_view |
uom.uom.form (in l10n_br_fiscal) | uom.uom | field | Inherits uom.product_uom_form_view |
uom_uom_tree_view |
uom.uom.tree (in l10n_br_fiscal) | uom.uom | field | Inherits uom.product_uom_tree_view |
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
string='Fiscal Document'
document_key
Char
document_number
Char
document_serie
Char
document_status
Text
readonly=True
string='Status'
document_type
Char
related='document_type_id.code'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Document Type'
justification
Text
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
rps_number
Char
state
Selection
default='init'
readonly=True
selection=[('init', 'init'), ('confirm', 'confirm'), ('done', 'done')]
button_back(self)
default_get(self, fields_list)
code
Char
size=9
code_unmasked
Char
size=7
item
Char
required=True
ncm_ids
Many2many → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
readonly=True
string='NCMs'
ncms
Char
string='NCM'
product_tmpl_ids
One2many
inverse_name='cest_id'
segment
Selection
required=True
selection=CEST_SEGMENT
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
string='Tax Definition'
action_search_ncms(self)
create(self, vals_list)
write(self, values)
account_move
Boolean
default=True
string='Account Move?'
assent_move
Boolean
default=False
string='Assent Move?'
cfop_inverse_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('destination', '=', destination),('type_in_out', '!=', type_in_out)]"
string='Inverse CFOP'
cfop_return_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('destination', '=', destination),('type_in_out', '!=', type_in_out),('type_move', 'in', ('sale_refund', 'purchase_refund', 'return_out', 'return_in'))]"
string='Return CFOP'
code
Char
size=4
destination
Selection
compute='_compute_destination'
help='Identifies the operation destination.'
selection=CFOP_DESTINATION
store=True
finance_move
Boolean
default=True
string='Finance Moves?'
ind_anula
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Revocation?'
ind_comb
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes - Without mandatory transportation information'), ('2', '2 - Yes - With mandatory transportation information')]
string='Fuel?'
ind_comunica
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Communication?'
ind_cte
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Used in CTe'
ind_devol
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Return?'
ind_nfe
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Used in NFe'
ind_remes
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Shipment?'
ind_retor
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Regress?'
ind_transp
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Transport?'
is_import
Boolean
compute='_compute_is_import'
string='Is Import?'
small_name
Char
required=True
size=32
stock_move
Boolean
default=True
string='Stock Moves?'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='cfop_id'
string='Tax Definition'
type_in_out
Selection
default=FISCAL_OUT
required=True
selection=FISCAL_IN_OUT
string='Type'
type_move
Selection
default=CFOP_TYPE_MOVE_DEFAULT
required=True
selection=CFOP_TYPE_MOVE
No public methods.
city_id
Many2one → res.city
comodel_name='res.city'
domain="[('state_id', '=', state_id)]"
string='City'
cnae_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='CNAE Code'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain=[('internal_type', '=', 'normal')]
string='Service Type'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='State'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_city_taxation_code_rel'
string='Tax Definition'
No public methods.
child_ids
One2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
inverse_name='parent_id'
string='Children CNAEs'
code
Char
size=16
internal_type
Selection
default='normal'
required=True
selection=[('view', 'View'), ('normal', 'Normal')]
parent_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='Parent CNAE'
version
Char
required=True
size=16
No public methods.
comment
Text
required=True
comment_type
Selection
default=COMMENT_TYPE_COMMERCIAL
required=True
selection=COMMENT_TYPE
date_begin
Date
string='Initial Date'
date_end
Date
string='Final Date'
name
Char
required=True
object
Selection
required=True
selection=FISCAL_COMMENT_OBJECTS
object_id
Reference
ondelete='set null'
selection=FISCAL_COMMENT_OBJECTS
string='Reference'
sequence
Integer
default=10
test_comment
Text
action_test_message(self)
compute_message(self, vals, manual_comment=None)
format_amount(self, env, amount, currency)
code
Char
size=4
cst_type
Selection
required=True
selection=FISCAL_IN_OUT_ALL
string='Type'
tax_domain
Selection
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
required=True
string='Fiscal Tax Group'
No public methods.
active
Boolean
default=True
code
Char
index=True
required=True
code_unmasked
Char
compute='_compute_code_unmasked'
index=True
store=True
string='Unmasked Code'
name
Text
index=True
required=True
action_archive(self)
action_unarchive(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
estimate_tax_imported
Float
compute='_compute_amount'
digits='Fiscal Tax Percent'
readonly=True
store=True
string='Estimate Tax Imported Percent'
estimate_tax_national
Float
compute='_compute_amount'
digits='Fiscal Tax Percent'
readonly=True
store=True
string='Estimate Tax Nacional Percent'
tax_estimate_ids
One2many → l10n_br_fiscal.tax.estimate
comodel_name='l10n_br_fiscal.tax.estimate'
readonly=True
string='Estimate Taxes'
action_ibpt_inquiry(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
product_tmpl_ids
One2many → product.template
comodel_name='product.template'
readonly=True
string='Products'
product_tmpl_qty
Integer
compute='_compute_product_tmpl_infos'
string='Products Quantity'
No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
company_l10n_br_ie_code_st
Char
string='Company ST State Tax Number'
currency_id
Many2one → res.currency
comodel_name='res.currency'
related='company_id.currency_id'
string='Currency'
customer_additional_data
Text
date_in_out
Datetime
copy=False
string='Date IN/OUT'
document_date
Datetime
copy=False
document_electronic
Boolean
related='document_type_id.electronic'
store=True
string='Electronic?'
document_related_ids
One2many → l10n_br_fiscal.document.related
comodel_name='l10n_br_fiscal.document.related'
inverse_name='document_id'
string='Fiscal Document Related'
document_type
Char
related='document_type_id.code'
store=True
string='Document Type Code'
edoc_purpose
Selection
compute='_compute_edoc_purpose'
default=EDOC_PURPOSE_NORMAL
precompute=True
selection=EDOC_PURPOSE
store=True
string='Finalidade'
edoc_refund_credit_type
Selection
selection=EDOC_REFUND_CREDIT_TYPE
string='Tipo de Nota de Crédito'
edoc_refund_debit_type
Selection
selection=EDOC_REFUND_DEBIT_TYPE
string='Tipo de Nota de Débito'
fiscal_additional_data
Text
fiscal_line_ids
One2many → l10n_br_fiscal.document.line
check_company=True
comodel_name='l10n_br_fiscal.document.line'
copy=True
inverse_name='document_id'
string='Document Lines'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
domain="[('state', '=', 'approved')]"
string='Fiscal Operation'
args: 'l10n_br_fiscal.operation'
fiscal_operation_type
Selection
store=True
imported_document
Boolean
default=False
string='Imported'
name
Char
compute='_compute_name'
index=True
store=True
partner_cnpj_cpf
Char
related='partner_id.vat'
string='CNPJ'
partner_id
Many2one → res.partner
comodel_name='res.partner'
inverse='_inverse_partner_id'
string='Partner'
partner_l10n_br_ie_code
Char
related='partner_id.l10n_br_ie_code'
string='State Tax Number'
partner_legal_name
Char
related='partner_id.legal_name'
string='Legal Name'
partner_shipping_id
Many2one → res.partner
comodel_name='res.partner'
string='Shipping Address'
processador_edoc
Selection
related='company_id.processador_edoc'
public_entity_type
Selection
selection=PUBLIC_ENTIRY_TYPE
string='Tipo de Entidade Governamental'
rps_number
Char
copy=False
index=True
string='RPS Number'
unaccent=False
service_provider
Selection
selection=[('0', 'Remetente'), ('1', 'Expedidor'), ('2', 'Recebedor'), ('3', 'Destinatário'), ('4', 'Outros')]
string='Tomador do Serviço'
state
Selection
related='state_edoc'
string='State'
state_edoc
Selection
copy=False
default=SITUACAO_EDOC_EM_DIGITACAO
index=True
readonly=True
required=True
selection=SITUACAO_EDOC
string='Situação e-doc'
state_fiscal
Selection
copy=False
index=True
selection=SITUACAO_FISCAL
string='Situação Fiscal'
transport_modal
Selection
selection=[('01', 'Rodoviário'), ('02', 'Aéreo'), ('03', 'Aquaviário'), ('04', 'Ferroviário'), ('05', 'Dutoviário'), ('06', 'Multimodal')]
string='Modal de Transporte'
user_id
Many2one → res.users
comodel_name='res.users'
default=<expr>
index=True
string='User'
xml_error_message
Text
copy=False
readonly=True
string='XML validation errors'
action_create_return(self)
action_document_back2draft(self)
action_document_cancel(self)
action_document_confirm(self)
action_document_correction(self)
action_document_invalidate(self)
action_document_send(self)
exec_after_SITUACAO_EDOC_DENEGADA(self, old_state, new_state)
unlink(self)
view_pdf(self)
view_xml(self)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
destination_cnpj
Char
string='Destination CNPJ'
destination_name
Char
destination_partner_id
Many2one → res.partner
comodel_name='res.partner'
destination_type_in_out
Selection
selection=FISCAL_IN_OUT
string='Destination Type'
document_type
Char
file
Binary
string='File to Import'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain="[('fiscal_operation_type', '=', fiscal_operation_type)]"
string='Fiscal Operation'
fiscal_operation_type
Selection
compute='_compute_fiscal_operation_type'
selection=FISCAL_IN_OUT
issuer_cnpj
Char
string='Issuer CNPJ'
issuer_legal_name
Char
issuer_name
Char
string='Fantasia'
issuer_partner_id
Many2one → res.partner
comodel_name='res.partner'
issuer_type_in_out
Selection
selection=FISCAL_IN_OUT
string='Issuer Type'
action_import_and_open_document(self)
action_open_document(self)
additional_data
Text
company_id
Many2one → res.company
comodel_name='res.company'
precompute=True
related='document_id.company_id'
store=True
string='Company'
delivery_costs
Selection
related='company_id.delivery_costs'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
ondelete='cascade'
string='Document'
edoc_purpose
Selection
related='document_id.edoc_purpose'
force_compute_delivery_costs_by_total
Boolean
related='document_id.force_compute_delivery_costs_by_total'
name
Char
compute='_compute_name'
precompute=True
readonly=False
store=True
partner_id
Many2one → res.partner
comodel_name='res.partner'
compute='_compute_partner_id'
precompute=True
readonly=False
store=True
price_unit
Float
compute='_compute_price_unit_fiscal'
digits='Product Price'
precompute=True
readonly=False
store=True
quantity
Float
default=1.0
tax_framework
Selection
related='company_id.tax_framework'
uom_id
Many2one → uom.uom
comodel_name='uom.uom'
compute='_compute_uom_id'
precompute=True
readonly=False
store=True
string='UOM'
No public methods.
allow_csll_irpj
Boolean
compute='_compute_allow_csll_irpj'
help="Indicates potential 'CSLL' and 'IRPJ' tax charges."
amount_fiscal
Monetary
compute='_compute_fiscal_amounts'
amount_tax_included
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
amount_tax_not_included
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
amount_tax_withholding
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='Tax Withholding'
amount_taxed
Monetary
compute='_compute_fiscal_amounts'
cbs_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CBS Base'
cbs_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='CBS Base Type'
cbs_cst_code
Char
related='cbs_cst_id.code'
store=True
string='CBS CST Code'
cbs_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'cbs')]"
precompute=True
readonly=False
store=True
string='CST CBS'
cbs_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CBS %'
cbs_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CBS % Reduction'
cbs_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=<expr>
precompute=True
readonly=False
store=True
string='Tax CBS'
cbs_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CBS Value'
cest_id
Many2one → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
compute='_compute_product_fiscal_fields'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
precompute=True
readonly=False
store=True
string='CEST'
cfop_destination
Selection
related='cfop_id.destination'
string='CFOP Destination'
cfop_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
compute='_compute_fiscal_tax_ids'
domain="[('type_in_out', '=', fiscal_operation_type)]"
precompute=True
readonly=False
store=True
string='CFOP'
city_taxation_code_id
Many2one → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
compute='_compute_city_taxation_code_id'
help='City Taxation Code for Municipal NFS-e or ISS Municipal Taxation Code for National NFS-e.'
precompute=True
readonly=False
store=True
string='City Taxation Code'
cnae_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
precompute=True
readonly=False
related='city_taxation_code_id.cnae_id'
store=True
string='CNAE Code'
cofins_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS Base'
cofins_base_id
Many2one → l10n_br_fiscal.tax.pis.cofins.base
comodel_name='l10n_br_fiscal.tax.pis.cofins.base'
string='COFINS Base Code'
cofins_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='COFINS Base Type'
cofins_credit_id
Many2one → l10n_br_fiscal.tax.pis.cofins.credit
comodel_name='l10n_br_fiscal.tax.pis.cofins.credit'
string='COFINS Credit Code'
cofins_cst_code
Char
related='cofins_cst_id.code'
store=True
string='COFINS CST Code'
cofins_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'cofins')]"
precompute=True
readonly=False
store=True
string='CST COFINS'
cofins_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS %'
cofins_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS % Reduction'
cofins_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS)]
precompute=True
readonly=False
store=True
string='Tax COFINS'
cofins_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS Value'
cofins_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS RET Base'
cofins_wh_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='COFINS WH Base Type'
cofins_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS RET %'
cofins_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS RET % Reduction'
cofins_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_WH)]
precompute=True
readonly=False
store=True
string='Tax COFINS RET'
cofins_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS RET Value'
cofinsst_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS ST Base'
cofinsst_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='COFINS ST Base Type'
cofinsst_cst_code
Char
related='cofinsst_cst_id.code'
store=True
string='COFINS ST CST Code'
cofinsst_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'cofinsst')]"
precompute=True
readonly=False
store=True
string='CST COFINS ST'
cofinsst_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS ST %'
cofinsst_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS ST % Reduction'
cofinsst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_ST)]
precompute=True
readonly=False
store=True
string='Tax COFINS ST'
cofinsst_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS ST Value'
comment_ids
Many2many → l10n_br_fiscal.comment
comodel_name='l10n_br_fiscal.comment'
compute='_compute_comment_ids'
domain=[('object', '=', FISCAL_COMMENT_LINE)]
precompute=True
readonly=False
store=True
string='Comments'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
csll_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL Base'
csll_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL %'
csll_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL % Reduction'
csll_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL)]
precompute=True
readonly=False
store=True
string='Tax CSLL'
csll_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL Value'
csll_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL RET Base'
csll_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL RET %'
csll_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL RET % Reduction'
csll_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL_WH)]
precompute=True
readonly=False
store=True
string='Tax CSLL RET'
csll_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL RET Value'
cst_code_prefix_like
Char
compute='_compute_cst_code_prefix_like'
help='Helper field to filter taxes by CST code prefix (3 chars) using LIKE.'
currency_id
Many2one → res.currency
comodel_name='res.currency'
compute='_compute_currency_id'
string='Currency'
discount_value
Monetary
estimate_tax
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
financial_discount_value
Monetary
compute='_compute_fiscal_amounts'
financial_total
Monetary
compute='_compute_fiscal_amounts'
string='Amount Financial'
financial_total_gross
Monetary
compute='_compute_fiscal_amounts'
help='Total amount before any discounts are applied.'
string='Financial Gross Amount'
fiscal_amount_tax
Monetary
compute='_compute_fiscal_amounts'
fiscal_amount_total
Monetary
compute='_compute_fiscal_amounts'
fiscal_amount_untaxed
Monetary
compute='_compute_fiscal_amounts'
fiscal_genre_code
Char
related='fiscal_genre_id.code'
string='Fiscal Product Genre Code'
fiscal_genre_id
Many2one → l10n_br_fiscal.product.genre
comodel_name='l10n_br_fiscal.product.genre'
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
store=True
string='Fiscal Product Genre'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain=<expr>
string='Operation'
fiscal_operation_line_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
compute='_compute_fiscal_operation_line_id'
domain="[('fiscal_operation_id', '=', fiscal_operation_id), ('state', '=', 'approved')]"
precompute=True
readonly=False
store=True
string='Operation Line'
fiscal_operation_type
Selection
related='fiscal_operation_id.fiscal_operation_type'
string='Fiscal Operation Type'
fiscal_price
Float
compute='_compute_fiscal_price'
digits='Product Price'
precompute=True
readonly=False
store=True
fiscal_quantity
Float
compute='_compute_fiscal_quantity'
digits='Product Unit of Measure'
precompute=True
readonly=False
store=True
fiscal_tax_ids
Many2many → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_fiscal_tax_ids'
precompute=True
readonly=False
store=True
string='Fiscal Taxes'
fiscal_type
Selection
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
selection=PRODUCT_FISCAL_TYPE
store=True
freight_value
Monetary
ibs_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IBS Base'
ibs_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='IBS Base Type'
ibs_cst_code
Char
related='ibs_cst_id.code'
store=True
string='IBS CST Code'
ibs_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'ibs')]"
precompute=True
readonly=False
store=True
string='CST IBS'
ibs_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IBS %'
ibs_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IBS % Reduction'
ibs_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=<expr>
precompute=True
readonly=False
store=True
string='Tax IBS'
ibs_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IBS Value'
icms_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Base'
icms_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=ICMS_BASE_TYPE
store=True
string='ICMS Base Type'
icms_cst_code
Char
related='icms_cst_id.code'
store=True
string='ICMS CST Code'
icms_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="[('tax_domain', '=', {'1': 'icmssn', '2': 'icmssn', '3': 'icms'}.get(tax_framework))]"
precompute=True
readonly=False
store=True
string='CST ICMS'
icms_destination_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Destination Base'
icms_destination_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS External %'
icms_destination_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Dest. Value'
icms_effective_base
Monetary
string='ICMS Effective Base'
icms_effective_percent
Float
string='ICMS Effective %'
icms_effective_reduction
Float
string='ICMS Effective % Reduction'
icms_effective_value
Monetary
string='ICMS Effective'
icms_origin
Selection
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
selection=ICMS_ORIGIN
store=True
string='ICMS Origin'
icms_origin_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Internal %'
icms_origin_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Origin Value'
icms_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS %'
icms_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS % Reduction'
icms_relief_id
Many2one → l10n_br_fiscal.icms.relief
comodel_name='l10n_br_fiscal.icms.relief'
string='ICMS Relief'
icms_relief_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Relief Value'
icms_sharing_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Sharing %'
icms_substitute
Monetary
help='Valor do ICMS Próprio do Substituto cobrado em operação anterior'
string='ICMS Substitute'
icms_tax_benefit_code
Char
related='icms_tax_benefit_id.code'
store=True
string='Tax Benefit Code'
icms_tax_benefit_id
Many2one → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
compute='_compute_fiscal_tax_ids'
domain=[('is_benefit', '=', True), ('tax_domain', '=', TAX_DOMAIN_ICMS)]
precompute=True
readonly=False
store=True
string='Tax Benefit'
icms_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS)]
precompute=True
readonly=False
store=True
string='Tax ICMS'
icms_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Value'
icmsfcp_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP Base'
icmsfcp_base_wh
Monetary
string='FCP WH Base'
icmsfcp_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP %'
icmsfcp_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
precompute=True
readonly=False
store=True
string='Tax ICMS FCP'
icmsfcp_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP Value'
icmsfcp_value_wh
Monetary
string='FCP WH'
icmsfcp_wh_percent
Float
string='FCP WH %'
icmsfcpst_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP ST Base'
icmsfcpst_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP ST %'
icmsfcpst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST)]
precompute=True
readonly=False
store=True
string='Tax ICMS FCP ST'
icmsfcpst_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP ST Value'
icmssn_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS SN Base'
icmssn_credit_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS SN Credit'
icmssn_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS SN %'
icmssn_range_id
Many2one → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
default=_default_icmssn_range_id
string='Simplified Range Tax'
icmssn_reduction
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS SN Reduction'
icmssn_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_SN)]
precompute=True
readonly=False
store=True
string='Tax ICMS SN'
icmsst_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST Base'
icmsst_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=ICMS_ST_BASE_TYPE
store=True
string='ICMS ST Base Type'
icmsst_mva_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST MVA %'
icmsst_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST %'
icmsst_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST % Reduction'
icmsst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
precompute=True
readonly=False
store=True
string='Tax ICMS ST'
icmsst_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST Value'
icmsst_wh_base
Monetary
string='ICMS ST WH Base'
icmsst_wh_percent
Float
string='ICMS ST WH %'
icmsst_wh_value
Monetary
string='ICMS ST WH Value'
ii_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='II Base'
ii_customhouse_charges
Monetary
string='Despesas Aduaneiras'
ii_iof_value
Monetary
string='IOF Value'
ii_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='II %'
ii_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_II)]
precompute=True
readonly=False
store=True
string='Tax II'
ii_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='II Value'
ind_final
Selection
compute='_compute_ind_final'
precompute=True
readonly=False
selection=FINAL_CUSTOMER
store=True
string='Consumidor final'
inss_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS Base'
inss_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS %'
inss_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS % Reduction'
inss_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS)]
precompute=True
readonly=False
store=True
string='Tax INSS'
inss_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS Value'
inss_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS RET Base'
inss_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS RET %'
inss_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS RET % Reduction'
inss_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS_WH)]
precompute=True
readonly=False
store=True
string='Tax INSS RET'
inss_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS RET Value'
insurance_value
Monetary
ipi_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IPI Base'
ipi_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='IPI Base Type'
ipi_cst_code
Char
related='ipi_cst_id.code'
store=True
string='IPI CST Code'
ipi_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'ipi')]"
precompute=True
readonly=False
store=True
string='CST IPI'
ipi_devol_value
Monetary
string='Valor do IPI devolvido'
ipi_guideline_id
Many2one → l10n_br_fiscal.tax.ipi.guideline
comodel_name='l10n_br_fiscal.tax.ipi.guideline'
compute='_compute_fiscal_tax_ids'
domain="['|', ('cst_in_id', '=', ipi_cst_id),('cst_out_id', '=', ipi_cst_id)]"
precompute=True
readonly=False
store=True
string='IPI Guideline'
ipi_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IPI %'
ipi_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IPI % Reduction'
ipi_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
precompute=True
readonly=False
store=True
string='Tax IPI'
ipi_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IPI Value'
irpj_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ Base'
irpj_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ %'
irpj_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ % Reduction'
irpj_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ)]
precompute=True
readonly=False
store=True
string='Tax IRPJ'
irpj_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ Value'
irpj_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ RET Base'
irpj_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ RET %'
irpj_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ RET % Reduction'
irpj_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ_WH)]
precompute=True
readonly=False
store=True
string='Tax IRPJ RET'
irpj_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ RET Value'
issqn_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN Base'
issqn_deduction_amount
Monetary
string='ISSQN Deduction Value'
issqn_desc_cond_amount
Monetary
string='ISSQN Discount Cond'
issqn_desc_incond_amount
Monetary
string='ISSQN Discount Incond'
issqn_eligibility
Selection
default=ISSQN_ELIGIBILITY_DEFAULT
selection=ISSQN_ELIGIBILITY
string='ISSQN Eligibility'
issqn_fg_city_id
Many2one → res.city
comodel_name='res.city'
compute='_compute_issqn_fg_city_id'
precompute=True
readonly=False
store=True
string='ISSQN City'
issqn_incentive
Selection
default=ISSQN_INCENTIVE_DEFAULT
selection=ISSQN_INCENTIVE
string='ISSQN Incentive'
issqn_other_amount
Monetary
string='ISSQN Other Value'
issqn_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN %'
issqn_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN % Reduction'
issqn_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN)]
precompute=True
readonly=False
store=True
string='Tax ISSQN'
issqn_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN Value'
issqn_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN RET Base'
issqn_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN RET %'
issqn_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN RET % Reduction'
issqn_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN_WH)]
precompute=True
readonly=False
store=True
string='Tax ISSQN RET'
issqn_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN RET Value'
manual_additional_data
Text
help='Additional data manually entered by user'
national_taxation_code_id
Many2one → l10n_br_fiscal.national.taxation.code
comodel_name='l10n_br_fiscal.national.taxation.code'
compute='_compute_national_taxation_code_id'
help='National Taxation Code for the ISS tax (National NFS-e)'
precompute=True
readonly=False
store=True
string='ISS National Taxation Code'
nbm_id
Many2one → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
compute='_compute_product_fiscal_fields'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
precompute=True
readonly=False
store=True
string='NBM'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
compute='_compute_product_fiscal_fields'
index=True
precompute=True
readonly=False
store=True
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
compute='_compute_product_fiscal_fields'
index=True
precompute=True
readonly=False
store=True
string='NCM'
operation_fiscal_type
Selection
related='fiscal_operation_id.fiscal_type'
string='Operation Fiscal Type'
operation_indicator_id
Many2one → l10n_br_fiscal.operation.indicator
comodel_name='l10n_br_fiscal.operation.indicator'
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
store=True
string='Operation Indicator'
other_value
Monetary
p_devol
Float
string='Percentual de mercadoria devolvida'
partner_company_type
Selection
related='partner_id.company_type'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
partner_is_public_entity
Boolean
related='partner_id.is_public_entity'
partner_order
Char
size=15
string='Partner Order (xPed)'
partner_order_line
Char
size=6
string='Partner Order Line (nItemPed)'
pis_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS Base'
pis_base_id
Many2one → l10n_br_fiscal.tax.pis.cofins.base
comodel_name='l10n_br_fiscal.tax.pis.cofins.base'
string='PIS Base Code'
pis_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='PIS Base Type'
pis_credit_id
Many2one → l10n_br_fiscal.tax.pis.cofins.credit
comodel_name='l10n_br_fiscal.tax.pis.cofins.credit'
string='PIS Credit'
pis_cst_code
Char
related='pis_cst_id.code'
store=True
string='PIS CST Code'
pis_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'pis')]"
precompute=True
readonly=False
store=True
string='CST PIS'
pis_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS %'
pis_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS % Reduction'
pis_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS)]
precompute=True
readonly=False
store=True
string='Tax PIS'
pis_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS Value'
pis_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS RET Base'
pis_wh_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='PIS WH Base Type'
pis_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS RET %'
pis_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS RET % Reduction'
pis_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_WH)]
precompute=True
readonly=False
store=True
string='Tax PIS RET'
pis_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS RET Value'
pisst_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS ST Base'
pisst_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='PIS ST Base Type'
pisst_cst_code
Char
related='pisst_cst_id.code'
store=True
string='PIS ST CST Code'
pisst_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'pisst')]"
precompute=True
readonly=False
store=True
string='CST PIS ST'
pisst_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS ST %'
pisst_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS ST % Reduction'
pisst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_ST)]
precompute=True
readonly=False
store=True
string='Tax PIS ST'
pisst_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS ST Value'
price_gross
Monetary
compute='_compute_fiscal_amounts'
help='Total value of products or services (quantity x unit price)before any discounts.'
string='Gross Product/Service Amount'
price_unit
Float
digits='Product Price'
store=True
product_id
Many2one → product.product
comodel_name='product.product'
index=True
string='Product'
quantity
Float
digits='Product Unit of Measure'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
compute='_compute_product_fiscal_fields'
domain="[('internal_type', '=', 'normal')]"
precompute=True
readonly=False
store=True
string='Service Type LC 166'
simple_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='National Simple Taxes'
simple_without_icms_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='National Simple Taxes without ICMS'
tax_classification_id
Many2one → l10n_br_fiscal.tax.classification
comodel_name='l10n_br_fiscal.tax.classification'
compute='_compute_fiscal_tax_ids'
precompute=True
readonly=False
store=True
string='Tax Classification'
tax_icms_or_issqn
Selection
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
selection=TAX_ICMS_OR_ISSQN
store=True
string='ICMS or ISSQN Tax'
uom_id
Many2one → uom.uom
comodel_name='uom.uom'
string='UOM'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
compute='_compute_uot_id'
precompute=True
readonly=False
store=True
string='Tax UoM'
inject_fiscal_fields(self, doc, view_ref='l10n_br_fiscal.document_fiscal_line_mixin_form', xpath_mappings=None)
write(self, vals)
amount_cbs_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='CBS Base'
amount_cbs_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='CBS Value'
amount_cofins_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS Base'
amount_cofins_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS Value'
amount_cofins_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS Ret Base'
amount_cofins_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS Ret Value'
amount_cofinsst_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS ST Base'
amount_cofinsst_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS ST Value'
amount_csll_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='CSLL Base'
amount_csll_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='CSLL Value'
amount_csll_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='CSLL Ret Base'
amount_csll_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='CSLL Ret Value'
amount_discount_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='Amount Discount'
amount_estimate_tax
Monetary
compute='_compute_fiscal_amount'
store=True
amount_financial_discount_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='Financial Discount Value'
amount_financial_total
Monetary
compute='_compute_fiscal_amount'
store=True
string='Amount Financial'
amount_financial_total_gross
Monetary
compute='_compute_fiscal_amount'
store=True
string='Amount Financial Gross'
amount_freight_value
Monetary
compute='_compute_fiscal_amount'
inverse='_inverse_amount_freight'
store=True
string='Freight Value'
amount_ibs_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='IBS Base'
amount_ibs_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='IBS Value'
amount_icms_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS Base'
amount_icms_destination_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS Destination Value'
amount_icms_origin_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS Origin Value'
amount_icms_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS Value'
amount_icmsfcp_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS FCP Base'
amount_icmsfcp_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS FCP Value'
amount_icmsfcpst_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS FCP ST Value'
amount_icmssn_credit_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMSSN Credit Value'
amount_icmsst_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS ST Base'
amount_icmsst_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS ST Value'
amount_ii_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='II Base'
amount_ii_customhouse_charges
Monetary
compute='_compute_fiscal_amount'
store=True
string='Customhouse Charges'
amount_ii_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='II Value'
amount_inss_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='INSS Base'
amount_inss_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='INSS Value'
amount_inss_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='INSS Ret Base'
amount_inss_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='INSS Ret Value'
amount_insurance_value
Monetary
compute='_compute_fiscal_amount'
inverse='_inverse_amount_insurance'
store=True
string='Insurance Value'
amount_ipi_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='IPI Base'
amount_ipi_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='IPI Value'
amount_irpj_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='IRPJ Base'
amount_irpj_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='IRPJ Value'
amount_irpj_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='IRPJ Ret Base'
amount_irpj_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='IRPJ Ret Value'
amount_issqn_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ISSQN Base'
amount_issqn_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ISSQN Value'
amount_issqn_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ISSQN Ret Base'
amount_issqn_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ISSQN Ret Value'
amount_other_value
Monetary
compute='_compute_fiscal_amount'
inverse='_inverse_amount_other'
store=True
string='Other Costs'
amount_pis_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS Base'
amount_pis_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS Value'
amount_pis_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS Ret Base'
amount_pis_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS Ret Value'
amount_pisst_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS ST Base'
amount_pisst_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS ST Value'
amount_price_gross
Monetary
compute='_compute_fiscal_amount'
help='Amount without discount.'
store=True
string='Amount Gross'
amount_tax_withholding
Monetary
compute='_compute_fiscal_amount'
store=True
string='Tax Withholding'
comment_ids
Many2many → l10n_br_fiscal.comment
comodel_name='l10n_br_fiscal.comment'
compute='_compute_comment_ids'
domain=[('object', '=', FISCAL_COMMENT_DOCUMENT)]
store=True
string='Comments'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
currency_id
Many2one → res.currency
comodel_name='res.currency'
string='Currency'
delivery_costs
Selection
related='company_id.delivery_costs'
document_key
Char
copy=False
index=True
string='Key'
unaccent=False
document_number
Char
copy=False
index=True
unaccent=False
document_serie
Char
compute='_compute_document_serie'
store=True
string='Serie Number'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
compute='_compute_document_serie_id'
domain="[('active', '=', True),('document_type_id', '=', document_type_id)]"
store=True
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
compute='_compute_document_type_id'
precompute=True
readonly=False
store=True
fiscal_amount_tax
Monetary
compute='_compute_fiscal_amount'
store=True
fiscal_amount_total
Monetary
compute='_compute_fiscal_amount'
store=True
fiscal_amount_untaxed
Monetary
compute='_compute_fiscal_amount'
store=True
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain=<expr>
string='Operation'
fiscal_operation_type
Selection
related='fiscal_operation_id.fiscal_operation_type'
force_compute_delivery_costs_by_total
Boolean
default=False
ind_final
Selection
compute='_compute_ind_final'
inverse='_inverse_ind_final'
precompute=True
readonly=False
selection=FINAL_CUSTOMER
store=True
string='Final Consumption Operation'
ind_pres
Selection
default=NFE_IND_PRES_DEFAULT
selection=NFE_IND_PRES
string='Buyer Presence'
issuer
Selection
default=DOCUMENT_ISSUER_COMPANY
selection=DOCUMENT_ISSUER
key_check_digit
Char
string='Document Key Check Digit'
key_random_code
Char
string='Document Key Random Code'
manual_customer_additional_data
Text
help='Customer Additional data manually entered by user'
manual_fiscal_additional_data
Text
help='Fiscal Additional data manually entered by user'
operation_name
Char
compute='_compute_operation_name'
copy=False
partner_id
Many2one → res.partner
comodel_name='res.partner'
index=True
total_weight
Float
write(self, vals)
cnpj_cpf
Char
size=18
string='CNPJ/CPF'
cpfcnpj_type
Selection
default='cnpj'
selection=[('cpf', 'CPF'), ('cnpj', 'CNPJ')]
string='Type Doc Number'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
document_date
Date
string='Data'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document'
document_key
Char
size=44
document_number
Char
size=32
string='Number'
document_related_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document Related'
document_serie
Char
size=12
string='Serie'
document_total_amount
Monetary
currency_field='currency_id'
string='Valor Total'
document_total_weight
Float
string='Peso Total'
document_type_code
Char
related='document_type_id.code'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Fiscal Document Type'
l10n_br_ie_code
Char
size=16
string='Inscr. Estadual/RG'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='State'
No public methods.
active
Boolean
default=True
code
Char
size=3
unaccent=False
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
required=True
string='Fiscal Document'
fiscal_type
Selection
default=FISCAL_IN_OUT_DEFAULT
selection=FISCAL_IN_OUT
string='Type'
internal_sequence_id
Many2one → ir.sequence
comodel_name='ir.sequence'
domain="[('company_id', '=', company_id)]"
string='Sequence'
invalidate_number_id
One2many → l10n_br_fiscal.invalidate.number
comodel_name='l10n_br_fiscal.invalidate.number'
inverse_name='document_serie_id'
string='Invalidate Number Range'
name
Char
required=True
unaccent=False
sequence_number_next
Integer
related='internal_sequence_id.number_next'
check_number_in_use(self, document_number)
create(self, vals_list)
next_seq_number(self)
write(self, vals)
No new fields.
Public methods (2)doit(self)
get_document_status(self)
qrcode
Char
string='QR Code'
url_key
Char
string='QR Code URL Key'
No public methods.
code
Char
size=8
unaccent=False
document_serie_ids
One2many → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
inverse_name='document_type_id'
string='Document Series'
electronic
Boolean
string='Is Electronic?'
name
Char
size=128
prefix
Char
sufix
Char
type
Selection
required=True
selection=DOCUMENT_TYPE
string='Document Type'
get_document_serie(self, company, fiscal_operation)
icms_external_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '!=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AC'
icms_external_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '!=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AL'
icms_external_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '!=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AM'
icms_external_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '!=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AP'
icms_external_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '!=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External BA'
icms_external_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '!=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External CE'
icms_external_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '!=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External DF'
icms_external_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '!=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External ES'
icms_external_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '!=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External GO'
icms_external_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '!=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MA'
icms_external_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '!=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MG'
icms_external_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '!=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MS'
icms_external_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '!=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MT'
icms_external_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '!=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PA'
icms_external_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '!=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PB'
icms_external_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '!=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PE'
icms_external_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '!=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PI'
icms_external_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '!=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PR'
icms_external_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '!=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RJ'
icms_external_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '!=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RN'
icms_external_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '!=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RO'
icms_external_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '!=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RR'
icms_external_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '!=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RS'
icms_external_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '!=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SC'
icms_external_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '!=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SE'
icms_external_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '!=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SP'
icms_external_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '!=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External TO'
icms_fcp_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AC'
icms_fcp_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AL'
icms_fcp_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AM'
icms_fcp_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AP'
icms_fcp_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP BA'
icms_fcp_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP CE'
icms_fcp_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP DF'
icms_fcp_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ES'
icms_fcp_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP GO'
icms_fcp_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MA'
icms_fcp_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MG'
icms_fcp_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MS'
icms_fcp_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MT'
icms_fcp_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PA'
icms_fcp_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PB'
icms_fcp_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PE'
icms_fcp_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PI'
icms_fcp_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PR'
icms_fcp_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RJ'
icms_fcp_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RN'
icms_fcp_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RO'
icms_fcp_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RR'
icms_fcp_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RS'
icms_fcp_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SC'
icms_fcp_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SE'
icms_fcp_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SP'
icms_fcp_st_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AC'
icms_fcp_st_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AL'
icms_fcp_st_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AM'
icms_fcp_st_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AP'
icms_fcp_st_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST BA'
icms_fcp_st_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST CE'
icms_fcp_st_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST DF'
icms_fcp_st_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST ES'
icms_fcp_st_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST GO'
icms_fcp_st_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MA'
icms_fcp_st_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MG'
icms_fcp_st_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MS'
icms_fcp_st_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MT'
icms_fcp_st_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PA'
icms_fcp_st_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PB'
icms_fcp_st_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PE'
icms_fcp_st_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PI'
icms_fcp_st_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PR'
icms_fcp_st_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RJ'
icms_fcp_st_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RN'
icms_fcp_st_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RO'
icms_fcp_st_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RR'
icms_fcp_st_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RS'
icms_fcp_st_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SC'
icms_fcp_st_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SE'
icms_fcp_st_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SP'
icms_fcp_st_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST TO'
icms_fcp_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP TO'
icms_imported_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
string='ICMS Tax Imported'
icms_internal_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AC'
icms_internal_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AL'
icms_internal_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AM'
icms_internal_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AP'
icms_internal_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal BA'
icms_internal_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal CE'
icms_internal_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal DF'
icms_internal_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal ES'
icms_internal_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal GO'
icms_internal_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MA'
icms_internal_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MG'
icms_internal_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MS'
icms_internal_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MT'
icms_internal_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PA'
icms_internal_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PB'
icms_internal_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PE'
icms_internal_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PI'
icms_internal_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PR'
icms_internal_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RJ'
icms_internal_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RN'
icms_internal_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='ICMS Internal RO'
icms_internal_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RR'
icms_internal_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RS'
icms_internal_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SC'
icms_internal_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SE'
icms_internal_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SP'
icms_internal_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal TO'
icms_st_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AC'
icms_st_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AL'
icms_st_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AM'
icms_st_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AP'
icms_st_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST BA'
icms_st_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST CE'
icms_st_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST DF'
icms_st_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST ES'
icms_st_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST GO'
icms_st_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MA'
icms_st_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MG'
icms_st_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MS'
icms_st_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MT'
icms_st_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PA'
icms_st_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PB'
icms_st_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PE'
icms_st_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PI'
icms_st_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PR'
icms_st_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RJ'
icms_st_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RN'
icms_st_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RO'
icms_st_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RR'
icms_st_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RS'
icms_st_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SC'
icms_st_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SE'
icms_st_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SP'
icms_st_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST TO'
name
Char
index=True
required=True
tax_benefit_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AC', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AC'
tax_benefit_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AL', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AL'
tax_benefit_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AM', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AM'
tax_benefit_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AP', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AP'
tax_benefit_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('BA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit BA'
tax_benefit_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('CE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit CE'
tax_benefit_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('DF', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit DF'
tax_benefit_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('ES', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit ES'
tax_benefit_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('GO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit GO'
tax_benefit_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MA'
tax_benefit_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MG', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MG'
tax_benefit_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MS', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MS'
tax_benefit_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MT', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MT'
tax_benefit_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PA'
tax_benefit_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PB', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PB'
tax_benefit_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PE'
tax_benefit_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PI', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PI'
tax_benefit_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PR', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PR'
tax_benefit_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RJ', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='Tax Benefit RJ'
tax_benefit_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RN', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RN'
tax_benefit_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RO'
tax_benefit_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RR', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RR'
tax_benefit_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RS', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RS'
tax_benefit_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SC', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SC'
tax_benefit_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SE'
tax_benefit_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SP', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SP'
tax_benefit_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('TO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit TO'
map_tax(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None, ind_final=None)
map_tax_def_icms_difal(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None, ind_final=None)
No new fields.
Public methods (0)No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
readonly=True
required=True
date
Date
default=fields.Date.today
readonly=True
document_electronic
Boolean
readonly=True
related='document_type_id.electronic'
string='Electronic?'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
domain="[('active', '=', True),\n ('document_type_id', '=', document_type_id),\n ('company_id', '=', company_id)]"
readonly=True
required=True
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
readonly=True
required=True
justification
Char
readonly=True
required=True
name
Char
compute='_compute_name'
index=True
store=True
number_end
Integer
readonly=True
required=True
string='End Number'
number_start
Integer
readonly=True
required=True
string='Initial Number'
state
Selection
default='draft'
readonly=True
selection=[('draft', _('Draft')), ('done', _('Done'))]
string='Status'
action_invalidate(self)
unlink(self)
code
Char
size=5
No public methods.
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_national_taxation_code_rel'
string='Tax Definition'
No public methods.
code
Char
size=12
unaccent=False
code_unmasked
Char
size=10
unaccent=False
ncm_ids
Many2many → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
readonly=True
string='NCMs'
ncms
Char
string='NCM'
product_tmpl_ids
One2many
inverse_name='nbm_id'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
string='Tax Definition'
action_search_ncms(self)
create(self, vals_list)
write(self, values)
code
Char
size=12
unaccent=False
code_unmasked
Char
size=10
unaccent=False
product_tmpl_ids
One2many
inverse_name='nbs_id'
tax_estimate_ids
One2many
inverse_name='nbs_id'
No public methods.
cest_ids
Many2many → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
readonly=True
string='CESTs'
code
Char
size=10
unaccent=False
code_unmasked
Char
size=8
unaccent=False
exception
Char
size=2
nbm_ids
Many2many → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
readonly=True
string='NBMs'
piscofins_ids
Many2many → l10n_br_fiscal.tax.pis.cofins
comodel_name='l10n_br_fiscal.tax.pis.cofins'
readonly=True
string='PIS/COFINS'
product_tmpl_ids
One2many
inverse_name='ncm_id'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
string='Tax Definition'
tax_estimate_ids
One2many
inverse_name='ncm_id'
tax_ii_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_II)]
string='Tax II'
tax_ipi_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Tax IPI'
uoe_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Export UoM'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
code
Char
readonly=True
required=True
tracking=True
comment_ids
Many2many → l10n_br_fiscal.comment
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_DOCUMENT)]
string='Comment'
company_id
Many2one → res.company
comodel_name='res.company'
readonly=True
string='Company'
tracking=True
default_price_unit
Selection
default='sale_price'
readonly=True
selection=[('sale_price', _('Sale Price')), ('cost_price', _('Cost Price'))]
string='Default Price Unit?'
tracking=True
document_type_ids
One2many → l10n_br_fiscal.operation.document.type
comodel_name='l10n_br_fiscal.operation.document.type'
inverse_name='fiscal_operation_id'
readonly=True
string='Operation Document Types'
edoc_purpose
Selection
default=EDOC_PURPOSE_NORMAL
readonly=True
selection=EDOC_PURPOSE
string='Finalidade'
tracking=True
fiscal_operation_type
Selection
readonly=True
required=True
selection=FISCAL_IN_OUT_ALL
string='Type'
tracking=True
fiscal_type
Selection
default=OPERATION_FISCAL_TYPE_DEFAULT
readonly=True
required=True
selection=OPERATION_FISCAL_TYPE
tracking=True
inverse_fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
readonly=True
string='Inverse Operation'
tracking=True
line_ids
One2many → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=True
inverse_name='fiscal_operation_id'
readonly=True
string='Operation Line'
name
Char
readonly=True
required=True
tracking=True
return_fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain="[('fiscal_operation_type', '!=', fiscal_operation_type), ('fiscal_type', 'in', {'sale': ['sale_refund'], 'purchase': ['purchase_refund'], 'other': ['return_in', 'return_out'],'return_in': ['return_out'], 'return_out': ['return_in']}.get(fiscal_type, []))]"
readonly=True
string='Return Operation'
tracking=True
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
action_approve(self)
action_draft(self)
action_review(self)
copy(self, default=None)
get_document_serie(self, company, document_type)
line_definition(self, company, partner, product)
unlink(self)
color
Integer
default=0
string='Color Index'
kanban_dashboard
Text
compute='_compute_kanban_dashboard'
action_create_new(self)
get_operation_dashboard_data(self)
open_action(self)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
document_electronic
Boolean
related='document_type_id.electronic'
string='Electronic?'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
company_dependent=True
domain="[('active', '=', True),('document_type_id', '=', document_type_id)]"
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
required=True
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Operation'
name
Char
compute='_compute_name'
No public methods.
code
Char
help='Operation indicator code according to Annex VII of NT 004/2025 (e.g., 020101, 030101)'
index=True
required=True
size=6
string='Operation Indicator Code'
operation_location
Text
help='Where the operation is considered to take place according to the legislation'
string='Operation Location Consideration'
operation_type
Text
help='Type of operation according to Art. 11 of Complementary Law No. 214/2025'
required=True
supply_characteristic
Text
help='Specific characteristic of the supply execution that determines the place of supply'
supply_location
Text
help='Place of supply to be identified in the Digital Fiscal Document (DFe), such as supplier establishment, acquirer address, recipient address, or other locations depending on the operation'
required=True
string='DFe Supply Location'
No public methods.
add_to_amount
Boolean
default=True
string='Add to Document Amount?'
cfop_export_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('type_move', '=ilike', fiscal_type + '%'), ('destination', '=', '3')]"
string='CFOP Export'
cfop_external_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('type_move', '=ilike', fiscal_type + '%'), ('destination', '=', '2')]"
string='CFOP External'
cfop_internal_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('destination', '=', '1'),('type_move', '=ilike', fiscal_type + '%')]"
string='CFOP Internal'
comment_ids
Many2many → l10n_br_fiscal.comment
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_LINE)]
string='Comment'
company_tax_framework
Selection
selection=TAX_FRAMEWORK
date_end
Datetime
string='End Date'
date_start
Datetime
string='Start Date'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Operation'
fiscal_operation_type
Selection
related='fiscal_operation_id.fiscal_operation_type'
store=True
string='Fiscal Operation Type'
fiscal_type
Selection
related='fiscal_operation_id.fiscal_type'
store=True
string='Fiscal Type'
icms_origin
Selection
selection=ICMS_ORIGIN
string='Origin'
ind_ie_dest
Selection
selection=NFE_IND_IE_DEST
string='ICMS Taxpayer'
line_inverse_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=False
domain="[('fiscal_operation_type', '!=', fiscal_operation_type)]"
string='Operation Line Inverse'
line_refund_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=False
domain="[('fiscal_operation_type', '!=', fiscal_operation_type)]"
string='Operation Line Refund'
name
Char
required=True
partner_tax_framework
Selection
selection=TAX_FRAMEWORK
product_type
Selection
selection=PRODUCT_FISCAL_TYPE
string='Product Fiscal Type'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
tax_classification_id
Many2one → l10n_br_fiscal.tax.classification
comodel_name='l10n_br_fiscal.tax.classification'
string='Tax Classification'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
copy=True
inverse_name='fiscal_operation_line_id'
string='Tax Definition'
tax_icms_or_issqn
Selection
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
action_review(self)
get_document_type(self, company)
map_fiscal_taxes(self, company, partner, product=None, fiscal_price=None, fiscal_quantity=None, ncm=None, nbm=None, nbs=None, cest=None, city_taxation_code=None, national_taxation_code=None, service_type=None, ind_final=None)
unlink(self)
code
Char
required=True
size=16
default
Boolean
default=True
string='Default Profile'
ind_ie_dest
Selection
default=NFE_IND_IE_DEST_DEFAULT
required=True
selection=NFE_IND_IE_DEST
string='Contribuinte do ICMS'
is_company
Boolean
string='Is Company?'
is_public_entity
Boolean
help='Indicates whether the entity in question is a public organization or government-related entity. It encompasses a range of entities such as municipal governments, state-owned enterprises (where the government is the largest shareholder), and other government-controlled organizations.'
string='Public Entity'
name
Char
size=64
partner_ids
One2many → res.partner
comodel_name='res.partner'
compute='_compute_partner_info'
string='Partner'
partner_qty
Integer
compute='_compute_partner_info'
string='Partner Quantity'
public_entity_type
Selection
selection=PUBLIC_ENTIRY_TYPE
string='Tipo de Entidade Governamental'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='fiscal_profile_id'
string='Tax Definition'
tax_framework
Selection
default=TAX_FRAMEWORK_NORMAL
selection=TAX_FRAMEWORK
action_view_partners(self)
product_tmpl_ids
One2many
inverse_name='fiscal_genre_id'
No public methods.
No new fields.
Public methods (0)No public methods.
child_ids
One2many → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
inverse_name='parent_id'
string='Service Type Child'
internal_type
Selection
default='normal'
required=True
selection=[('view', 'View'), ('normal', 'Normal')]
parent_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
string='Parent Service Type'
product_tmpl_ids
One2many
inverse_name='service_type_id'
withholding_at_place
Boolean
help='The tax is due at the location of the provider establishment, except in the cases that this field is true, where it will be due at the place of provision.'
string='Tax Retention at place of provision'
withholding_possible
Boolean
string='Subject to withholding tax'
No public methods.
cnae_ids
Many2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal')]"
string='CNAEs'
coefficient_r
Boolean
readonly=True
name
Char
required=True
simplified_tax_range_ids
One2many → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
copy=False
inverse_name='simplified_tax_id'
string='Simplified Tax Range'
No public methods.
amount_deduced
Monetary
currency_field='currency_id'
required=True
string='Amount to be Deducted'
currency_id
Many2one → res.currency
comodel_name='res.currency'
required=True
string='Currency'
final_revenue
Monetary
currency_field='currency_id'
inital_revenue
Monetary
currency_field='currency_id'
name
Char
required=True
simplified_tax_id
Many2one → l10n_br_fiscal.simplified.tax
comodel_name='l10n_br_fiscal.simplified.tax'
string='Simplified Tax'
tax_cbs_percent
Float
digits='Fiscal Tax Percent'
string='Tax CBS Percent'
tax_cofins_percent
Float
digits='Fiscal Tax Percent'
string='Tax COFINS Percent'
tax_cpp_percent
Float
digits='Fiscal Tax Percent'
string='Tax CPP Percent'
tax_csll_percent
Float
digits='Fiscal Tax Percent'
string='Tax CSLL Percent'
tax_ibs_percent
Float
digits='Fiscal Tax Percent'
string='Tax IBS Percent'
tax_icms_percent
Float
digits='Fiscal Tax Percent'
string='Tax ICMS Percent'
tax_ipi_percent
Float
digits='Fiscal Tax Percent'
string='Tax IPI Percent'
tax_irpj_percent
Float
digits='Fiscal Tax Percent'
string='Tax IRPJ Percent'
tax_iss_percent
Float
digits='Fiscal Tax Percent'
string='Tax ISS Percent'
tax_pis_percent
Float
digits='Fiscal Tax Percent'
string='Tax PIS Percent'
total_tax_percent
Float
digits='Fiscal Tax Percent'
string='Tax Percent'
No public methods.
compute_sequence
Integer
help='The sequence field is used to define order in which the tax lines are applied.'
related='tax_group_id.compute_sequence'
cst_in_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', ('in', 'all')), ('tax_domain', '=', tax_domain)]"
string='CST In'
cst_out_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', ('out', 'all')), ('tax_domain', '=', tax_domain)]"
string='CST Out'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
string='Currency'
icms_base_type
Selection
default=ICMS_BASE_TYPE_DEFAULT
required=True
selection=ICMS_BASE_TYPE
icmsst_base_type
Selection
default=ICMS_ST_BASE_TYPE_DEFAULT
required=True
selection=ICMS_ST_BASE_TYPE
string='ICMS ST Base Type'
icmsst_mva_percent
Float
digits='Fiscal Tax Percent'
required=True
string='MVA Percent'
icmsst_value
Float
digits='Fiscal Tax Value'
required=True
string='PFC Value'
name
Char
required=True
size=256
percent_amount
Float
digits='Fiscal Tax Percent'
required=True
string='Percent'
percent_debit_credit
Float
digits='Fiscal Tax Percent'
required=True
string='Percent Debit/Credit'
percent_reduction
Float
digits='Fiscal Tax Percent'
required=True
sequence
Integer
help='The sequence field is used to define the order in which taxes are displayed.'
related='tax_group_id.sequence'
store=True
tax_base_type
Selection
compute='_compute_tax_base_type'
default=TAX_BASE_TYPE_PERCENT
required=True
selection=TAX_BASE_TYPE
store=True
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
required=True
string='Fiscal Tax Group'
tax_scope
Selection
related='tax_group_id.tax_scope'
store=True
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
value_amount
Float
digits='Fiscal Tax Value'
required=True
string='Value'
compute_taxes(self, **kwargs)
cst_from_tax(self, fiscal_operation_type=FISCAL_OUT)
code
Char
size=8
credit_reversal
Boolean
default=False
cst_code_prefix_like
Char
compute='_compute_cst_code_prefix_like'
help='Helper field to filter taxes by CST code prefix (3 chars) using LIKE.'
description
Text
document_type_ids
Many2many → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
help='Related Digital Fiscal Documents'
relation='tax_classification_document_type_rel'
string='Related DFes'
presumed_credit
Boolean
default=False
rate_type
Selection
default=TAX_RATE_TYPE_DEFAULT
required=True
selection=TAX_RATE_TYPE
regular_taxation
Boolean
default=False
tax_cbs_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=<expr>
string='Tax CBS'
tax_ibs_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=<expr>
string='Tax IBS'
No public methods.
benefit_type
Selection
readonly=True
selection=ICMS_TAX_BENEFIT_TYPE
cest_ids
Many2many → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
readonly=True
string='CESTs'
cests
Text
readonly=True
string='CEST List'
cfop_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
string='CFOP'
city_taxation_code_ids
Many2many → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
relation='tax_definition_city_taxation_code_rel'
string='City Taxation Codes'
code
Char
readonly=True
size=8
company_id
Many2one → res.company
comodel_name='res.company'
readonly=True
string='Company'
cst_code
Char
related='cst_id.code'
string='CST Code'
cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', (type_in_out, 'all')), ('tax_group_id', '=', tax_group_id)]"
readonly=True
string='CST'
custom_tax
Boolean
readonly=True
date_end
Datetime
readonly=True
string='End Date'
date_start
Datetime
readonly=True
string='Start Date'
description
Text
readonly=True
fiscal_operation_line_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
string='Operation Line'
fiscal_profile_id
Many2one → l10n_br_fiscal.partner.profile
comodel_name='l10n_br_fiscal.partner.profile'
string='Partner Profile'
icms_regulation_id
Many2one → l10n_br_fiscal.icms.regulation
comodel_name='l10n_br_fiscal.icms.regulation'
string='ICMS Regulation'
ind_final
Selection
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
ipi_guideline_id
Many2one → l10n_br_fiscal.tax.ipi.guideline
comodel_name='l10n_br_fiscal.tax.ipi.guideline'
domain="['|', ('cst_in_id', '=', cst_id), ('cst_out_id', '=', cst_id)]"
string='IPI Guideline'
is_benefit
Boolean
readonly=True
string='Benefit?'
is_debit_credit
Boolean
readonly=True
string='Debit/Credit?'
is_taxed
Boolean
readonly=True
string='Taxed?'
name
Char
readonly=True
national_taxation_code_ids
Many2many → l10n_br_fiscal.national.taxation.code
comodel_name='l10n_br_fiscal.national.taxation.code'
relation='tax_definition_national_taxation_code_rel'
string='National Taxation Codes'
nbm_ids
Many2many → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
readonly=True
string='NBMs'
nbms
Text
readonly=True
string='NBM List'
ncm_exception
Text
readonly=True
string='NCM Exeption'
ncm_ids
Many2many → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
readonly=True
string='NCMs'
ncms
Text
readonly=True
string='NCM List'
not_in_nbms
Text
readonly=True
string='Not in NBMs'
not_in_ncms
Text
readonly=True
string='Not in NCMs'
product_ids
Many2many → product.product
comodel_name='product.product'
string='Products'
service_type_ids
Many2many → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
string='Fiscal Service Types'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
state_from_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
readonly=True
string='From State'
state_to_ids
Many2many → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
readonly=True
string='To States'
tax_domain
Selection
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
readonly=True
required=True
string='Tax Group'
tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain="[('tax_group_id', '=', tax_group_id)]"
readonly=True
string='Tax'
type_in_out
Selection
default=FISCAL_OUT
readonly=True
required=True
selection=FISCAL_IN_OUT
string='Type'
action_approve(self)
action_draft(self)
action_review(self)
action_search_cests(self)
action_search_nbms(self)
action_search_ncms(self)
create(self, vals_list)
map_tax_definition(self, company, partner, product, ncm=None, nbm=None, nbs=None, cest=None, city_taxation_code=None, national_taxation_code=None, service_type=None)
unlink(self)
write(self, values)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
create_date
Datetime
readonly=True
federal_taxes_import
Float
digits='Fiscal Tax Percent'
string='Impostos Federais Importado'
federal_taxes_national
Float
digits='Fiscal Tax Percent'
string='Impostos Federais Nacional'
key
Char
size=32
municipal_taxes
Float
digits='Fiscal Tax Percent'
string='Impostos Municipais Nacional'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
string='NCM'
origin
Char
size=32
string='Source'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
required=True
string='State'
state_taxes
Float
digits='Fiscal Tax Percent'
string='Impostos Estaduais Nacional'
No public methods.
base_with_additional_values
Boolean
default=True
string='Add the value of freight, insurance and others to the Base'
base_without_icms
Boolean
default=False
string='Remove ICMS value from Base'
compute_sequence
Integer
default=10
help='The sequence field is used to define order in which the tax lines are applied.'
required=True
cst_ids
One2many → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
inverse_name='tax_group_id'
string='CSTs'
name
Char
required=True
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='WH Partner'
sequence
Integer
default=10
help='The sequence field is used to define the order in which taxes are displayed.'
required=True
tax_domain
Selection
required=True
selection=TAX_DOMAIN
tax_ids
One2many → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
inverse_name='tax_group_id'
string='Taxes'
tax_include
Boolean
default=False
string='Tax Included in Price'
tax_scope
Selection
required=True
selection=[('city', _('City')), ('state', _('State')), ('federal', _('Federal')), ('other', _('Other'))]
tax_withholding
Boolean
default=False
wh_due_day
Integer
string='Due Day'
No public methods.
No new fields.
Public methods (0)No public methods.
code
Char
size=3
cst_group
Selection
required=True
selection=IPI_GUIDELINE_GROUP
string='Group'
cst_in_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain=[('domain', '=', TAX_DOMAIN_IPI), ('cst_type', '=', FISCAL_IN)]
string='CST In'
cst_out_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain=[('domain', '=', TAX_DOMAIN_IPI), ('cst_type', '=', FISCAL_OUT)]
string='CST Out'
No public methods.
No new fields.
Public methods (0)No public methods.
code
Char
required=True
name
Text
index=True
required=True
ncm_exception
Char
string='NCM Exeption'
ncm_ids
Many2many → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
compute='_compute_ncms'
readonly=True
store=True
string='NCMs'
ncms
Char
string='NCM'
not_in_ncms
Char
string='Not in NCM'
piscofins_type
Selection
default='ncm'
index=True
required=True
selection=[('ncm', _('NCM')), ('product', _('Product')), ('company', _('Company'))]
string='Type'
tax_cofins_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS)]
string='Tax COFINS'
tax_cofins_st_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_ST)]
string='Tax COFINS ST'
tax_pis_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS)]
string='Tax PIS'
tax_pis_st_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_ST)]
string='Tax PIS ST'
No public methods.
code
Char
size=2
No public methods.
code
Char
size=3
No public methods.
No new fields.
Public methods (0)No public methods.
cest_id
Many2one → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='CEST'
city_taxation_code_ids
Many2many → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
string='City Taxation Code'
fiscal_genre_code
Char
related='fiscal_genre_id.code'
store=True
string='Fiscal Product Genre Code'
fiscal_genre_id
Many2one → l10n_br_fiscal.product.genre
comodel_name='l10n_br_fiscal.product.genre'
compute='_compute_fiscal_genre_id'
readonly=False
store=True
string='Fiscal Product Genre'
fiscal_type
Selection
company_dependent=True
selection=PRODUCT_FISCAL_TYPE
icms_origin
Selection
company_dependent=True
default=ICMS_ORIGIN_DEFAULT
selection=ICMS_ORIGIN
string='ICMS Origin'
ipi_control_seal_id
Many2one → l10n_br_fiscal.tax.ipi.control.seal
comodel_name='l10n_br_fiscal.tax.ipi.control.seal'
string='IPI Control Seal'
ipi_guideline_class_id
Many2one → l10n_br_fiscal.tax.ipi.guideline.class
comodel_name='l10n_br_fiscal.tax.ipi.guideline.class'
string='IPI Guideline Class'
national_taxation_code_id
Many2one → l10n_br_fiscal.national.taxation.code
comodel_name='l10n_br_fiscal.national.taxation.code'
string='National Taxation Code'
nbm_id
Many2one → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
index=True
string='NBM'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
index=True
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
compute='_compute_ncm_id'
default=_get_default_ncm_id
index=True
readonly=False
store=True
string='NCM'
operation_indicator_id
Many2one → l10n_br_fiscal.operation.indicator
comodel_name='l10n_br_fiscal.operation.indicator'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain="[('internal_type', '=', 'normal')]"
string='Service Type LC 166'
tax_icms_or_issqn
Selection
compute='_compute_tax_icms_or_issqn'
default=TAX_DOMAIN_ICMS
readonly=False
selection=TAX_ICMS_OR_ISSQN
store=True
string='ICMS or ISSQN Tax'
type
Selection
ondelete={'product': 'set consu'}
selection_add=[('product', 'Storable Product')]
uoe_factor
Float
default=1.0
string='Export UoM Factor'
uoe_id
Many2one → uom.uom
comodel_name='uom.uom'
related='ncm_id.uoe_id'
store=True
string='Export UoM'
uot_factor
Float
string='Tax UoM Factor'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
accountant_id
Many2one → res.partner
comodel_name='res.partner'
string='Accountant'
accounting_office
Many2one → res.partner
comodel_name='res.partner'
annual_revenue
Monetary
currency_field='currency_id'
cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
compute='_compute_address'
domain="[('internal_type', '=', 'normal'), ('id', 'not in', cnae_secondary_ids)]"
inverse='_inverse_cnae_main_id'
string='Main CNAE'
cnae_secondary_ids
Many2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal'), ('id', '!=', cnae_main_id)]"
string='Secondary CNAE'
coefficient_r
Boolean
compute='_compute_simplified_tax'
readonly=True
store=True
coefficient_r_percent
Float
compute='_compute_simplified_tax'
readonly=True
store=True
string='Coefficient R (%)'
delivery_costs
Selection
default='line'
help='Define if costs of Insurance, Freight and Other Costs should be informed by Line or by Total.'
selection=[('line', 'By Line'), ('total', 'By Total')]
document_save_disk
Boolean
default=True
string='Save Documents to disk'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Default Document Type'
ibpt_api
Boolean
default=False
string='Use IBPT API'
ibpt_token
Char
ibpt_update_days
Integer
default=15
string='IBPT Token Updates'
icms_regulation_id
Many2one → l10n_br_fiscal.icms.regulation
comodel_name='l10n_br_fiscal.icms.regulation'
string='ICMS Regulation'
industry_type
Selection
default=INDUSTRY_TYPE_TRANSFORMATION
selection=INDUSTRY_TYPE
is_industry
Boolean
default=False
help='If your company is industry or ......'
legal_nature_id
Many2one → l10n_br_fiscal.legal.nature
comodel_name='l10n_br_fiscal.legal.nature'
compute='_compute_address'
inverse='_inverse_legal_nature_id'
string='Legal Nature'
payroll_amount
Monetary
currency_field='currency_id'
string='Last Period Payroll Amount'
piscofins_id
Many2one → l10n_br_fiscal.tax.pis.cofins
comodel_name='l10n_br_fiscal.tax.pis.cofins'
domain="[('piscofins_type', '=', 'company')]"
string='PIS/COFINS'
processador_edoc
Selection
default=PROCESSADOR_NENHUM
selection=PROCESSADOR
string='Processador documentos eletrônicos'
profit_calculation
Selection
default=PROFIT_CALCULATION_PRESUMED
selection=PROFIT_CALCULATION
ripi
Boolean
string='RIPI'
simplified_tax_id
Many2one → l10n_br_fiscal.simplified.tax
comodel_name='l10n_br_fiscal.simplified.tax'
compute='_compute_simplified_tax'
readonly=True
store=True
string='Simplified Tax'
simplified_tax_percent
Float
compute='_compute_simplified_tax'
digits='Fiscal Tax Percent'
store=True
simplified_tax_range_id
Many2one → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
compute='_compute_simplified_tax'
readonly=True
store=True
string='Simplified Tax Range'
tax_classification_id
Many2one → l10n_br_fiscal.tax.classification
comodel_name='l10n_br_fiscal.tax.classification'
string='Default Tax Classification'
tax_cofins_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_WH)]
string='Default COFINS RET'
tax_csll_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL)]
string='Default CSLL'
tax_csll_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL_WH)]
string='Default CSLL RET'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='company_id'
string='Tax Definition'
tax_framework
Selection
compute='_compute_address'
default=TAX_FRAMEWORK_NORMAL
inverse='_inverse_tax_framework'
selection=TAX_FRAMEWORK
tax_icms_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', 'in', (TAX_DOMAIN_ICMS, TAX_DOMAIN_ICMS_SN))]
string='Default ICMS'
tax_inss_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS)]
string='Default INSS'
tax_inss_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS_WH)]
string='Default INSS RET'
tax_ipi_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Default IPI'
tax_irpj_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ)]
string='Default IRPJ'
tax_irpj_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ_WH)]
string='Default IRPJ RET'
tax_issqn_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN)]
string='Default ISSQN'
tax_issqn_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN_WH)]
string='Default ISSQN RET'
tax_pis_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_WH)]
string='Default PIS RET'
technical_support_id
Many2one → res.partner
comodel_name='res.partner'
string='Technical Support'
No public methods.
delivery_costs
Selection
readonly=False
related='company_id.delivery_costs'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
related='company_id.document_type_id'
string='Default Document Type'
ibpt_api
Boolean
readonly=False
related='company_id.ibpt_api'
string='Use IBPT API'
ibpt_token
Char
readonly=False
related='company_id.ibpt_token'
string='IBPT Token'
ibpt_update_days
Integer
readonly=False
related='company_id.ibpt_update_days'
string='IBPT Update'
module_l10n_br_cte
Boolean
string='CT-e'
module_l10n_br_mdfe
Boolean
string='MDF-e'
module_l10n_br_nfe
Boolean
string='NF-e/NFC-e'
module_l10n_br_nfse
Boolean
string='NFS-e'
No public methods.
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain="['|', ('state_from_ids', '=', id), ('state_to_ids', '=', id)]"
string='Tax Definitions'
No public methods.
city_id
Many2one
tracking=True
cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain=[('internal_type', '=', 'normal')]
string='Main CNAE'
cnae_secondary_ids
Many2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal'), ('id', '!=', cnae_main_id)]"
string='Secondary CNAEs'
fiscal_profile_id
Many2one → l10n_br_fiscal.partner.profile
comodel_name='l10n_br_fiscal.partner.profile'
default=_default_fiscal_profile_id
domain="[('is_company', '=', is_company)]"
inverse='_inverse_fiscal_profile'
string='Fiscal Partner Profile'
tracking=True
ind_final
Selection
default=FINAL_CUSTOMER_NO
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
tracking=True
ind_ie_dest
Selection
default=NFE_IND_IE_DEST_DEFAULT
required=True
selection=NFE_IND_IE_DEST
string='Contribuinte do ICMS'
tracking=True
is_company
Boolean
tracking=True
is_public_entity
Boolean
help='Indicates whether the entity in question is a public organization or government-related entity. It encompasses a range of entities such as municipal governments, state-owned enterprises (where the government is the largest shareholder), and other government-controlled organizations.'
string='Public Entity'
l10n_br_ie_code
Char
tracking=True
l10n_br_im_code
Char
tracking=True
legal_nature_id
Many2one → l10n_br_fiscal.legal.nature
comodel_name='l10n_br_fiscal.legal.nature'
string='Legal Nature'
nif_motive_absence
Selection
default=False
selection=[('0', 'Not informed in the origin note'), ('1', 'Exemption from NIF'), ('2', 'NIF not required')]
string='NIF motive absence'
public_entity_type
Selection
selection=PUBLIC_ENTIRY_TYPE
string='Tipo de Entidade Governamental'
rntrc_code
Char
size=12
string='RNTRC Code'
tracking=True
unaccent=False
state_id
Many2one
tracking=True
tax_framework
Selection
default=TAX_FRAMEWORK_NORMAL
selection=TAX_FRAMEWORK
tracking=True
vat
Char
tracking=True
No public methods.
code
Char
help="Abbreviated unit code used in electronic fiscal documents (e.g. NF-e, NFC-e). Must have a maximum of 6 characters by regulation. e.g. 'UN', 'KG', 'LITRO', 'CX12UN"
size=6
translate=False
description
Char
help="Full unit description. e.g. 'Unit', 'Kilogram', 'Box of 12 Units'."
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-brazil |
| GIT | |
| GIT | https://github.com/OCA/l10n-brazil.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-brazil/tree/16.0/l10n_br_fiscal |
| VERSION | |
| VERSION | 21.3.1 |
| CATEGORY | |
| CATEGORY | Localisation |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | Yes |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Raphaël Valyi, Renato Lima, Weblate, OCA-git-bot, Magno Costa, oca-ci, Marcel Savegnago, Antonio Neto, Antônio Neto, CristianoMafraJunior, Felipe Motter Pereira, Felipe Motter, Cristiano Mafra Junior, MateusONunes |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/l10n-brazil |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:11:56 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/l10n-brazil: - l10n_br_base OCA/product-attribute: - uom_alias odoo/odoo: - product - base - base_setup - web - bus - web_tour - uom - base_address_extended |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
erpbrasil.base email-validator num2words phonenumbers |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | 
## Classificações fiscais
Primeramente, este módulo traz uma variedade de cadastros fiscais para
produtos, parceiros ou empresas. Na hora de emitir documentos fiscais
como NF-e, NFS-e etc... até empresas do regime simplificado ou MEI
precisam de vários desses cadastros. E empresas do regime normal
precisam deles para calcular os impostos ou emitir documentos fiscais.
Produtos:
- tipo fiscal
- NCM (com ligações com os impostos)
- genêro fiscal
- CEST
- NBM
- NBS
- tipo de serviço
- unidades fiscais
Parceiros:
- CNAE
- perfil fiscal
## Conceito de documento fiscal
O Odoo nativo não tem o conceito de documento fiscal. O conceito mais
parecido seria o `account.move` e até a versão 10.0 a localização
estendia o invoice para suportar as NF-e e NFS-e apenas. Naquela época
não era razoável você cogitar fazer o SPED no Odoo, o próprio core do
Odoo não tinha maturidade para isso então era válido a abordagem
empírica de ir suportando mais casos de NFe dentro do invoice Odoo
apenas.
Porém, na v12, amadurecemos o framework XML/SOAP de forma que se torna
razoável suportar vários documentos fiscais (NF-e, NFS-e, MDF-e, CT-e,
EFD-Reinf, e-Social, GNRE, BP-e...) com a qualidade OCA dentro do Odoo.
Também, apesar de complexo, o core do Odoo finalmente tem suporte
suficiente para as operações de uma empresa que faria o SPED.
Nisso se torna interessante ter o conceito de documento fiscal
`l10n_br_fiscal.document` independente do invoice Odoo para suportar
todos os documentos fiscais mesmo, de forma modular. Um outro motivo
para ter o conceito de documento fiscal fora do módulo account é que
quando você analisa o código deste módulo `l10n_br_fiscal`, quase nada
dele poderia ser feito pelo módulo account do Odoo. Então ter esse
módulo l10n_br_fiscal que não depende do módulo account também é uma
forma de modularizar a localização para facilitar a manutenção dela,
especialmente quando se trata de migrar e que o módulo pode ter mudado
bastante como foi o caso entre a v8.0 e a v9.0 ou a v12.0 e v13.0 por
exemplo. Facilita também a governança do projeto possibilitando que
pessoas sejam responsáveis por diferentes partes. O módulo
l10n_br_fiscal foi principalmente extraído do módulo
l10n_br_l10n_br_account_product das v7.0 as v.10.0.
Esse módulo `l10n_br_fiscal` é agnóstico de qualquer tecnologia XML ou
SOAP. Ele contém apenas o que há de comum entre os documentos fiscais
mas esses últimos são implementados em outros módulos. Para um
determinado documento fiscal como a Nf-e, você tem então por exemplo:
- `nfelib`: um pacote de data bindings puro Python (que não depende do
Odoo). Em geral usamos um gerador de código para gerar esses bindings
a partir dos esquemas XSD da fazenda.
- `l10n_br_nfe_spec`: um modulo de mixins Odoo geridos também a partir
dos XSD. Esses mixins são apenas as estruturas de dados das
especificações antes de ser injectados em objetos Odoo existantes
(como res.partner ou l10n_br_fiscal.document) ou até tornados
concretos caso não exite objetos na Odoo ou na OCA para eles já.
- `l10n_br_nfe`: um módulo Odoo que trata de injectar esses mappings
fiscais nos objetos Odoo e que implementa a lógica como os wizards
para a transmissão.
A transmissão é realizada usando uma lib de transmissão como
`erpbrasil.doc` (baseada em Python Zeep). Importante: no caso da
`NFS-e`, a ausência de padrão nacional hoje e a simplicidade do modelo
(comparado com a NFe) faz que foi decidido de não usar um módulo de
mixins fiscais Odoo geridos, o mapping é com a lib de binding é feito
manualmente, família de NFS-e por família.
Alem disso a maioria do codigo do `l10n_br_fiscal.document` e das linhas
dele `l10n_br_fiscal.document.line` é na verdade feito dentro de mixins
`10n_br_fiscal.document.mixin` e `10n_br_fiscal.document.line.mixin`
respectivamente. Esses mixins podem assim ser injectados em outros
objetos Odoo que precedem os documentos fiscais e podem armazenar então
o mesmo tipo de informação: `sale.order`, `purchase.order`,
`stock.picking`... Isso é bem visível nos módulos que estendem esse
módulo:
``` text
|-- l10n_br_fiscal
|-- l10n_br_sale
|-- l10n_br_purchase
|-- l10n_br_account
|-- ...
```
Porem o caso do invoice Odoo no modulo `l10n_br_account` é diferente
ainda. Pois já se tem a tabela independente do documento fiscal cuja
grande maioria das dezenas e até centenas de campos fiscais (no caso de
muitos tipos de documentos fiscais) não são redundante com os do invoice
Odoo. Se a gente injetasse esses mixins dentro do invoice, aí sim essas
centenas de campos seriam duplicados entre o invoice e o documento
fiscal. Por isso, o sistema que foi adotado no modulo `l10n_br_account`
é que um invoice Odoo passa a ter um
`_inherits = "l10n_br_fiscal.document"` de forma que se pilota o
documento fiscal através do invoice, oferecendo o mesmo tipo de
integração como antes. O mesmo tipo de mecanismo acontece com a linha do
documento fiscal.
Sendo assim, já pelos \_inherits, o invoice Odoo e as linhas dele já vão
puxar todos campos fiscais como se eles fossem das suas respectivas
tabelas sem duplicar eles no banco. Se alem disso a gente injetasse os
mixins `10n_br_fiscal.document.mixin` e
`10n_br_fiscal.document.line.mixin` no invoice e invoice.line, esses
campos fiscais apareceriam também nas tabelas `account_move` e
`account_move_line` de forma redundantes com os campos puxados pelos
\_inherits. Para não ter esse problema, os métodos fiscais comuns (sem
os campos) foram ainda extraidos nos mixins:
`10n_br_fiscal.document.mixin.methods` e
`10n_br_fiscal.document.line.mixin.methods` que são injectados nos
objetos `account_move` e `account_move_line` respectivamente dentro do
modulo `l10n_br_account`.
## Impostos brasileiros
O módulo l10n_br_fiscal lida com os principais impostos brasileiros
como:
- ICMS do Simples Nacional
- ICMS do Regime normal
- IPI
- PIS
- COFINS
- ISSQN
- IRPJ
- II
- CSLL
- INSS
O módulo l10n_br_fiscal também lida com:
- ST
- retenções


É notório que o cálculo dos impostos no Brasil é muito especial e muito
trabalhoso. Geralmente é o motivo pelo qual os ERPs internacionais não
tem grande fatia de mercado brasileiro.
Até a versão 10.0, tentamos usar e estender o objeto Odoo `account.tax`.
A Akretion até criou o projeto `OCA/account-fiscal-rule` para determinar
as alíquotas de cada imposto de accordo com os parâmetros da operação
fiscal. Porém, a gente acabava usando quase nada do
`account.fiscal.position` nativo na parte fiscal e pelo contrário, isso
nos obrigava a ter um registro `account.tax` para cada aliquota e nos
obrigava a manter centenas de taxas e dezenas de milhares de regras para
selecionar a "posição fiscal" Odoo que aplicaria as taxas corretas. E
você ainda tinha que gerir essas dezenas de milhares de regras para uma
determinada empresa do regime normal. Conclusão: era inviável nos
projetos menores de tentar se encaixa na lógica do Odoo para calcular os
impostos brasileiros.
Nisso criamos neste módulo os modelos de taxas que representam
exatamente o funcionamentos dos impostos brasileiros. Além dos cálculos,
esses modelos também nos servem a carregar as tabelas dos impostos. E
mais adiante, no módulo `l10n_br_account`, ligamos os objetos nativos
`account.tax` as alíquotas dos impostos brasileiros.
Claro esses modelos dos impostos atendem as empresas do regime normal,
mas é bom lembrar que até empresas do regime simplificado precisam
desses modelos para realizar as operações com ST (Substituição
Tributária)...
## Operações fiscais
> 
No Odoo nativo, o conceito mais parecido com a operação fiscal e o
`account.fiscal.position`. E ate a versão 10.0, era o que a gente usava.
Porém, a posição fiscal do Odoo não resolve muito os nossos problemas
pois:
- no Brasil se tem uma operação fiscal por linha de documento fiscal
- a posição fiscal do Odoo desconhece a lógica da parametrização fiscal
brasileira
- já que puxamos o cadastro dos impostos no módulo l10n_br_fiscal fora
do módulo account (sem depender dele), não temos ainda o objeto
`account.fiscal.position` neste módulo.
Com tudo, optamos por criar um objeto `l10n_br_fiscal.operation` que faz
exactamente o que precisamos para o Brasil. Mais adiante, no módulo
`l10n_br_account` é realizado a integração entre a posição fiscal do
Odoo e essa operação fiscal. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cest_form |
l10n_br_fiscal.cest.form | l10n_br_fiscal.cest | group | Inherits data_abstract_form |
cest_search |
l10n_br_fiscal.cest.search | l10n_br_fiscal.cest | field | Inherits data_abstract_search |
cest_tree |
l10n_br_fiscal.cest.tree | l10n_br_fiscal.cest | field | Inherits data_abstract_tree |
cfop_form |
l10n_br_fiscal.cfop.form | l10n_br_fiscal.cfop | field | Inherits data_abstract_form |
cfop_search |
l10n_br_fiscal.cfop.search | l10n_br_fiscal.cfop | field | Inherits data_abstract_search |
cfop_tree |
l10n_br_fiscal.cfop.tree | l10n_br_fiscal.cfop | field | Inherits data_abstract_tree |
city_taxation_code_form_view |
city.taxation.code.form (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | field | Inherits data_abstract_form |
city_taxation_code_search_view |
city.taxation.code.search (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | field | Inherits data_abstract_search |
city_taxation_code_tree_view |
city.taxation.code.tree (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | field | Inherits data_abstract_tree |
cnae_form |
l10n_br_fiscal.cnae.form | l10n_br_fiscal.cnae | field | Inherits data_abstract_form |
cnae_search |
l10n_br_fiscal.cnae.search | l10n_br_fiscal.cnae | group | Inherits data_abstract_search |
cnae_tree |
l10n_br_fiscal.cnae.tree | l10n_br_fiscal.cnae | field | Inherits data_abstract_tree |
comment_form |
l10n_br_fiscal.comment.form | l10n_br_fiscal.comment | form | New |
comment_search |
l10n_br_fiscal.comment.search | l10n_br_fiscal.comment | search | New |
comment_tree |
l10n_br_fiscal.comment.tree | l10n_br_fiscal.comment | tree | New |
cst_form |
l10n_br_fiscal.cst.form | l10n_br_fiscal.cst | field | Inherits data_abstract_form |
cst_search |
l10n_br_fiscal.cst.search | l10n_br_fiscal.cst | field | Inherits data_abstract_search |
cst_tree |
l10n_br_fiscal.cst.tree | l10n_br_fiscal.cst | field | Inherits data_abstract_tree |
data_abstract_form |
l10n_br_fiscal.data.abstract.form | l10n_br_fiscal.data.abstract | form | New |
data_abstract_search |
l10n_br_fiscal.data.abstract.search | l10n_br_fiscal.data.abstract | search | New |
data_abstract_tree |
l10n_br_fiscal.data.abstract.tree | l10n_br_fiscal.data.abstract | tree | New |
document_fiscal_line_mixin_form |
l10n_br_fiscal.document.line.mixin.form | l10n_br_fiscal.document.line | form | New |
document_form |
l10n_br_fiscal.document.form | l10n_br_fiscal.document | form | New |
document_import_wizard_form |
document.import.wizard.form | l10n_br_fiscal.document.import.wizard | form | New |
document_line_form |
l10n_br_fiscal.document.line.form | l10n_br_fiscal.document.line | form | New |
document_related_form |
l10n_br_fiscal.document.related.form | l10n_br_fiscal.document.related | form | New |
document_related_tree |
l10n_br_fiscal.document.related.tree | l10n_br_fiscal.document.related | tree | New |
document_search |
l10n_br_fiscal.document.search | l10n_br_fiscal.document | search | New |
document_serie_form |
l10n_br_fiscal.document.serie.form | l10n_br_fiscal.document.serie | form | New |
document_serie_tree |
l10n_br_fiscal.document.serie.tree | l10n_br_fiscal.document.serie | tree | New |
document_tree |
l10n_br_fiscal.document.tree | l10n_br_fiscal.document | tree | New |
document_type_form |
l10n_br_fiscal.document.type.form | l10n_br_fiscal.document.type | form | New |
document_type_tree |
l10n_br_fiscal.document.type.tree | l10n_br_fiscal.document.type | tree | New |
fiscal_res_company_form |
l10n_br_fiscal.res.company.form | res.company | notebook | Inherits base.view_company_form |
invalidate_number_form |
l10n_br_fiscal.invalidate.number.form | l10n_br_fiscal.invalidate.number | form | New |
invalidate_number_search |
l10n_br_fiscal.invalidate.number.search | l10n_br_fiscal.invalidate.number | search | New |
invalidate_number_tree |
l10n_br_fiscal.invalidate.number.tree | l10n_br_fiscal.invalidate.number | tree | New |
l10n_br_fiscal_res_config_settings_form |
l10n_br_fiscal.res.config.settings.view.form | res.config.settings | xpath | Inherits base.res_config_settings_view_form |
legal_nature_form |
l10n_br_fiscal.legal.nature.form | l10n_br_fiscal.legal.nature | xpath | Inherits data_abstract_form |
legal_nature_search |
l10n_br_fiscal.legal.nature.search | l10n_br_fiscal.legal.nature | xpath | Inherits data_abstract_search |
legal_nature_tree |
l10n_br_fiscal.legal.nature.tree | l10n_br_fiscal.legal.nature | xpath | Inherits data_abstract_tree |
national_taxation_code_form_view |
national.taxation.code.form (in l10n_br_fiscal) | l10n_br_fiscal.national.taxation.code | xpath | Inherits data_abstract_form |
national_taxation_code_search_view |
national.taxation.code.search (in l10n_br_fiscal) | l10n_br_fiscal.national.taxation.code | xpath | Inherits data_abstract_search |
national_taxation_code_tree_view |
national.taxation.code.tree (in l10n_br_fiscal) | l10n_br_fiscal.national.taxation.code | xpath | Inherits data_abstract_tree |
nbm_form |
l10n_br_fiscal.nbm.form | l10n_br_fiscal.nbm | form | New |
nbm_kanban |
l10n_br_fiscal.nbm.kanban | l10n_br_fiscal.ncm | kanban | New |
nbm_search |
l10n_br_fiscal.nbm.search | l10n_br_fiscal.nbm | search | New |
nbm_tree |
l10n_br_fiscal.nbm.tree | l10n_br_fiscal.nbm | tree | New |
nbs_form |
l10n_br_fiscal.nbs.form | l10n_br_fiscal.nbs | form | New |
nbs_kanban |
l10n_br_fiscal.nbs.kanban | l10n_br_fiscal.nbs | kanban | New |
nbs_search |
l10n_br_fiscal.nbs.search | l10n_br_fiscal.nbs | search | New |
nbs_tree |
l10n_br_fiscal.nbs.tree | l10n_br_fiscal.nbs | tree | New |
ncm_form |
l10n_br_fiscal.ncm.form | l10n_br_fiscal.ncm | form | New |
ncm_kanban |
l10n_br_fiscal.ncm.kanban | l10n_br_fiscal.ncm | kanban | New |
ncm_search |
l10n_br_fiscal.ncm.search | l10n_br_fiscal.ncm | search | New |
ncm_tree |
l10n_br_fiscal.ncm.tree | l10n_br_fiscal.ncm | tree | New |
operation_dashboard_kanban |
l10n_br_fiscal.operation.dashboard.kanban | l10n_br_fiscal.operation | kanban | New |
operation_form |
l10n_br_fiscal.operation.form | l10n_br_fiscal.operation | form | New |
operation_indicator_form |
l10n_br_fiscal.operation.indicator.form | l10n_br_fiscal.operation.indicator | form | New |
operation_indicator_search |
l10n_br_fiscal.operation.indicator.search | l10n_br_fiscal.operation.indicator | search | New |
operation_indicator_tree |
l10n_br_fiscal.operation.indicator.tree | l10n_br_fiscal.operation.indicator | tree | New |
operation_line_form |
l10n_br_fiscal.operation.line.form | l10n_br_fiscal.operation.line | form | New |
operation_line_tree |
l10n_br_fiscal.operation.line.tree | l10n_br_fiscal.operation.line | tree | New |
operation_search |
l10n_br_fiscal.operation.search | l10n_br_fiscal.operation | search | New |
operation_tree |
l10n_br_fiscal.operation.tree | l10n_br_fiscal.operation | tree | New |
partner_form |
l10n_br_fiscal.partner.form | res.partner | group | Inherits l10n_br_base.l10n_br_base_partner_form |
partner_profile_form |
l10n_br_fiscal.partner.profile.form | l10n_br_fiscal.partner.profile | form | New |
partner_profile_search |
l10n_br_fiscal.partner.profile.search | l10n_br_fiscal.partner.profile | search | New |
partner_profile_tree |
l10n_br_fiscal.partner.profile.tree | l10n_br_fiscal.partner.profile | tree | New |
product_form |
l10n_br_fiscal.product.product.form | product.product | xpath | Inherits product.product_normal_form_view |
product_genre_form |
l10n_br_fiscal.product.genre.form | l10n_br_fiscal.product.genre | form | New |
product_genre_search |
l10n_br_fiscal.product.genre.search | l10n_br_fiscal.product.genre | search | New |
product_genre_tree |
l10n_br_fiscal.product.genre.tree | l10n_br_fiscal.product.genre | tree | New |
product_search |
l10n_br_fiscal.product.product.search | product.product | field | Inherits product.product_search_form_view |
product_template_form |
l10n_br_fiscal.product.template.form | product.template | xpath | Inherits product.product_template_only_form_view |
product_template_search |
l10n_br_fiscal.product.template.search | product.template | field | Inherits product.product_template_search_view |
product_template_tree |
product.template.tree | product.template | tree | New |
product_tree |
product.product.tree | product.product | tree | New |
service_type_form |
l10n_br_fiscal.service.type.form | l10n_br_fiscal.service.type | form | New |
service_type_kanban |
l10n_br_fiscal.service.type.kanban | l10n_br_fiscal.service.type | kanban | New |
service_type_search |
l10n_br_fiscal.service.type.search | l10n_br_fiscal.service.type | search | New |
service_type_tree |
l10n_br_fiscal.service.type.tree | l10n_br_fiscal.service.type | tree | New |
simplified_tax_form |
l10n_br_fiscal.simplified.tax.form | l10n_br_fiscal.simplified.tax | form | New |
simplified_tax_range_tree |
l10n_br_fiscal.simplified.tax.range.tree | l10n_br_fiscal.simplified.tax.range | tree | New |
simplified_tax_tree |
l10n_br_fiscal.simplified.tax.tree | l10n_br_fiscal.simplified.tax | tree | New |
tax_classification_form |
l10n_br_fiscal.tax.classification | field | Inherits data_abstract_form | |
tax_classification_search |
l10n_br_fiscal.tax.classification | group | Inherits data_abstract_search | |
tax_classification_tree |
l10n_br_fiscal.tax.classification | field | Inherits data_abstract_tree | |
tax_definition_form |
l10n_br_fiscal.tax.definition.form | l10n_br_fiscal.tax.definition | form | New |
tax_definition_icms_tree |
l10n_br_fiscal.tax.definition.icms.tree | l10n_br_fiscal.tax.definition | tree | New |
tax_definition_tree |
l10n_br_fiscal.tax.definition.tree | l10n_br_fiscal.tax.definition | tree | New |
tax_estimate_tree |
l10n_br_fiscal.tax.estimate.tree | l10n_br_fiscal.tax.estimate | tree | New |
tax_form |
l10n_br_fiscal.tax.form | l10n_br_fiscal.tax | form | New |
tax_group_form |
l10n_br_fiscal.tax.group.form | l10n_br_fiscal.tax.group | form | New |
tax_group_search |
l10n_br_fiscal.tax.group.search | l10n_br_fiscal.tax.group | search | New |
tax_group_tree |
l10n_br_fiscal.tax.group.tree | l10n_br_fiscal.tax.group | tree | New |
tax_icms_regulation_form |
l10n_br_fiscal.icms.regulation.form | l10n_br_fiscal.icms.regulation | form | New |
tax_icms_regulation_search |
l10n_br_fiscal.icms.regulation.search | l10n_br_fiscal.icms.regulation | search | New |
tax_icms_regulation_tree |
l10n_br_fiscal.icms.regulation.tree | l10n_br_fiscal.icms.regulation | tree | New |
tax_icms_relief_form |
l10n_br_fiscal.icms.relief.form | l10n_br_fiscal.icms.relief | xpath | Inherits data_abstract_form |
tax_icms_relief_search |
l10n_br_fiscal.icms.relief.search | l10n_br_fiscal.icms.relief | xpath | Inherits data_abstract_search |
tax_icms_relief_tree |
l10n_br_fiscal.icms.relief.tree | l10n_br_fiscal.icms.relief | xpath | Inherits data_abstract_tree |
tax_ipi_control_seal_form |
l10n_br_fiscal.tax.ipi.control.seal.form | l10n_br_fiscal.tax.ipi.control.seal | xpath | Inherits data_abstract_form |
tax_ipi_control_seal_search |
l10n_br_fiscal.tax.ipi.control.seal.search | l10n_br_fiscal.tax.ipi.guideline.class | xpath | Inherits data_abstract_search |
tax_ipi_control_seal_tree |
l10n_br_fiscal.tax.ipi.control.seal.tree | l10n_br_fiscal.tax.ipi.control.seal | xpath | Inherits data_abstract_tree |
tax_ipi_guideline_class_form |
l10n_br_fiscal.tax.ipi.guideline.class.form | l10n_br_fiscal.tax.ipi.guideline.class | xpath | Inherits data_abstract_form |
tax_ipi_guideline_class_search |
l10n_br_fiscal.tax.ipi.guideline.class.search | l10n_br_fiscal.tax.ipi.guideline.class | xpath | Inherits data_abstract_search |
tax_ipi_guideline_class_tree |
l10n_br_fiscal.tax.ipi.guideline.class.tree | l10n_br_fiscal.tax.ipi.guideline.class | xpath | Inherits data_abstract_tree |
tax_ipi_guideline_form |
l10n_br_fiscal.tax.ipi.guideline.form | l10n_br_fiscal.tax.ipi.guideline | field | Inherits data_abstract_form |
tax_ipi_guideline_search |
l10n_br_fiscal.tax.ipi.guideline.search | l10n_br_fiscal.tax.ipi.guideline | field | Inherits data_abstract_search |
tax_ipi_guideline_tree |
l10n_br_fiscal.tax.ipi.guideline.tree | l10n_br_fiscal.tax.ipi.guideline | field | Inherits data_abstract_tree |
tax_pis_cofins_base_form |
l10n_br_fiscal.tax.pis.cofins.base.form | l10n_br_fiscal.tax.pis.cofins.base | xpath | Inherits data_abstract_form |
tax_pis_cofins_base_search |
l10n_br_fiscal.tax.pis.cofins.base.search | l10n_br_fiscal.tax.pis.cofins.base | xpath | Inherits data_abstract_search |
tax_pis_cofins_base_tree |
l10n_br_fiscal.tax.pis.cofins.base.tree | l10n_br_fiscal.tax.pis.cofins.base | xpath | Inherits data_abstract_tree |
tax_pis_cofins_credit_form |
l10n_br_fiscal.tax.pis.cofins.credit.form | l10n_br_fiscal.tax.pis.cofins.credit | xpath | Inherits data_abstract_form |
tax_pis_cofins_credit_search |
l10n_br_fiscal.tax.pis.cofins.credit.search | l10n_br_fiscal.tax.pis.cofins.credit | xpath | Inherits data_abstract_search |
tax_pis_cofins_credit_tree |
l10n_br_fiscal.tax.pis.cofins.credit.tree | l10n_br_fiscal.tax.pis.cofins.credit | xpath | Inherits data_abstract_tree |
tax_pis_cofins_form |
l10n_br_fiscal.pis.cofins.tax.form | l10n_br_fiscal.tax.pis.cofins | form | New |
tax_pis_cofins_search |
l10n_br_fiscal.tax.search | l10n_br_fiscal.tax.pis.cofins | search | New |
tax_pis_cofins_tree |
l10n_br_fiscal.tax.pis.cofins.tree | l10n_br_fiscal.tax.pis.cofins | tree | New |
tax_search |
l10n_br_fiscal.tax.search | l10n_br_fiscal.tax | search | New |
tax_tree |
l10n_br_fiscal.tax.tree | l10n_br_fiscal.tax | tree | New |
uom_category_form_inherit_code_desc |
uom.category.form (in l10n_br_fiscal) | uom.category | xpath | Inherits uom.product_uom_categ_form_view |
uom_uom_form_view |
uom.uom.form (in l10n_br_fiscal) | uom.uom | field | Inherits uom.product_uom_form_view |
uom_uom_tree_view |
uom.uom.tree (in l10n_br_fiscal) | uom.uom | field | Inherits uom.product_uom_tree_view |
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
string='Fiscal Document'
document_key
Char
document_number
Char
document_serie
Char
document_status
Text
readonly=True
string='Status'
document_type
Char
related='document_type_id.code'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Document Type'
justification
Text
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
rps_number
Char
state
Selection
default='init'
readonly=True
selection=[('init', 'init'), ('confirm', 'confirm'), ('done', 'done')]
button_back(self)
default_get(self, fields_list)
code
Char
size=9
code_unmasked
Char
size=7
item
Char
required=True
ncm_ids
Many2many → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
readonly=True
string='NCMs'
ncms
Char
string='NCM'
product_tmpl_ids
One2many
inverse_name='cest_id'
segment
Selection
required=True
selection=CEST_SEGMENT
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
string='Tax Definition'
action_search_ncms(self)
create(self, vals_list)
write(self, values)
account_move
Boolean
default=True
string='Account Move?'
assent_move
Boolean
default=False
string='Assent Move?'
cfop_inverse_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('destination', '=', destination),('type_in_out', '!=', type_in_out)]"
string='Inverse CFOP'
cfop_return_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('destination', '=', destination),('type_in_out', '!=', type_in_out),('type_move', 'in', ('sale_refund', 'purchase_refund', 'return_out', 'return_in'))]"
string='Return CFOP'
code
Char
size=4
destination
Selection
compute='_compute_destination'
help='Identifies the operation destination.'
selection=CFOP_DESTINATION
store=True
finance_move
Boolean
default=True
string='Finance Moves?'
ind_anula
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Revocation?'
ind_comb
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes - Without mandatory transportation information'), ('2', '2 - Yes - With mandatory transportation information')]
string='Fuel?'
ind_comunica
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Communication?'
ind_cte
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Used in CTe'
ind_devol
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Return?'
ind_nfe
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Used in NFe'
ind_remes
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Shipment?'
ind_retor
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Regress?'
ind_transp
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Transport?'
is_import
Boolean
compute='_compute_is_import'
string='Is Import?'
small_name
Char
required=True
size=32
stock_move
Boolean
default=True
string='Stock Moves?'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='cfop_id'
string='Tax Definition'
type_in_out
Selection
default=FISCAL_OUT
required=True
selection=FISCAL_IN_OUT
string='Type'
type_move
Selection
default=CFOP_TYPE_MOVE_DEFAULT
required=True
selection=CFOP_TYPE_MOVE
No public methods.
city_id
Many2one → res.city
comodel_name='res.city'
domain="[('state_id', '=', state_id)]"
string='City'
cnae_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='CNAE Code'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain=[('internal_type', '=', 'normal')]
string='Service Type'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='State'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_city_taxation_code_rel'
string='Tax Definition'
No public methods.
child_ids
One2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
inverse_name='parent_id'
string='Children CNAEs'
code
Char
size=16
internal_type
Selection
default='normal'
required=True
selection=[('view', 'View'), ('normal', 'Normal')]
parent_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='Parent CNAE'
version
Char
required=True
size=16
No public methods.
comment
Text
required=True
comment_type
Selection
default=COMMENT_TYPE_COMMERCIAL
required=True
selection=COMMENT_TYPE
date_begin
Date
string='Initial Date'
date_end
Date
string='Final Date'
name
Char
required=True
object
Selection
required=True
selection=FISCAL_COMMENT_OBJECTS
object_id
Reference
ondelete='set null'
selection=FISCAL_COMMENT_OBJECTS
string='Reference'
sequence
Integer
default=10
test_comment
Text
action_test_message(self)
compute_message(self, vals, manual_comment=None)
format_amount(self, env, amount, currency)
name_get(self)
code
Char
size=4
cst_type
Selection
required=True
selection=FISCAL_IN_OUT_ALL
string='Type'
tax_domain
Selection
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
required=True
string='Fiscal Tax Group'
No public methods.
active
Boolean
default=True
code
Char
index=True
required=True
code_unmasked
Char
compute='_compute_code_unmasked'
index=True
store=True
string='Unmasked Code'
date_end
Date
string='End Date'
date_start
Date
string='Start Date'
name
Text
index=True
required=True
action_archive(self)
action_unarchive(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
name_get(self)
estimate_tax_imported
Float
compute='_compute_amount'
digits='Fiscal Tax Percent'
readonly=True
store=True
string='Estimate Tax Imported Percent'
estimate_tax_national
Float
compute='_compute_amount'
digits='Fiscal Tax Percent'
readonly=True
store=True
string='Estimate Tax Nacional Percent'
tax_estimate_ids
One2many → l10n_br_fiscal.tax.estimate
comodel_name='l10n_br_fiscal.tax.estimate'
readonly=True
string='Estimate Taxes'
action_ibpt_inquiry(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
product_tmpl_ids
One2many → product.template
comodel_name='product.template'
readonly=True
string='Products'
product_tmpl_qty
Integer
compute='_compute_product_tmpl_infos'
string='Products Quantity'
No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
company_l10n_br_ie_code_st
Char
string='Company ST State Tax Number'
currency_id
Many2one → res.currency
comodel_name='res.currency'
related='company_id.currency_id'
string='Currency'
customer_additional_data
Text
date_in_out
Datetime
copy=False
string='Date IN/OUT'
document_date
Datetime
copy=False
document_electronic
Boolean
related='document_type_id.electronic'
store=True
string='Electronic?'
document_related_ids
One2many → l10n_br_fiscal.document.related
comodel_name='l10n_br_fiscal.document.related'
inverse_name='document_id'
string='Fiscal Document Related'
document_type
Char
related='document_type_id.code'
store=True
string='Document Type Code'
edoc_purpose
Selection
compute='_compute_edoc_purpose'
default=EDOC_PURPOSE_NORMAL
precompute=True
selection=EDOC_PURPOSE
store=True
string='Finalidade'
edoc_refund_credit_type
Selection
selection=EDOC_REFUND_CREDIT_TYPE
string='Tipo de Nota de Crédito'
edoc_refund_debit_type
Selection
selection=EDOC_REFUND_DEBIT_TYPE
string='Tipo de Nota de Débito'
fiscal_additional_data
Text
fiscal_line_ids
One2many → l10n_br_fiscal.document.line
check_company=True
comodel_name='l10n_br_fiscal.document.line'
copy=True
inverse_name='document_id'
string='Document Lines'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
domain="[('state', '=', 'approved')]"
string='Fiscal Operation'
args: 'l10n_br_fiscal.operation'
fiscal_operation_type
Selection
store=True
imported_document
Boolean
default=False
string='Imported'
name
Char
compute='_compute_name'
index=True
store=True
partner_cnpj_cpf
Char
related='partner_id.vat'
string='CNPJ'
partner_id
Many2one → res.partner
comodel_name='res.partner'
inverse='_inverse_partner_id'
string='Partner'
partner_l10n_br_ie_code
Char
related='partner_id.l10n_br_ie_code'
string='State Tax Number'
partner_legal_name
Char
related='partner_id.legal_name'
string='Legal Name'
partner_shipping_id
Many2one → res.partner
comodel_name='res.partner'
string='Shipping Address'
processador_edoc
Selection
related='company_id.processador_edoc'
public_entity_type
Selection
selection=PUBLIC_ENTIRY_TYPE
string='Tipo de Entidade Governamental'
rps_number
Char
copy=False
index=True
string='RPS Number'
unaccent=False
service_provider
Selection
selection=[('0', 'Remetente'), ('1', 'Expedidor'), ('2', 'Recebedor'), ('3', 'Destinatário'), ('4', 'Outros')]
string='Tomador do Serviço'
state
Selection
related='state_edoc'
string='State'
state_edoc
Selection
copy=False
default=SITUACAO_EDOC_EM_DIGITACAO
index=True
readonly=True
required=True
selection=SITUACAO_EDOC
string='Situação e-doc'
state_fiscal
Selection
copy=False
index=True
selection=SITUACAO_FISCAL
string='Situação Fiscal'
transport_modal
Selection
selection=[('01', 'Rodoviário'), ('02', 'Aéreo'), ('03', 'Aquaviário'), ('04', 'Ferroviário'), ('05', 'Dutoviário'), ('06', 'Multimodal')]
string='Modal de Transporte'
user_id
Many2one → res.users
comodel_name='res.users'
default=<expr>
index=True
string='User'
xml_error_message
Text
copy=False
readonly=True
string='XML validation errors'
action_create_return(self)
action_document_back2draft(self)
action_document_cancel(self)
action_document_confirm(self)
action_document_correction(self)
action_document_invalidate(self)
action_document_send(self)
exec_after_SITUACAO_EDOC_DENEGADA(self, old_state, new_state)
name_get(self)
unlink(self)
view_pdf(self)
view_xml(self)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
destination_cnpj
Char
string='Destination CNPJ'
destination_name
Char
destination_partner_id
Many2one → res.partner
comodel_name='res.partner'
destination_type_in_out
Selection
selection=FISCAL_IN_OUT
string='Destination Type'
document_type
Char
file
Binary
string='File to Import'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain="[('fiscal_operation_type', '=', fiscal_operation_type)]"
string='Fiscal Operation'
fiscal_operation_type
Selection
compute='_compute_fiscal_operation_type'
selection=FISCAL_IN_OUT
issuer_cnpj
Char
string='Issuer CNPJ'
issuer_legal_name
Char
issuer_name
Char
string='Fantasia'
issuer_partner_id
Many2one → res.partner
comodel_name='res.partner'
issuer_type_in_out
Selection
selection=FISCAL_IN_OUT
string='Issuer Type'
action_import_and_open_document(self)
action_open_document(self)
additional_data
Text
company_id
Many2one → res.company
comodel_name='res.company'
precompute=True
related='document_id.company_id'
store=True
string='Company'
delivery_costs
Selection
related='company_id.delivery_costs'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
ondelete='cascade'
string='Document'
edoc_purpose
Selection
related='document_id.edoc_purpose'
force_compute_delivery_costs_by_total
Boolean
related='document_id.force_compute_delivery_costs_by_total'
name
Char
compute='_compute_name'
precompute=True
readonly=False
store=True
partner_id
Many2one → res.partner
comodel_name='res.partner'
compute='_compute_partner_id'
precompute=True
readonly=False
store=True
price_unit
Float
compute='_compute_price_unit_fiscal'
digits='Product Price'
precompute=True
readonly=False
store=True
quantity
Float
default=1.0
tax_framework
Selection
related='company_id.tax_framework'
uom_id
Many2one → uom.uom
comodel_name='uom.uom'
compute='_compute_uom_id'
precompute=True
readonly=False
store=True
string='UOM'
No public methods.
allow_csll_irpj
Boolean
compute='_compute_allow_csll_irpj'
help="Indicates potential 'CSLL' and 'IRPJ' tax charges."
amount_fiscal
Monetary
compute='_compute_fiscal_amounts'
amount_tax_included
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
amount_tax_not_included
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
amount_tax_withholding
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='Tax Withholding'
amount_taxed
Monetary
compute='_compute_fiscal_amounts'
cbs_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CBS Base'
cbs_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='CBS Base Type'
cbs_cst_code
Char
related='cbs_cst_id.code'
store=True
string='CBS CST Code'
cbs_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'cbs')]"
precompute=True
readonly=False
store=True
string='CST CBS'
cbs_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CBS %'
cbs_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CBS % Reduction'
cbs_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=<expr>
precompute=True
readonly=False
store=True
string='Tax CBS'
cbs_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CBS Value'
cest_id
Many2one → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
compute='_compute_product_fiscal_fields'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
precompute=True
readonly=False
store=True
string='CEST'
cfop_destination
Selection
related='cfop_id.destination'
string='CFOP Destination'
cfop_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
compute='_compute_fiscal_tax_ids'
domain="[('type_in_out', '=', fiscal_operation_type)]"
precompute=True
readonly=False
store=True
string='CFOP'
city_taxation_code_id
Many2one → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
compute='_compute_city_taxation_code_id'
help='City Taxation Code for Municipal NFS-e or ISS Municipal Taxation Code for National NFS-e.'
precompute=True
readonly=False
store=True
string='City Taxation Code'
cnae_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
precompute=True
readonly=False
related='city_taxation_code_id.cnae_id'
store=True
string='CNAE Code'
cofins_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS Base'
cofins_base_id
Many2one → l10n_br_fiscal.tax.pis.cofins.base
comodel_name='l10n_br_fiscal.tax.pis.cofins.base'
string='COFINS Base Code'
cofins_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='COFINS Base Type'
cofins_credit_id
Many2one → l10n_br_fiscal.tax.pis.cofins.credit
comodel_name='l10n_br_fiscal.tax.pis.cofins.credit'
string='COFINS Credit Code'
cofins_cst_code
Char
related='cofins_cst_id.code'
store=True
string='COFINS CST Code'
cofins_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'cofins')]"
precompute=True
readonly=False
store=True
string='CST COFINS'
cofins_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS %'
cofins_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS % Reduction'
cofins_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS)]
precompute=True
readonly=False
store=True
string='Tax COFINS'
cofins_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS Value'
cofins_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS RET Base'
cofins_wh_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='COFINS WH Base Type'
cofins_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS RET %'
cofins_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS RET % Reduction'
cofins_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_WH)]
precompute=True
readonly=False
store=True
string='Tax COFINS RET'
cofins_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS RET Value'
cofinsst_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS ST Base'
cofinsst_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='COFINS ST Base Type'
cofinsst_cst_code
Char
related='cofinsst_cst_id.code'
store=True
string='COFINS ST CST Code'
cofinsst_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'cofinsst')]"
precompute=True
readonly=False
store=True
string='CST COFINS ST'
cofinsst_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS ST %'
cofinsst_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS ST % Reduction'
cofinsst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_ST)]
precompute=True
readonly=False
store=True
string='Tax COFINS ST'
cofinsst_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='COFINS ST Value'
comment_ids
Many2many → l10n_br_fiscal.comment
comodel_name='l10n_br_fiscal.comment'
compute='_compute_comment_ids'
domain=[('object', '=', FISCAL_COMMENT_LINE)]
precompute=True
readonly=False
store=True
string='Comments'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
csll_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL Base'
csll_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL %'
csll_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL % Reduction'
csll_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL)]
precompute=True
readonly=False
store=True
string='Tax CSLL'
csll_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL Value'
csll_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL RET Base'
csll_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL RET %'
csll_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL RET % Reduction'
csll_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL_WH)]
precompute=True
readonly=False
store=True
string='Tax CSLL RET'
csll_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='CSLL RET Value'
cst_code_prefix_like
Char
compute='_compute_cst_code_prefix_like'
help='Helper field to filter taxes by CST code prefix (3 chars) using LIKE.'
currency_id
Many2one → res.currency
comodel_name='res.currency'
compute='_compute_currency_id'
string='Currency'
discount_value
Monetary
estimate_tax
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
financial_discount_value
Monetary
compute='_compute_fiscal_amounts'
financial_total
Monetary
compute='_compute_fiscal_amounts'
string='Amount Financial'
financial_total_gross
Monetary
compute='_compute_fiscal_amounts'
help='Total amount before any discounts are applied.'
string='Financial Gross Amount'
fiscal_amount_tax
Monetary
compute='_compute_fiscal_amounts'
fiscal_amount_total
Monetary
compute='_compute_fiscal_amounts'
fiscal_amount_untaxed
Monetary
compute='_compute_fiscal_amounts'
fiscal_genre_code
Char
related='fiscal_genre_id.code'
string='Fiscal Product Genre Code'
fiscal_genre_id
Many2one → l10n_br_fiscal.product.genre
comodel_name='l10n_br_fiscal.product.genre'
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
store=True
string='Fiscal Product Genre'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain=<expr>
string='Operation'
fiscal_operation_line_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
compute='_compute_fiscal_operation_line_id'
domain="[('fiscal_operation_id', '=', fiscal_operation_id), ('state', '=', 'approved')]"
precompute=True
readonly=False
store=True
string='Operation Line'
fiscal_operation_type
Selection
related='fiscal_operation_id.fiscal_operation_type'
string='Fiscal Operation Type'
fiscal_price
Float
compute='_compute_fiscal_price'
digits='Product Price'
precompute=True
readonly=False
store=True
fiscal_quantity
Float
compute='_compute_fiscal_quantity'
digits='Product Unit of Measure'
precompute=True
readonly=False
store=True
fiscal_tax_ids
Many2many → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_fiscal_tax_ids'
precompute=True
readonly=False
store=True
string='Fiscal Taxes'
fiscal_type
Selection
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
selection=PRODUCT_FISCAL_TYPE
store=True
freight_value
Monetary
ibs_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IBS Base'
ibs_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='IBS Base Type'
ibs_cst_code
Char
related='ibs_cst_id.code'
store=True
string='IBS CST Code'
ibs_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'ibs')]"
precompute=True
readonly=False
store=True
string='CST IBS'
ibs_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IBS %'
ibs_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IBS % Reduction'
ibs_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=<expr>
precompute=True
readonly=False
store=True
string='Tax IBS'
ibs_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IBS Value'
icms_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Base'
icms_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=ICMS_BASE_TYPE
store=True
string='ICMS Base Type'
icms_cst_code
Char
related='icms_cst_id.code'
store=True
string='ICMS CST Code'
icms_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="[('tax_domain', '=', {'1': 'icmssn', '2': 'icmssn', '3': 'icms'}.get(tax_framework))]"
precompute=True
readonly=False
store=True
string='CST ICMS'
icms_destination_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Destination Base'
icms_destination_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS External %'
icms_destination_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Dest. Value'
icms_effective_base
Monetary
string='ICMS Effective Base'
icms_effective_percent
Float
string='ICMS Effective %'
icms_effective_reduction
Float
string='ICMS Effective % Reduction'
icms_effective_value
Monetary
string='ICMS Effective'
icms_origin
Selection
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
selection=ICMS_ORIGIN
store=True
string='ICMS Origin'
icms_origin_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Internal %'
icms_origin_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Origin Value'
icms_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS %'
icms_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS % Reduction'
icms_relief_id
Many2one → l10n_br_fiscal.icms.relief
comodel_name='l10n_br_fiscal.icms.relief'
string='ICMS Relief'
icms_relief_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Relief Value'
icms_sharing_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Sharing %'
icms_substitute
Monetary
help='Valor do ICMS Próprio do Substituto cobrado em operação anterior'
string='ICMS Substitute'
icms_tax_benefit_code
Char
related='icms_tax_benefit_id.code'
store=True
string='Tax Benefit Code'
icms_tax_benefit_id
Many2one → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
compute='_compute_fiscal_tax_ids'
domain=[('is_benefit', '=', True), ('tax_domain', '=', TAX_DOMAIN_ICMS)]
precompute=True
readonly=False
store=True
string='Tax Benefit'
icms_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS)]
precompute=True
readonly=False
store=True
string='Tax ICMS'
icms_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS Value'
icmsfcp_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP Base'
icmsfcp_base_wh
Monetary
string='FCP WH Base'
icmsfcp_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP %'
icmsfcp_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
precompute=True
readonly=False
store=True
string='Tax ICMS FCP'
icmsfcp_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP Value'
icmsfcp_value_wh
Monetary
string='FCP WH'
icmsfcp_wh_percent
Float
string='FCP WH %'
icmsfcpst_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP ST Base'
icmsfcpst_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP ST %'
icmsfcpst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST)]
precompute=True
readonly=False
store=True
string='Tax ICMS FCP ST'
icmsfcpst_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS FCP ST Value'
icmssn_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS SN Base'
icmssn_credit_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS SN Credit'
icmssn_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS SN %'
icmssn_range_id
Many2one → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
default=_default_icmssn_range_id
string='Simplified Range Tax'
icmssn_reduction
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS SN Reduction'
icmssn_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_SN)]
precompute=True
readonly=False
store=True
string='Tax ICMS SN'
icmsst_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST Base'
icmsst_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=ICMS_ST_BASE_TYPE
store=True
string='ICMS ST Base Type'
icmsst_mva_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST MVA %'
icmsst_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST %'
icmsst_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST % Reduction'
icmsst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
precompute=True
readonly=False
store=True
string='Tax ICMS ST'
icmsst_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ICMS ST Value'
icmsst_wh_base
Monetary
string='ICMS ST WH Base'
icmsst_wh_percent
Float
string='ICMS ST WH %'
icmsst_wh_value
Monetary
string='ICMS ST WH Value'
ii_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='II Base'
ii_customhouse_charges
Monetary
string='Despesas Aduaneiras'
ii_iof_value
Monetary
string='IOF Value'
ii_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='II %'
ii_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_II)]
precompute=True
readonly=False
store=True
string='Tax II'
ii_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='II Value'
ind_final
Selection
compute='_compute_ind_final'
precompute=True
readonly=False
selection=FINAL_CUSTOMER
store=True
string='Consumidor final'
inss_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS Base'
inss_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS %'
inss_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS % Reduction'
inss_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS)]
precompute=True
readonly=False
store=True
string='Tax INSS'
inss_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS Value'
inss_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS RET Base'
inss_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS RET %'
inss_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS RET % Reduction'
inss_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS_WH)]
precompute=True
readonly=False
store=True
string='Tax INSS RET'
inss_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='INSS RET Value'
insurance_value
Monetary
ipi_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IPI Base'
ipi_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='IPI Base Type'
ipi_cst_code
Char
related='ipi_cst_id.code'
store=True
string='IPI CST Code'
ipi_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'ipi')]"
precompute=True
readonly=False
store=True
string='CST IPI'
ipi_devol_value
Monetary
string='Valor do IPI devolvido'
ipi_guideline_id
Many2one → l10n_br_fiscal.tax.ipi.guideline
comodel_name='l10n_br_fiscal.tax.ipi.guideline'
compute='_compute_fiscal_tax_ids'
domain="['|', ('cst_in_id', '=', ipi_cst_id),('cst_out_id', '=', ipi_cst_id)]"
precompute=True
readonly=False
store=True
string='IPI Guideline'
ipi_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IPI %'
ipi_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IPI % Reduction'
ipi_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
precompute=True
readonly=False
store=True
string='Tax IPI'
ipi_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IPI Value'
irpj_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ Base'
irpj_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ %'
irpj_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ % Reduction'
irpj_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ)]
precompute=True
readonly=False
store=True
string='Tax IRPJ'
irpj_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ Value'
irpj_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ RET Base'
irpj_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ RET %'
irpj_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ RET % Reduction'
irpj_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ_WH)]
precompute=True
readonly=False
store=True
string='Tax IRPJ RET'
irpj_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='IRPJ RET Value'
issqn_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN Base'
issqn_deduction_amount
Monetary
string='ISSQN Deduction Value'
issqn_desc_cond_amount
Monetary
string='ISSQN Discount Cond'
issqn_desc_incond_amount
Monetary
string='ISSQN Discount Incond'
issqn_eligibility
Selection
default=ISSQN_ELIGIBILITY_DEFAULT
selection=ISSQN_ELIGIBILITY
string='ISSQN Eligibility'
issqn_fg_city_id
Many2one → res.city
comodel_name='res.city'
compute='_compute_issqn_fg_city_id'
precompute=True
readonly=False
store=True
string='ISSQN City'
issqn_incentive
Selection
default=ISSQN_INCENTIVE_DEFAULT
selection=ISSQN_INCENTIVE
string='ISSQN Incentive'
issqn_other_amount
Monetary
string='ISSQN Other Value'
issqn_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN %'
issqn_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN % Reduction'
issqn_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN)]
precompute=True
readonly=False
store=True
string='Tax ISSQN'
issqn_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN Value'
issqn_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN RET Base'
issqn_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN RET %'
issqn_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN RET % Reduction'
issqn_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN_WH)]
precompute=True
readonly=False
store=True
string='Tax ISSQN RET'
issqn_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='ISSQN RET Value'
manual_additional_data
Text
help='Additional data manually entered by user'
national_taxation_code_id
Many2one → l10n_br_fiscal.national.taxation.code
comodel_name='l10n_br_fiscal.national.taxation.code'
compute='_compute_national_taxation_code_id'
help='National Taxation Code for the ISS tax (National NFS-e)'
precompute=True
readonly=False
store=True
string='ISS National Taxation Code'
nbm_id
Many2one → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
compute='_compute_product_fiscal_fields'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
precompute=True
readonly=False
store=True
string='NBM'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
compute='_compute_product_fiscal_fields'
index=True
precompute=True
readonly=False
store=True
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
compute='_compute_product_fiscal_fields'
index=True
precompute=True
readonly=False
store=True
string='NCM'
operation_fiscal_type
Selection
related='fiscal_operation_id.fiscal_type'
string='Operation Fiscal Type'
operation_indicator_id
Many2one → l10n_br_fiscal.operation.indicator
comodel_name='l10n_br_fiscal.operation.indicator'
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
store=True
string='Operation Indicator'
other_value
Monetary
p_devol
Float
string='Percentual de mercadoria devolvida'
partner_company_type
Selection
related='partner_id.company_type'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
partner_is_public_entity
Boolean
related='partner_id.is_public_entity'
partner_order
Char
size=15
string='Partner Order (xPed)'
partner_order_line
Char
size=6
string='Partner Order Line (nItemPed)'
pis_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS Base'
pis_base_id
Many2one → l10n_br_fiscal.tax.pis.cofins.base
comodel_name='l10n_br_fiscal.tax.pis.cofins.base'
string='PIS Base Code'
pis_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='PIS Base Type'
pis_credit_id
Many2one → l10n_br_fiscal.tax.pis.cofins.credit
comodel_name='l10n_br_fiscal.tax.pis.cofins.credit'
string='PIS Credit'
pis_cst_code
Char
related='pis_cst_id.code'
store=True
string='PIS CST Code'
pis_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'pis')]"
precompute=True
readonly=False
store=True
string='CST PIS'
pis_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS %'
pis_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS % Reduction'
pis_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS)]
precompute=True
readonly=False
store=True
string='Tax PIS'
pis_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS Value'
pis_wh_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS RET Base'
pis_wh_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='PIS WH Base Type'
pis_wh_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS RET %'
pis_wh_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS RET % Reduction'
pis_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_WH)]
precompute=True
readonly=False
store=True
string='Tax PIS RET'
pis_wh_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS RET Value'
pisst_base
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS ST Base'
pisst_base_type
Selection
compute='_compute_tax_fields'
precompute=True
readonly=False
selection=TAX_BASE_TYPE
store=True
string='PIS ST Base Type'
pisst_cst_code
Char
related='pisst_cst_id.code'
store=True
string='PIS ST CST Code'
pisst_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
compute='_compute_tax_fields'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'pisst')]"
precompute=True
readonly=False
store=True
string='CST PIS ST'
pisst_percent
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS ST %'
pisst_reduction
Float
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS ST % Reduction'
pisst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
compute='_compute_tax_fields'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_ST)]
precompute=True
readonly=False
store=True
string='Tax PIS ST'
pisst_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='PIS ST Value'
price_gross
Monetary
compute='_compute_fiscal_amounts'
help='Total value of products or services (quantity x unit price)before any discounts.'
string='Gross Product/Service Amount'
price_unit
Float
digits='Product Price'
store=True
product_id
Many2one → product.product
comodel_name='product.product'
index=True
string='Product'
quantity
Float
digits='Product Unit of Measure'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
compute='_compute_product_fiscal_fields'
domain="[('internal_type', '=', 'normal')]"
precompute=True
readonly=False
store=True
string='Service Type LC 166'
simple_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='National Simple Taxes'
simple_without_icms_value
Monetary
compute='_compute_tax_fields'
precompute=True
readonly=False
store=True
string='National Simple Taxes without ICMS'
tax_classification_id
Many2one → l10n_br_fiscal.tax.classification
comodel_name='l10n_br_fiscal.tax.classification'
compute='_compute_fiscal_tax_ids'
precompute=True
readonly=False
store=True
string='Tax Classification'
tax_icms_or_issqn
Selection
compute='_compute_product_fiscal_fields'
precompute=True
readonly=False
selection=TAX_ICMS_OR_ISSQN
store=True
string='ICMS or ISSQN Tax'
uom_id
Many2one → uom.uom
comodel_name='uom.uom'
string='UOM'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
compute='_compute_uot_id'
precompute=True
readonly=False
store=True
string='Tax UoM'
inject_fiscal_fields(self, doc, view_ref='l10n_br_fiscal.document_fiscal_line_mixin_form', xpath_mappings=None)
write(self, vals)
amount_cbs_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='CBS Base'
amount_cbs_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='CBS Value'
amount_cofins_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS Base'
amount_cofins_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS Value'
amount_cofins_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS Ret Base'
amount_cofins_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS Ret Value'
amount_cofinsst_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS ST Base'
amount_cofinsst_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='COFINS ST Value'
amount_csll_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='CSLL Base'
amount_csll_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='CSLL Value'
amount_csll_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='CSLL Ret Base'
amount_csll_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='CSLL Ret Value'
amount_discount_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='Amount Discount'
amount_estimate_tax
Monetary
compute='_compute_fiscal_amount'
store=True
amount_financial_discount_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='Financial Discount Value'
amount_financial_total
Monetary
compute='_compute_fiscal_amount'
store=True
string='Amount Financial'
amount_financial_total_gross
Monetary
compute='_compute_fiscal_amount'
store=True
string='Amount Financial Gross'
amount_freight_value
Monetary
compute='_compute_fiscal_amount'
inverse='_inverse_amount_freight'
store=True
string='Freight Value'
amount_ibs_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='IBS Base'
amount_ibs_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='IBS Value'
amount_icms_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS Base'
amount_icms_destination_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS Destination Value'
amount_icms_origin_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS Origin Value'
amount_icms_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS Value'
amount_icmsfcp_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS FCP Base'
amount_icmsfcp_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS FCP Value'
amount_icmsfcpst_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS FCP ST Value'
amount_icmssn_credit_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMSSN Credit Value'
amount_icmsst_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS ST Base'
amount_icmsst_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ICMS ST Value'
amount_ii_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='II Base'
amount_ii_customhouse_charges
Monetary
compute='_compute_fiscal_amount'
store=True
string='Customhouse Charges'
amount_ii_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='II Value'
amount_inss_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='INSS Base'
amount_inss_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='INSS Value'
amount_inss_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='INSS Ret Base'
amount_inss_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='INSS Ret Value'
amount_insurance_value
Monetary
compute='_compute_fiscal_amount'
inverse='_inverse_amount_insurance'
store=True
string='Insurance Value'
amount_ipi_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='IPI Base'
amount_ipi_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='IPI Value'
amount_irpj_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='IRPJ Base'
amount_irpj_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='IRPJ Value'
amount_irpj_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='IRPJ Ret Base'
amount_irpj_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='IRPJ Ret Value'
amount_issqn_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ISSQN Base'
amount_issqn_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ISSQN Value'
amount_issqn_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='ISSQN Ret Base'
amount_issqn_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='ISSQN Ret Value'
amount_other_value
Monetary
compute='_compute_fiscal_amount'
inverse='_inverse_amount_other'
store=True
string='Other Costs'
amount_pis_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS Base'
amount_pis_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS Value'
amount_pis_wh_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS Ret Base'
amount_pis_wh_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS Ret Value'
amount_pisst_base
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS ST Base'
amount_pisst_value
Monetary
compute='_compute_fiscal_amount'
store=True
string='PIS ST Value'
amount_price_gross
Monetary
compute='_compute_fiscal_amount'
help='Amount without discount.'
store=True
string='Amount Gross'
amount_tax_withholding
Monetary
compute='_compute_fiscal_amount'
store=True
string='Tax Withholding'
comment_ids
Many2many → l10n_br_fiscal.comment
comodel_name='l10n_br_fiscal.comment'
compute='_compute_comment_ids'
domain=[('object', '=', FISCAL_COMMENT_DOCUMENT)]
store=True
string='Comments'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
currency_id
Many2one → res.currency
comodel_name='res.currency'
string='Currency'
delivery_costs
Selection
related='company_id.delivery_costs'
document_key
Char
copy=False
index=True
string='Key'
unaccent=False
document_number
Char
copy=False
index=True
unaccent=False
document_serie
Char
compute='_compute_document_serie'
store=True
string='Serie Number'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
compute='_compute_document_serie_id'
domain="[('active', '=', True),('document_type_id', '=', document_type_id)]"
store=True
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
compute='_compute_document_type_id'
precompute=True
readonly=False
store=True
fiscal_amount_tax
Monetary
compute='_compute_fiscal_amount'
store=True
fiscal_amount_total
Monetary
compute='_compute_fiscal_amount'
store=True
fiscal_amount_untaxed
Monetary
compute='_compute_fiscal_amount'
store=True
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain=<expr>
string='Operation'
fiscal_operation_type
Selection
related='fiscal_operation_id.fiscal_operation_type'
force_compute_delivery_costs_by_total
Boolean
default=False
ind_final
Selection
compute='_compute_ind_final'
inverse='_inverse_ind_final'
precompute=True
readonly=False
selection=FINAL_CUSTOMER
store=True
string='Final Consumption Operation'
ind_pres
Selection
default=NFE_IND_PRES_DEFAULT
selection=NFE_IND_PRES
string='Buyer Presence'
issuer
Selection
default=DOCUMENT_ISSUER_COMPANY
selection=DOCUMENT_ISSUER
key_check_digit
Char
string='Document Key Check Digit'
key_random_code
Char
string='Document Key Random Code'
manual_customer_additional_data
Text
help='Customer Additional data manually entered by user'
manual_fiscal_additional_data
Text
help='Fiscal Additional data manually entered by user'
operation_name
Char
compute='_compute_operation_name'
copy=False
partner_id
Many2one → res.partner
comodel_name='res.partner'
index=True
total_weight
Float
write(self, vals)
cnpj_cpf
Char
size=18
string='CNPJ/CPF'
cpfcnpj_type
Selection
default='cnpj'
selection=[('cpf', 'CPF'), ('cnpj', 'CNPJ')]
string='Type Doc Number'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
document_date
Date
string='Data'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document'
document_key
Char
size=44
document_number
Char
size=32
string='Number'
document_related_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document Related'
document_serie
Char
size=12
string='Serie'
document_total_amount
Monetary
currency_field='currency_id'
string='Valor Total'
document_total_weight
Float
string='Peso Total'
document_type_code
Char
related='document_type_id.code'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Fiscal Document Type'
l10n_br_ie_code
Char
size=16
string='Inscr. Estadual/RG'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='State'
No public methods.
active
Boolean
default=True
code
Char
size=3
unaccent=False
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
required=True
string='Fiscal Document'
fiscal_type
Selection
default=FISCAL_IN_OUT_DEFAULT
selection=FISCAL_IN_OUT
string='Type'
internal_sequence_id
Many2one → ir.sequence
comodel_name='ir.sequence'
domain="[('company_id', '=', company_id)]"
string='Sequence'
invalidate_number_id
One2many → l10n_br_fiscal.invalidate.number
comodel_name='l10n_br_fiscal.invalidate.number'
inverse_name='document_serie_id'
string='Invalidate Number Range'
name
Char
required=True
unaccent=False
sequence_number_next
Integer
related='internal_sequence_id.number_next'
check_number_in_use(self, document_number)
create(self, vals_list)
name_get(self)
next_seq_number(self)
write(self, vals)
No new fields.
Public methods (2)doit(self)
get_document_status(self)
qrcode
Char
string='QR Code'
url_key
Char
string='QR Code URL Key'
No public methods.
code
Char
size=8
unaccent=False
document_serie_ids
One2many → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
inverse_name='document_type_id'
string='Document Series'
electronic
Boolean
string='Is Electronic?'
name
Char
size=128
prefix
Char
sufix
Char
type
Selection
required=True
selection=DOCUMENT_TYPE
string='Document Type'
get_document_serie(self, company, fiscal_operation)
icms_external_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '!=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AC'
icms_external_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '!=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AL'
icms_external_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '!=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AM'
icms_external_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '!=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AP'
icms_external_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '!=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External BA'
icms_external_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '!=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External CE'
icms_external_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '!=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External DF'
icms_external_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '!=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External ES'
icms_external_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '!=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External GO'
icms_external_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '!=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MA'
icms_external_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '!=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MG'
icms_external_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '!=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MS'
icms_external_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '!=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MT'
icms_external_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '!=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PA'
icms_external_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '!=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PB'
icms_external_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '!=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PE'
icms_external_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '!=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PI'
icms_external_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '!=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PR'
icms_external_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '!=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RJ'
icms_external_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '!=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RN'
icms_external_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '!=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RO'
icms_external_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '!=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RR'
icms_external_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '!=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RS'
icms_external_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '!=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SC'
icms_external_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '!=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SE'
icms_external_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '!=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SP'
icms_external_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '!=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External TO'
icms_fcp_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AC'
icms_fcp_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AL'
icms_fcp_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AM'
icms_fcp_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AP'
icms_fcp_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP BA'
icms_fcp_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP CE'
icms_fcp_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP DF'
icms_fcp_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ES'
icms_fcp_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP GO'
icms_fcp_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MA'
icms_fcp_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MG'
icms_fcp_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MS'
icms_fcp_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MT'
icms_fcp_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PA'
icms_fcp_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PB'
icms_fcp_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PE'
icms_fcp_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PI'
icms_fcp_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PR'
icms_fcp_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RJ'
icms_fcp_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RN'
icms_fcp_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RO'
icms_fcp_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RR'
icms_fcp_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RS'
icms_fcp_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SC'
icms_fcp_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SE'
icms_fcp_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SP'
icms_fcp_st_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AC'
icms_fcp_st_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AL'
icms_fcp_st_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AM'
icms_fcp_st_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AP'
icms_fcp_st_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST BA'
icms_fcp_st_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST CE'
icms_fcp_st_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST DF'
icms_fcp_st_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST ES'
icms_fcp_st_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST GO'
icms_fcp_st_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MA'
icms_fcp_st_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MG'
icms_fcp_st_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MS'
icms_fcp_st_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MT'
icms_fcp_st_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PA'
icms_fcp_st_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PB'
icms_fcp_st_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PE'
icms_fcp_st_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PI'
icms_fcp_st_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PR'
icms_fcp_st_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RJ'
icms_fcp_st_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RN'
icms_fcp_st_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RO'
icms_fcp_st_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RR'
icms_fcp_st_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RS'
icms_fcp_st_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SC'
icms_fcp_st_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SE'
icms_fcp_st_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SP'
icms_fcp_st_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST TO'
icms_fcp_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP TO'
icms_imported_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
string='ICMS Tax Imported'
icms_internal_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AC'
icms_internal_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AL'
icms_internal_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AM'
icms_internal_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AP'
icms_internal_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal BA'
icms_internal_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal CE'
icms_internal_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal DF'
icms_internal_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal ES'
icms_internal_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal GO'
icms_internal_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MA'
icms_internal_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MG'
icms_internal_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MS'
icms_internal_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MT'
icms_internal_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PA'
icms_internal_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PB'
icms_internal_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PE'
icms_internal_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PI'
icms_internal_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PR'
icms_internal_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RJ'
icms_internal_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RN'
icms_internal_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='ICMS Internal RO'
icms_internal_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RR'
icms_internal_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RS'
icms_internal_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SC'
icms_internal_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SE'
icms_internal_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SP'
icms_internal_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal TO'
icms_st_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AC'
icms_st_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AL'
icms_st_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AM'
icms_st_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AP'
icms_st_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST BA'
icms_st_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST CE'
icms_st_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST DF'
icms_st_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST ES'
icms_st_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST GO'
icms_st_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MA'
icms_st_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MG'
icms_st_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MS'
icms_st_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MT'
icms_st_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PA'
icms_st_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PB'
icms_st_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PE'
icms_st_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PI'
icms_st_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PR'
icms_st_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RJ'
icms_st_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RN'
icms_st_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RO'
icms_st_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RR'
icms_st_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RS'
icms_st_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SC'
icms_st_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SE'
icms_st_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SP'
icms_st_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST TO'
name
Char
index=True
required=True
tax_benefit_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AC', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AC'
tax_benefit_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AL', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AL'
tax_benefit_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AM', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AM'
tax_benefit_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AP', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AP'
tax_benefit_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('BA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit BA'
tax_benefit_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('CE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit CE'
tax_benefit_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('DF', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit DF'
tax_benefit_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('ES', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit ES'
tax_benefit_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('GO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit GO'
tax_benefit_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MA'
tax_benefit_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MG', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MG'
tax_benefit_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MS', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MS'
tax_benefit_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MT', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MT'
tax_benefit_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PA'
tax_benefit_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PB', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PB'
tax_benefit_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PE'
tax_benefit_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PI', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PI'
tax_benefit_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PR', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PR'
tax_benefit_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RJ', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='Tax Benefit RJ'
tax_benefit_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RN', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RN'
tax_benefit_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RO'
tax_benefit_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RR', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RR'
tax_benefit_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RS', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RS'
tax_benefit_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SC', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SC'
tax_benefit_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SE'
tax_benefit_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SP', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SP'
tax_benefit_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('TO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit TO'
map_tax(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None, ind_final=None)
map_tax_def_icms_difal(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None, ind_final=None)
No new fields.
Public methods (0)No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
readonly=True
required=True
states={'draft': [('readonly', False)]}
date
Date
default=fields.Date.today
readonly=True
document_electronic
Boolean
readonly=True
related='document_type_id.electronic'
string='Electronic?'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
domain="[('active', '=', True),\n ('document_type_id', '=', document_type_id),\n ('company_id', '=', company_id)]"
readonly=True
required=True
states={'draft': [('readonly', False)]}
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
readonly=True
required=True
states={'draft': [('readonly', False)]}
justification
Char
readonly=True
required=True
states={'draft': [('readonly', False)]}
name
Char
compute='_compute_name'
index=True
store=True
number_end
Integer
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='End Number'
number_start
Integer
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Initial Number'
state
Selection
default='draft'
readonly=True
selection=[('draft', _('Draft')), ('done', _('Done'))]
string='Status'
action_invalidate(self)
unlink(self)
code
Char
size=5
No public methods.
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_national_taxation_code_rel'
string='Tax Definition'
No public methods.
code
Char
size=12
unaccent=False
code_unmasked
Char
size=10
unaccent=False
ncm_ids
Many2many → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
readonly=True
string='NCMs'
ncms
Char
string='NCM'
product_tmpl_ids
One2many
inverse_name='nbm_id'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
string='Tax Definition'
action_search_ncms(self)
create(self, vals_list)
write(self, values)
code
Char
size=12
unaccent=False
code_unmasked
Char
size=10
unaccent=False
product_tmpl_ids
One2many
inverse_name='nbs_id'
tax_estimate_ids
One2many
inverse_name='nbs_id'
No public methods.
cest_ids
Many2many → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
readonly=True
string='CESTs'
code
Char
size=10
unaccent=False
code_unmasked
Char
size=8
unaccent=False
exception
Char
size=2
nbm_ids
Many2many → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
readonly=True
string='NBMs'
piscofins_ids
Many2many → l10n_br_fiscal.tax.pis.cofins
comodel_name='l10n_br_fiscal.tax.pis.cofins'
readonly=True
string='PIS/COFINS'
product_tmpl_ids
One2many
inverse_name='ncm_id'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
string='Tax Definition'
tax_estimate_ids
One2many
inverse_name='ncm_id'
tax_ii_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_II)]
string='Tax II'
tax_ipi_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Tax IPI'
uoe_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Export UoM'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
code
Char
readonly=True
required=True
states={'draft': [('readonly', False)]}
tracking=True
comment_ids
Many2many → l10n_br_fiscal.comment
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_DOCUMENT)]
string='Comment'
company_id
Many2one → res.company
comodel_name='res.company'
readonly=True
states={'draft': [('readonly', False)]}
string='Company'
tracking=True
default_price_unit
Selection
default='sale_price'
readonly=True
selection=[('sale_price', _('Sale Price')), ('cost_price', _('Cost Price'))]
states={'draft': [('readonly', False)]}
string='Default Price Unit?'
tracking=True
document_type_ids
One2many → l10n_br_fiscal.operation.document.type
comodel_name='l10n_br_fiscal.operation.document.type'
inverse_name='fiscal_operation_id'
readonly=True
states={'draft': [('readonly', False)]}
string='Operation Document Types'
edoc_purpose
Selection
default=EDOC_PURPOSE_NORMAL
readonly=True
selection=EDOC_PURPOSE
states={'draft': [('readonly', False)]}
string='Finalidade'
tracking=True
fiscal_operation_type
Selection
readonly=True
required=True
selection=FISCAL_IN_OUT_ALL
states={'draft': [('readonly', False)]}
string='Type'
tracking=True
fiscal_type
Selection
default=OPERATION_FISCAL_TYPE_DEFAULT
readonly=True
required=True
selection=OPERATION_FISCAL_TYPE
states={'draft': [('readonly', False)]}
tracking=True
inverse_fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
readonly=True
states={'draft': [('readonly', False)]}
string='Inverse Operation'
tracking=True
line_ids
One2many → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=True
inverse_name='fiscal_operation_id'
readonly=True
states={'draft': [('readonly', False)]}
string='Operation Line'
name
Char
readonly=True
required=True
states={'draft': [('readonly', False)]}
tracking=True
return_fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain="[('fiscal_operation_type', '!=', fiscal_operation_type), ('fiscal_type', 'in', {'sale': ['sale_refund'], 'purchase': ['purchase_refund'], 'other': ['return_in', 'return_out'],'return_in': ['return_out'], 'return_out': ['return_in']}.get(fiscal_type, []))]"
readonly=True
states={'draft': [('readonly', False)]}
string='Return Operation'
tracking=True
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
action_approve(self)
action_draft(self)
action_review(self)
copy(self, default=None)
get_document_serie(self, company, document_type)
line_definition(self, company, partner, product)
unlink(self)
color
Integer
default=0
string='Color Index'
kanban_dashboard
Text
compute='_compute_kanban_dashboard'
action_create_new(self)
get_operation_dashboard_data(self)
open_action(self)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
document_electronic
Boolean
related='document_type_id.electronic'
string='Electronic?'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
company_dependent=True
domain="[('active', '=', True),('document_type_id', '=', document_type_id)]"
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
required=True
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Operation'
name
Char
compute='_compute_name'
No public methods.
code
Char
help='Operation indicator code according to Annex VII of NT 004/2025 (e.g., 020101, 030101)'
index=True
required=True
size=6
string='Operation Indicator Code'
operation_location
Text
help='Where the operation is considered to take place according to the legislation'
string='Operation Location Consideration'
operation_type
Text
help='Type of operation according to Art. 11 of Complementary Law No. 214/2025'
required=True
supply_characteristic
Text
help='Specific characteristic of the supply execution that determines the place of supply'
supply_location
Text
help='Place of supply to be identified in the Digital Fiscal Document (DFe), such as supplier establishment, acquirer address, recipient address, or other locations depending on the operation'
required=True
string='DFe Supply Location'
No public methods.
add_to_amount
Boolean
default=True
string='Add to Document Amount?'
cfop_export_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('type_move', '=ilike', fiscal_type + '%'), ('destination', '=', '3')]"
string='CFOP Export'
cfop_external_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('type_move', '=ilike', fiscal_type + '%'), ('destination', '=', '2')]"
string='CFOP External'
cfop_internal_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('destination', '=', '1'),('type_move', '=ilike', fiscal_type + '%')]"
string='CFOP Internal'
comment_ids
Many2many → l10n_br_fiscal.comment
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_LINE)]
string='Comment'
company_tax_framework
Selection
selection=TAX_FRAMEWORK
date_end
Datetime
string='End Date'
date_start
Datetime
string='Start Date'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Operation'
fiscal_operation_type
Selection
related='fiscal_operation_id.fiscal_operation_type'
store=True
string='Fiscal Operation Type'
fiscal_type
Selection
related='fiscal_operation_id.fiscal_type'
store=True
string='Fiscal Type'
icms_origin
Selection
selection=ICMS_ORIGIN
string='Origin'
ind_ie_dest
Selection
selection=NFE_IND_IE_DEST
string='ICMS Taxpayer'
line_inverse_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=False
domain="[('fiscal_operation_type', '!=', fiscal_operation_type)]"
string='Operation Line Inverse'
line_refund_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=False
domain="[('fiscal_operation_type', '!=', fiscal_operation_type)]"
string='Operation Line Refund'
name
Char
required=True
partner_tax_framework
Selection
selection=TAX_FRAMEWORK
product_type
Selection
selection=PRODUCT_FISCAL_TYPE
string='Product Fiscal Type'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
tax_classification_id
Many2one → l10n_br_fiscal.tax.classification
comodel_name='l10n_br_fiscal.tax.classification'
string='Tax Classification'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
copy=True
inverse_name='fiscal_operation_line_id'
string='Tax Definition'
tax_icms_or_issqn
Selection
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
action_review(self)
get_document_type(self, company)
map_fiscal_taxes(self, company, partner, product=None, fiscal_price=None, fiscal_quantity=None, ncm=None, nbm=None, nbs=None, cest=None, city_taxation_code=None, national_taxation_code=None, service_type=None, ind_final=None)
unlink(self)
code
Char
required=True
size=16
default
Boolean
default=True
string='Default Profile'
ind_ie_dest
Selection
default=NFE_IND_IE_DEST_DEFAULT
required=True
selection=NFE_IND_IE_DEST
string='Contribuinte do ICMS'
is_company
Boolean
string='Is Company?'
is_public_entity
Boolean
help='Indicates whether the entity in question is a public organization or government-related entity. It encompasses a range of entities such as municipal governments, state-owned enterprises (where the government is the largest shareholder), and other government-controlled organizations.'
string='Public Entity'
name
Char
size=64
partner_ids
One2many → res.partner
comodel_name='res.partner'
compute='_compute_partner_info'
string='Partner'
partner_qty
Integer
compute='_compute_partner_info'
string='Partner Quantity'
public_entity_type
Selection
selection=PUBLIC_ENTIRY_TYPE
string='Tipo de Entidade Governamental'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='fiscal_profile_id'
string='Tax Definition'
tax_framework
Selection
default=TAX_FRAMEWORK_NORMAL
selection=TAX_FRAMEWORK
action_view_partners(self)
product_tmpl_ids
One2many
inverse_name='fiscal_genre_id'
No public methods.
No new fields.
Public methods (0)No public methods.
child_ids
One2many → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
inverse_name='parent_id'
string='Service Type Child'
internal_type
Selection
default='normal'
required=True
selection=[('view', 'View'), ('normal', 'Normal')]
parent_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
string='Parent Service Type'
product_tmpl_ids
One2many
inverse_name='service_type_id'
withholding_at_place
Boolean
help='The tax is due at the location of the provider establishment, except in the cases that this field is true, where it will be due at the place of provision.'
string='Tax Retention at place of provision'
withholding_possible
Boolean
string='Subject to withholding tax'
No public methods.
cnae_ids
Many2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal')]"
string='CNAEs'
coefficient_r
Boolean
readonly=True
name
Char
required=True
simplified_tax_range_ids
One2many → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
copy=False
inverse_name='simplified_tax_id'
string='Simplified Tax Range'
No public methods.
amount_deduced
Monetary
currency_field='currency_id'
required=True
string='Amount to be Deducted'
currency_id
Many2one → res.currency
comodel_name='res.currency'
required=True
string='Currency'
final_revenue
Monetary
currency_field='currency_id'
inital_revenue
Monetary
currency_field='currency_id'
name
Char
required=True
simplified_tax_id
Many2one → l10n_br_fiscal.simplified.tax
comodel_name='l10n_br_fiscal.simplified.tax'
string='Simplified Tax'
tax_cbs_percent
Float
digits='Fiscal Tax Percent'
string='Tax CBS Percent'
tax_cofins_percent
Float
digits='Fiscal Tax Percent'
string='Tax COFINS Percent'
tax_cpp_percent
Float
digits='Fiscal Tax Percent'
string='Tax CPP Percent'
tax_csll_percent
Float
digits='Fiscal Tax Percent'
string='Tax CSLL Percent'
tax_ibs_percent
Float
digits='Fiscal Tax Percent'
string='Tax IBS Percent'
tax_icms_percent
Float
digits='Fiscal Tax Percent'
string='Tax ICMS Percent'
tax_ipi_percent
Float
digits='Fiscal Tax Percent'
string='Tax IPI Percent'
tax_irpj_percent
Float
digits='Fiscal Tax Percent'
string='Tax IRPJ Percent'
tax_iss_percent
Float
digits='Fiscal Tax Percent'
string='Tax ISS Percent'
tax_pis_percent
Float
digits='Fiscal Tax Percent'
string='Tax PIS Percent'
total_tax_percent
Float
digits='Fiscal Tax Percent'
string='Tax Percent'
No public methods.
compute_sequence
Integer
help='The sequence field is used to define order in which the tax lines are applied.'
related='tax_group_id.compute_sequence'
cst_in_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', ('in', 'all')), ('tax_domain', '=', tax_domain)]"
string='CST In'
cst_out_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', ('out', 'all')), ('tax_domain', '=', tax_domain)]"
string='CST Out'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
string='Currency'
icms_base_type
Selection
default=ICMS_BASE_TYPE_DEFAULT
required=True
selection=ICMS_BASE_TYPE
icmsst_base_type
Selection
default=ICMS_ST_BASE_TYPE_DEFAULT
required=True
selection=ICMS_ST_BASE_TYPE
string='ICMS ST Base Type'
icmsst_mva_percent
Float
digits='Fiscal Tax Percent'
required=True
string='MVA Percent'
icmsst_value
Float
digits='Fiscal Tax Value'
required=True
string='PFC Value'
name
Char
required=True
size=256
percent_amount
Float
digits='Fiscal Tax Percent'
required=True
string='Percent'
percent_debit_credit
Float
digits='Fiscal Tax Percent'
required=True
string='Percent Debit/Credit'
percent_reduction
Float
digits='Fiscal Tax Percent'
required=True
sequence
Integer
help='The sequence field is used to define the order in which taxes are displayed.'
related='tax_group_id.sequence'
store=True
tax_base_type
Selection
compute='_compute_tax_base_type'
default=TAX_BASE_TYPE_PERCENT
required=True
selection=TAX_BASE_TYPE
store=True
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
required=True
string='Fiscal Tax Group'
tax_scope
Selection
related='tax_group_id.tax_scope'
store=True
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
value_amount
Float
digits='Fiscal Tax Value'
required=True
string='Value'
compute_taxes(self, **kwargs)
cst_from_tax(self, fiscal_operation_type=FISCAL_OUT)
code
Char
size=8
credit_reversal
Boolean
default=False
cst_code_prefix_like
Char
compute='_compute_cst_code_prefix_like'
help='Helper field to filter taxes by CST code prefix (3 chars) using LIKE.'
description
Text
document_type_ids
Many2many → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
help='Related Digital Fiscal Documents'
relation='tax_classification_document_type_rel'
string='Related DFes'
presumed_credit
Boolean
default=False
rate_type
Selection
default=TAX_RATE_TYPE_DEFAULT
required=True
selection=TAX_RATE_TYPE
regular_taxation
Boolean
default=False
tax_cbs_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=<expr>
string='Tax CBS'
tax_ibs_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=<expr>
string='Tax IBS'
No public methods.
benefit_type
Selection
selection=ICMS_TAX_BENEFIT_TYPE
states={'draft': [('readonly', False)]}
cest_ids
Many2many → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
readonly=True
string='CESTs'
cests
Text
readonly=True
states={'draft': [('readonly', False)]}
string='CEST List'
cfop_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
string='CFOP'
city_taxation_code_ids
Many2many → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
relation='tax_definition_city_taxation_code_rel'
string='City Taxation Codes'
code
Char
size=8
states={'draft': [('readonly', False)]}
company_id
Many2one → res.company
comodel_name='res.company'
readonly=True
states={'draft': [('readonly', False)]}
string='Company'
cst_code
Char
related='cst_id.code'
string='CST Code'
cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', (type_in_out, 'all')), ('tax_group_id', '=', tax_group_id)]"
readonly=True
string='CST'
custom_tax
Boolean
readonly=True
states={'draft': [('readonly', False)]}
date_end
Datetime
readonly=True
states={'draft': [('readonly', False)]}
string='End Date'
date_start
Datetime
readonly=True
states={'draft': [('readonly', False)]}
string='Start Date'
description
Text
states={'draft': [('readonly', False)]}
display_name
Char
compute='_compute_display_name'
store=True
fiscal_operation_line_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
string='Operation Line'
fiscal_profile_id
Many2one → l10n_br_fiscal.partner.profile
comodel_name='l10n_br_fiscal.partner.profile'
string='Partner Profile'
icms_regulation_id
Many2one → l10n_br_fiscal.icms.regulation
comodel_name='l10n_br_fiscal.icms.regulation'
string='ICMS Regulation'
ind_final
Selection
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
ipi_guideline_id
Many2one → l10n_br_fiscal.tax.ipi.guideline
comodel_name='l10n_br_fiscal.tax.ipi.guideline'
domain="['|', ('cst_in_id', '=', cst_id), ('cst_out_id', '=', cst_id)]"
string='IPI Guideline'
is_benefit
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Benefit?'
is_debit_credit
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Debit/Credit?'
is_taxed
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Taxed?'
name
Char
states={'draft': [('readonly', False)]}
national_taxation_code_ids
Many2many → l10n_br_fiscal.national.taxation.code
comodel_name='l10n_br_fiscal.national.taxation.code'
relation='tax_definition_national_taxation_code_rel'
string='National Taxation Codes'
nbm_ids
Many2many → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
readonly=True
string='NBMs'
nbms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NBM List'
ncm_exception
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NCM Exeption'
ncm_ids
Many2many → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
readonly=True
string='NCMs'
ncms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NCM List'
not_in_nbms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='Not in NBMs'
not_in_ncms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='Not in NCMs'
product_ids
Many2many → product.product
comodel_name='product.product'
string='Products'
service_type_ids
Many2many → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
string='Fiscal Service Types'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
state_from_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='From State'
state_to_ids
Many2many → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='To States'
tax_domain
Selection
related='tax_group_id.tax_domain'
states={'draft': [('readonly', False)]}
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Tax Group'
tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain="[('tax_group_id', '=', tax_group_id)]"
readonly=True
states={'draft': [('readonly', False)]}
string='Tax'
type_in_out
Selection
default=FISCAL_OUT
readonly=True
required=True
selection=FISCAL_IN_OUT
states={'draft': [('readonly', False)]}
string='Type'
action_approve(self)
action_draft(self)
action_review(self)
action_search_cests(self)
action_search_nbms(self)
action_search_ncms(self)
create(self, vals_list)
map_tax_definition(self, company, partner, product, ncm=None, nbm=None, nbs=None, cest=None, city_taxation_code=None, national_taxation_code=None, service_type=None)
name_get(self)
unlink(self)
write(self, values)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
create_date
Datetime
readonly=True
federal_taxes_import
Float
digits='Fiscal Tax Percent'
string='Impostos Federais Importado'
federal_taxes_national
Float
digits='Fiscal Tax Percent'
string='Impostos Federais Nacional'
key
Char
size=32
municipal_taxes
Float
digits='Fiscal Tax Percent'
string='Impostos Municipais Nacional'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
string='NCM'
origin
Char
size=32
string='Source'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
required=True
string='State'
state_taxes
Float
digits='Fiscal Tax Percent'
string='Impostos Estaduais Nacional'
No public methods.
base_with_additional_values
Boolean
default=True
string='Add the value of freight, insurance and others to the Base'
base_without_icms
Boolean
default=False
string='Remove ICMS value from Base'
compute_sequence
Integer
default=10
help='The sequence field is used to define order in which the tax lines are applied.'
required=True
cst_ids
One2many → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
inverse_name='tax_group_id'
string='CSTs'
name
Char
required=True
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='WH Partner'
sequence
Integer
default=10
help='The sequence field is used to define the order in which taxes are displayed.'
required=True
tax_domain
Selection
required=True
selection=TAX_DOMAIN
tax_ids
One2many → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
inverse_name='tax_group_id'
string='Taxes'
tax_include
Boolean
default=False
string='Tax Included in Price'
tax_scope
Selection
required=True
selection=[('city', _('City')), ('state', _('State')), ('federal', _('Federal')), ('other', _('Other'))]
tax_withholding
Boolean
default=False
wh_due_day
Integer
string='Due Day'
No public methods.
No new fields.
Public methods (0)No public methods.
code
Char
size=3
cst_group
Selection
required=True
selection=IPI_GUIDELINE_GROUP
string='Group'
cst_in_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain=[('domain', '=', TAX_DOMAIN_IPI), ('cst_type', '=', FISCAL_IN)]
string='CST In'
cst_out_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain=[('domain', '=', TAX_DOMAIN_IPI), ('cst_type', '=', FISCAL_OUT)]
string='CST Out'
No public methods.
No new fields.
Public methods (0)No public methods.
code
Char
required=True
name
Text
index=True
required=True
ncm_exception
Char
string='NCM Exeption'
ncm_ids
Many2many → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
compute='_compute_ncms'
readonly=True
store=True
string='NCMs'
ncms
Char
string='NCM'
not_in_ncms
Char
string='Not in NCM'
piscofins_type
Selection
default='ncm'
index=True
required=True
selection=[('ncm', _('NCM')), ('product', _('Product')), ('company', _('Company'))]
string='Type'
tax_cofins_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS)]
string='Tax COFINS'
tax_cofins_st_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_ST)]
string='Tax COFINS ST'
tax_pis_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS)]
string='Tax PIS'
tax_pis_st_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_ST)]
string='Tax PIS ST'
No public methods.
code
Char
size=2
No public methods.
code
Char
size=3
No public methods.
No new fields.
Public methods (0)No public methods.
cest_id
Many2one → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='CEST'
city_taxation_code_ids
Many2many → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
string='City Taxation Code'
fiscal_genre_code
Char
related='fiscal_genre_id.code'
store=True
string='Fiscal Product Genre Code'
fiscal_genre_id
Many2one → l10n_br_fiscal.product.genre
comodel_name='l10n_br_fiscal.product.genre'
compute='_compute_fiscal_genre_id'
readonly=False
store=True
string='Fiscal Product Genre'
fiscal_type
Selection
company_dependent=True
selection=PRODUCT_FISCAL_TYPE
icms_origin
Selection
company_dependent=True
default=ICMS_ORIGIN_DEFAULT
selection=ICMS_ORIGIN
string='ICMS Origin'
ipi_control_seal_id
Many2one → l10n_br_fiscal.tax.ipi.control.seal
comodel_name='l10n_br_fiscal.tax.ipi.control.seal'
string='IPI Control Seal'
ipi_guideline_class_id
Many2one → l10n_br_fiscal.tax.ipi.guideline.class
comodel_name='l10n_br_fiscal.tax.ipi.guideline.class'
string='IPI Guideline Class'
national_taxation_code_id
Many2one → l10n_br_fiscal.national.taxation.code
comodel_name='l10n_br_fiscal.national.taxation.code'
string='National Taxation Code'
nbm_id
Many2one → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
index=True
string='NBM'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
index=True
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
compute='_compute_ncm_id'
default=_get_default_ncm_id
index=True
readonly=False
store=True
string='NCM'
operation_indicator_id
Many2one → l10n_br_fiscal.operation.indicator
comodel_name='l10n_br_fiscal.operation.indicator'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain="[('internal_type', '=', 'normal')]"
string='Service Type LC 166'
tax_icms_or_issqn
Selection
compute='_compute_tax_icms_or_issqn'
default=TAX_DOMAIN_ICMS
readonly=False
selection=TAX_ICMS_OR_ISSQN
store=True
string='ICMS or ISSQN Tax'
type
Selection
ondelete={'product': 'set consu'}
selection_add=[('product', 'Storable Product')]
uoe_factor
Float
default=1.0
string='Export UoM Factor'
uoe_id
Many2one → uom.uom
comodel_name='uom.uom'
related='ncm_id.uoe_id'
store=True
string='Export UoM'
uot_factor
Float
string='Tax UoM Factor'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
accountant_id
Many2one → res.partner
comodel_name='res.partner'
string='Accountant'
accounting_office
Many2one → res.partner
comodel_name='res.partner'
annual_revenue
Monetary
currency_field='currency_id'
cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
compute='_compute_address'
domain="[('internal_type', '=', 'normal'), ('id', 'not in', cnae_secondary_ids)]"
inverse='_inverse_cnae_main_id'
string='Main CNAE'
cnae_secondary_ids
Many2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal'), ('id', '!=', cnae_main_id)]"
string='Secondary CNAE'
coefficient_r
Boolean
compute='_compute_simplified_tax'
readonly=True
store=True
coefficient_r_percent
Float
compute='_compute_simplified_tax'
readonly=True
store=True
string='Coefficient R (%)'
delivery_costs
Selection
default='line'
help='Define if costs of Insurance, Freight and Other Costs should be informed by Line or by Total.'
selection=[('line', 'By Line'), ('total', 'By Total')]
document_save_disk
Boolean
default=True
string='Save Documents to disk'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Default Document Type'
ibpt_api
Boolean
default=False
string='Use IBPT API'
ibpt_token
Char
ibpt_update_days
Integer
default=15
string='IBPT Token Updates'
icms_regulation_id
Many2one → l10n_br_fiscal.icms.regulation
comodel_name='l10n_br_fiscal.icms.regulation'
string='ICMS Regulation'
industry_type
Selection
default=INDUSTRY_TYPE_TRANSFORMATION
selection=INDUSTRY_TYPE
is_industry
Boolean
default=False
help='If your company is industry or ......'
legal_nature_id
Many2one → l10n_br_fiscal.legal.nature
comodel_name='l10n_br_fiscal.legal.nature'
compute='_compute_address'
inverse='_inverse_legal_nature_id'
string='Legal Nature'
payroll_amount
Monetary
currency_field='currency_id'
string='Last Period Payroll Amount'
piscofins_id
Many2one → l10n_br_fiscal.tax.pis.cofins
comodel_name='l10n_br_fiscal.tax.pis.cofins'
domain="[('piscofins_type', '=', 'company')]"
string='PIS/COFINS'
processador_edoc
Selection
default=PROCESSADOR_NENHUM
selection=PROCESSADOR
string='Processador documentos eletrônicos'
profit_calculation
Selection
default=PROFIT_CALCULATION_PRESUMED
selection=PROFIT_CALCULATION
ripi
Boolean
string='RIPI'
simplified_tax_id
Many2one → l10n_br_fiscal.simplified.tax
comodel_name='l10n_br_fiscal.simplified.tax'
compute='_compute_simplified_tax'
readonly=True
store=True
string='Simplified Tax'
simplified_tax_percent
Float
compute='_compute_simplified_tax'
digits='Fiscal Tax Percent'
store=True
simplified_tax_range_id
Many2one → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
compute='_compute_simplified_tax'
readonly=True
store=True
string='Simplified Tax Range'
tax_classification_id
Many2one → l10n_br_fiscal.tax.classification
comodel_name='l10n_br_fiscal.tax.classification'
domain=[('tax_ibs_id', '!=', False), ('tax_cbs_id', '!=', False)]
string='Default Tax Classification'
tax_cofins_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_WH)]
string='Default COFINS RET'
tax_csll_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL)]
string='Default CSLL'
tax_csll_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL_WH)]
string='Default CSLL RET'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='company_id'
string='Tax Definition'
tax_framework
Selection
compute='_compute_address'
default=TAX_FRAMEWORK_NORMAL
inverse='_inverse_tax_framework'
selection=TAX_FRAMEWORK
tax_icms_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', 'in', (TAX_DOMAIN_ICMS, TAX_DOMAIN_ICMS_SN))]
string='Default ICMS'
tax_inss_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS)]
string='Default INSS'
tax_inss_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS_WH)]
string='Default INSS RET'
tax_ipi_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Default IPI'
tax_irpj_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ)]
string='Default IRPJ'
tax_irpj_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ_WH)]
string='Default IRPJ RET'
tax_issqn_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN)]
string='Default ISSQN'
tax_issqn_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN_WH)]
string='Default ISSQN RET'
tax_pis_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_WH)]
string='Default PIS RET'
technical_support_id
Many2one → res.partner
comodel_name='res.partner'
string='Technical Support'
No public methods.
delivery_costs
Selection
readonly=False
related='company_id.delivery_costs'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
related='company_id.document_type_id'
string='Default Document Type'
ibpt_api
Boolean
readonly=False
related='company_id.ibpt_api'
string='Use IBPT API'
ibpt_token
Char
readonly=False
related='company_id.ibpt_token'
string='IBPT Token'
ibpt_update_days
Integer
readonly=False
related='company_id.ibpt_update_days'
string='IBPT Update'
module_l10n_br_cte
Boolean
string='CT-e'
module_l10n_br_mdfe
Boolean
string='MDF-e'
module_l10n_br_nfe
Boolean
string='NF-e/NFC-e'
module_l10n_br_nfse
Boolean
string='NFS-e'
No public methods.
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain="['|', ('state_from_ids', '=', id), ('state_to_ids', '=', id)]"
string='Tax Definitions'
No public methods.
city_id
Many2one
tracking=True
cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain=[('internal_type', '=', 'normal')]
string='Main CNAE'
cnae_secondary_ids
Many2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal'), ('id', '!=', cnae_main_id)]"
string='Secondary CNAEs'
fiscal_profile_id
Many2one → l10n_br_fiscal.partner.profile
comodel_name='l10n_br_fiscal.partner.profile'
default=_default_fiscal_profile_id
domain="[('is_company', '=', is_company)]"
inverse='_inverse_fiscal_profile'
string='Fiscal Partner Profile'
tracking=True
ind_final
Selection
default=FINAL_CUSTOMER_NO
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
tracking=True
ind_ie_dest
Selection
default=NFE_IND_IE_DEST_DEFAULT
required=True
selection=NFE_IND_IE_DEST
string='Contribuinte do ICMS'
tracking=True
is_company
Boolean
tracking=True
is_public_entity
Boolean
help='Indicates whether the entity in question is a public organization or government-related entity. It encompasses a range of entities such as municipal governments, state-owned enterprises (where the government is the largest shareholder), and other government-controlled organizations.'
string='Public Entity'
l10n_br_ie_code
Char
tracking=True
l10n_br_im_code
Char
tracking=True
legal_nature_id
Many2one → l10n_br_fiscal.legal.nature
comodel_name='l10n_br_fiscal.legal.nature'
string='Legal Nature'
nif_motive_absence
Selection
default=False
selection=[('0', 'Not informed in the origin note'), ('1', 'Exemption from NIF'), ('2', 'NIF not required')]
string='NIF motive absence'
public_entity_type
Selection
selection=PUBLIC_ENTIRY_TYPE
string='Tipo de Entidade Governamental'
rntrc_code
Char
size=12
string='RNTRC Code'
tracking=True
unaccent=False
state_id
Many2one
tracking=True
tax_framework
Selection
default=TAX_FRAMEWORK_NORMAL
selection=TAX_FRAMEWORK
tracking=True
vat
Char
tracking=True
No public methods.
code
Char
help="Abbreviated unit code used in electronic fiscal documents (e.g. NF-e, NFC-e). Must have a maximum of 6 characters by regulation. e.g. 'UN', 'KG', 'LITRO', 'CX12UN"
size=6
translate=False
description
Char
help="Full unit description. e.g. 'Unit', 'Kilogram', 'Box of 12 Units'."
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-brazil |
| GIT | |
| GIT | https://github.com/OCA/l10n-brazil.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-brazil/tree/15.0/l10n_br_fiscal |
| VERSION | |
| VERSION | 2.15.0 |
| CATEGORY | |
| CATEGORY | Localisation |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | Yes |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Raphaël Valyi, Renato Lima, Weblate, OCA-git-bot, Magno Costa, oca-ci, Marcel Savegnago, Antônio Neto, CristianoMafraJunior, Felipe Motter Pereira, MateusONunes |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/l10n-brazil |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:46:32 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/l10n-brazil: - l10n_br_base odoo/odoo: - product - base - base_setup - web - bus - web_tour - uom - base_address_city - base_address_extended |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
erpbrasil.base email-validator num2words phonenumbers |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cest_form |
l10n_br_fiscal.cest.form | l10n_br_fiscal.cest | form | New |
cest_search |
l10n_br_fiscal.cest.search | l10n_br_fiscal.cest | search | New |
cest_tree |
l10n_br_fiscal.cest.tree | l10n_br_fiscal.cest | tree | New |
cfop_form |
l10n_br_fiscal.cfop.form | l10n_br_fiscal.cfop | form | New |
cfop_search |
l10n_br_fiscal.cfop.search | l10n_br_fiscal.cfop | search | New |
cfop_tree |
l10n_br_fiscal.cfop.tree | l10n_br_fiscal.cfop | tree | New |
city_taxation_code_form_view |
city.taxation.code.form (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | form | New |
city_taxation_code_search_view |
city.taxation.code.search (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | search | New |
city_taxation_code_tree_view |
city.taxation.code.tree (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | tree | New |
cnae_form |
l10n_br_fiscal.cnae.form | l10n_br_fiscal.cnae | form | New |
cnae_search |
l10n_br_fiscal.cnae.search | l10n_br_fiscal.cnae | search | New |
cnae_tree |
l10n_br_fiscal.cnae.tree | l10n_br_fiscal.cnae | tree | New |
comment_form |
l10n_br_fiscal.comment.form | l10n_br_fiscal.comment | form | New |
comment_search |
l10n_br_fiscal.comment.search | l10n_br_fiscal.comment | search | New |
comment_tree |
l10n_br_fiscal.comment.tree | l10n_br_fiscal.comment | tree | New |
cst_form |
l10n_br_fiscal.cst.form | l10n_br_fiscal.cst | form | New |
cst_search |
l10n_br_fiscal.cst.search | l10n_br_fiscal.cst | search | New |
cst_tree |
l10n_br_fiscal.cst.tree | l10n_br_fiscal.cst | tree | New |
document_email_form |
l10n_br_fiscal.document.email.form | l10n_br_fiscal.document.email | form | New |
document_email_tree |
l10n_br_fiscal.document.email.tree | l10n_br_fiscal.document.email | tree | New |
document_fiscal_line_mixin_form |
l10n_br_fiscal.document.line.mixin.form | l10n_br_fiscal.document.line | form | New |
document_form |
l10n_br_fiscal.document.form | l10n_br_fiscal.document | form | New |
document_line_form |
l10n_br_fiscal.document.line.form | l10n_br_fiscal.document.line | form | New |
document_related_form |
l10n_br_fiscal.document.related.form | l10n_br_fiscal.document.related | form | New |
document_related_tree |
l10n_br_fiscal.document.related.tree | l10n_br_fiscal.document.related | tree | New |
document_search |
l10n_br_fiscal.document.search | l10n_br_fiscal.document | search | New |
document_serie_form |
l10n_br_fiscal.document.serie.form | l10n_br_fiscal.document.serie | form | New |
document_serie_tree |
l10n_br_fiscal.document.serie.tree | l10n_br_fiscal.document.serie | tree | New |
document_tree |
l10n_br_fiscal.document.tree | l10n_br_fiscal.document | tree | New |
document_type_form |
l10n_br_fiscal.document.type.form | l10n_br_fiscal.document.type | form | New |
document_type_tree |
l10n_br_fiscal.document.type.tree | l10n_br_fiscal.document.type | tree | New |
fiscal_res_company_form |
l10n_br_fiscal.res.company.form | res.company | notebook | Inherits base.view_company_form |
invalidate_number_form |
l10n_br_fiscal.invalidate.number.form | l10n_br_fiscal.invalidate.number | form | New |
invalidate_number_search |
l10n_br_fiscal.invalidate.number.search | l10n_br_fiscal.invalidate.number | search | New |
invalidate_number_tree |
l10n_br_fiscal.invalidate.number.tree | l10n_br_fiscal.invalidate.number | tree | New |
l10n_br_fiscal_res_config_settings_form |
l10n_br_fiscal.res.config.settings.view.form | res.config.settings | xpath | Inherits base.res_config_settings_view_form |
nbm_form |
l10n_br_fiscal.nbm.form | l10n_br_fiscal.nbm | form | New |
nbm_kanban |
l10n_br_fiscal.nbm.kanban | l10n_br_fiscal.ncm | kanban | New |
nbm_search |
l10n_br_fiscal.nbm.search | l10n_br_fiscal.nbm | search | New |
nbm_tree |
l10n_br_fiscal.nbm.tree | l10n_br_fiscal.nbm | tree | New |
nbs_form |
l10n_br_fiscal.nbs.form | l10n_br_fiscal.nbs | form | New |
nbs_kanban |
l10n_br_fiscal.nbs.kanban | l10n_br_fiscal.nbs | kanban | New |
nbs_search |
l10n_br_fiscal.nbs.search | l10n_br_fiscal.nbs | search | New |
nbs_tree |
l10n_br_fiscal.nbs.tree | l10n_br_fiscal.nbs | tree | New |
ncm_form |
l10n_br_fiscal.ncm.form | l10n_br_fiscal.ncm | form | New |
ncm_kanban |
l10n_br_fiscal.ncm.kanban | l10n_br_fiscal.ncm | kanban | New |
ncm_search |
l10n_br_fiscal.ncm.search | l10n_br_fiscal.ncm | search | New |
ncm_tree |
l10n_br_fiscal.ncm.tree | l10n_br_fiscal.ncm | tree | New |
operation_dashboard_kanban |
l10n_br_fiscal.operation.dashboard.kanban | l10n_br_fiscal.operation | kanban | New |
operation_form |
l10n_br_fiscal.operation.form | l10n_br_fiscal.operation | form | New |
operation_line_form |
l10n_br_fiscal.operation.line.form | l10n_br_fiscal.operation.line | form | New |
operation_line_tree |
l10n_br_fiscal.operation.line.tree | l10n_br_fiscal.operation.line | tree | New |
operation_search |
l10n_br_fiscal.operation.search | l10n_br_fiscal.operation | search | New |
operation_tree |
l10n_br_fiscal.operation.tree | l10n_br_fiscal.operation | tree | New |
partner_form |
l10n_br_fiscal.partner.form | res.partner | group | Inherits l10n_br_base.l10n_br_base_partner_form |
partner_profile_form |
l10n_br_fiscal.partner.profile.form | l10n_br_fiscal.partner.profile | form | New |
partner_profile_search |
l10n_br_fiscal.partner.profile.search | l10n_br_fiscal.partner.profile | search | New |
partner_profile_tree |
l10n_br_fiscal.partner.profile.tree | l10n_br_fiscal.partner.profile | tree | New |
product_form |
l10n_br_fiscal.product.product.form | product.product | xpath | Inherits product.product_normal_form_view |
product_genre_form |
l10n_br_fiscal.product.genre.form | l10n_br_fiscal.product.genre | form | New |
product_genre_search |
l10n_br_fiscal.product.genre.search | l10n_br_fiscal.product.genre | search | New |
product_genre_tree |
l10n_br_fiscal.product.genre.tree | l10n_br_fiscal.product.genre | tree | New |
product_search |
l10n_br_fiscal.product.product.search | product.product | field | Inherits product.product_search_form_view |
product_template_form |
l10n_br_fiscal.product.template.form | product.template | xpath | Inherits product.product_template_only_form_view |
product_template_search |
l10n_br_fiscal.product.template.search | product.template | field | Inherits product.product_template_search_view |
product_template_tree |
product.template.tree | product.template | tree | New |
product_tree |
product.product.tree | product.product | tree | New |
service_type_form |
l10n_br_fiscal.service.type.form | l10n_br_fiscal.service.type | form | New |
service_type_kanban |
l10n_br_fiscal.service.type.kanban | l10n_br_fiscal.service.type | kanban | New |
service_type_search |
l10n_br_fiscal.service.type.search | l10n_br_fiscal.service.type | search | New |
service_type_tree |
l10n_br_fiscal.service.type.tree | l10n_br_fiscal.service.type | tree | New |
simplified_tax_form |
l10n_br_fiscal.simplified.tax.form | l10n_br_fiscal.simplified.tax | form | New |
simplified_tax_range_tree |
l10n_br_fiscal.simplified.tax.range.tree | l10n_br_fiscal.simplified.tax.range | tree | New |
simplified_tax_tree |
l10n_br_fiscal.simplified.tax.tree | l10n_br_fiscal.simplified.tax | tree | New |
source_document_tree |
source.document.tree | l10n_br_fiscal.subsequent.document | tree | New |
subsequent_document_tree |
l10n_br_fiscal.subsequent.document.tree | l10n_br_fiscal.subsequent.document | tree | New |
subsequent_operation_tree |
l10n_br_fiscal.subsequent.operation.tree | l10n_br_fiscal.subsequent.operation | tree | New |
tax_definition_form |
l10n_br_fiscal.tax.definition.form | l10n_br_fiscal.tax.definition | form | New |
tax_definition_icms_tree |
l10n_br_fiscal.tax.definition.icms.tree | l10n_br_fiscal.tax.definition | tree | New |
tax_definition_tree |
l10n_br_fiscal.tax.definition.tree | l10n_br_fiscal.tax.definition | tree | New |
tax_estimate_tree |
l10n_br_fiscal.tax.estimate.tree | l10n_br_fiscal.tax.estimate | tree | New |
tax_form |
l10n_br_fiscal.tax.form | l10n_br_fiscal.tax | form | New |
tax_group_form |
l10n_br_fiscal.tax.group.form | l10n_br_fiscal.tax.group | form | New |
tax_group_search |
l10n_br_fiscal.tax.group.search | l10n_br_fiscal.tax.group | search | New |
tax_group_tree |
l10n_br_fiscal.tax.group.tree | l10n_br_fiscal.tax.group | tree | New |
tax_icms_regulation_form |
l10n_br_fiscal.icms.regulation.form | l10n_br_fiscal.icms.regulation | form | New |
tax_icms_regulation_search |
l10n_br_fiscal.icms.regulation.search | l10n_br_fiscal.icms.regulation | search | New |
tax_icms_regulation_tree |
l10n_br_fiscal.icms.regulation.tree | l10n_br_fiscal.icms.regulation | tree | New |
tax_icms_relief_form |
l10n_br_fiscal.icms.relief.form | l10n_br_fiscal.icms.relief | form | New |
tax_icms_relief_search |
l10n_br_fiscal.icms.relief.search | l10n_br_fiscal.icms.relief | search | New |
tax_icms_relief_tree |
l10n_br_fiscal.icms.relief.tree | l10n_br_fiscal.icms.relief | tree | New |
tax_ipi_control_seal_form |
l10n_br_fiscal.tax.ipi.control.seal.form | l10n_br_fiscal.tax.ipi.control.seal | form | New |
tax_ipi_control_seal_search |
l10n_br_fiscal.tax.ipi.control.seal.search | l10n_br_fiscal.tax.ipi.guideline.class | search | New |
tax_ipi_control_seal_tree |
l10n_br_fiscal.tax.ipi.control.seal.tree | l10n_br_fiscal.tax.ipi.control.seal | tree | New |
tax_ipi_guideline_class_form |
l10n_br_fiscal.tax.ipi.guideline.class.form | l10n_br_fiscal.tax.ipi.guideline.class | form | New |
tax_ipi_guideline_class_search |
l10n_br_fiscal.tax.ipi.guideline.class.search | l10n_br_fiscal.tax.ipi.guideline.class | search | New |
tax_ipi_guideline_class_tree |
l10n_br_fiscal.tax.ipi.guideline.class.tree | l10n_br_fiscal.tax.ipi.guideline.class | tree | New |
tax_ipi_guideline_form |
l10n_br_fiscal.tax.ipi.guideline.form | l10n_br_fiscal.tax.ipi.guideline | form | New |
tax_ipi_guideline_search |
l10n_br_fiscal.tax.ipi.guideline.search | l10n_br_fiscal.tax.ipi.guideline | search | New |
tax_ipi_guideline_tree |
l10n_br_fiscal.tax.ipi.guideline.tree | l10n_br_fiscal.tax.ipi.guideline | tree | New |
tax_pis_cofins_base_form |
l10n_br_fiscal.tax.pis.cofins.base.form | l10n_br_fiscal.tax.pis.cofins.base | form | New |
tax_pis_cofins_base_search |
l10n_br_fiscal.tax.pis.cofins.base.search | l10n_br_fiscal.tax.pis.cofins.base | search | New |
tax_pis_cofins_base_tree |
l10n_br_fiscal.tax.pis.cofins.base.tree | l10n_br_fiscal.tax.pis.cofins.base | tree | New |
tax_pis_cofins_credit_form |
l10n_br_fiscal.tax.pis.cofins.credit.form | l10n_br_fiscal.tax.pis.cofins.credit | form | New |
tax_pis_cofins_credit_search |
l10n_br_fiscal.tax.pis.cofins.credit.search | l10n_br_fiscal.tax.pis.cofins.credit | search | New |
tax_pis_cofins_credit_tree |
l10n_br_fiscal.tax.pis.cofins.credit.tree | l10n_br_fiscal.tax.pis.cofins.credit | tree | New |
tax_pis_cofins_form |
l10n_br_fiscal.pis.cofins.tax.form | l10n_br_fiscal.tax.pis.cofins | form | New |
tax_pis_cofins_search |
l10n_br_fiscal.tax.search | l10n_br_fiscal.tax.pis.cofins | search | New |
tax_pis_cofins_tree |
l10n_br_fiscal.tax.pis.cofins.tree | l10n_br_fiscal.tax.pis.cofins | tree | New |
tax_search |
l10n_br_fiscal.tax.search | l10n_br_fiscal.tax | search | New |
tax_tree |
l10n_br_fiscal.tax.tree | l10n_br_fiscal.tax | tree | New |
uom_uom_form_view |
uom.uom.form (in l10n_br_fiscal) | uom.uom | field | Inherits uom.product_uom_form_view |
uom_uom_tree_view |
uom.uom.tree (in l10n_br_fiscal) | uom.uom | field | Inherits uom.product_uom_tree_view |
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
string='Fiscal Document'
document_key
Char
document_number
Char
document_serie
Char
document_status
Text
readonly=True
string='Status'
document_type
Char
related='document_type_id.code'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Document Type'
justification
Text
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
rps_number
Char
state
Selection
default='init'
readonly=True
selection=[('init', 'init'), ('confirm', 'confirm'), ('done', 'done')]
button_back(self)
default_get(self, fields_list)
code
Char
size=9
code_unmasked
Char
size=7
item
Char
required=True
name
Text
index=True
required=True
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='cest_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
readonly=True
relation='fiscal_cest_ncm_rel'
string='NCMs'
ncms
Char
string='NCM'
product_tmpl_ids
One2many
inverse_name='cest_id'
segment
Selection
required=True
selection=CEST_SEGMENT
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='cest_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_cest_rel'
string='Tax Definition'
action_search_ncms(self)
create(self, vals_list)
write(self, values)
account_move
Boolean
default=True
string='Account Move?'
assent_move
Boolean
default=False
string='Assent Move?'
cfop_inverse_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('destination', '=', destination),('type_in_out', '!=', type_in_out)]"
string='Inverse CFOP'
cfop_return_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('destination', '=', destination),('type_in_out', '!=', type_in_out),('type_move', 'in', ('sale_refund', 'purchase_refund', 'return_out', 'return_in'))]"
string='Return CFOP'
code
Char
size=4
destination
Selection
compute='_compute_destination'
help='Identifies the operation destination.'
selection=CFOP_DESTINATION
store=True
finance_move
Boolean
default=True
string='Finance Moves?'
ind_anula
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Revocation?'
ind_comb
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes - Without mandatory transportation information'), ('2', '2 - Yes - With mandatory transportation information')]
string='Fuel?'
ind_comunica
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Communication?'
ind_cte
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Used in CTe'
ind_devol
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Return?'
ind_nfe
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Used in NFe'
ind_remes
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Shipment?'
ind_retor
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Regress?'
ind_transp
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Transport?'
is_import
Boolean
compute='_compute_is_import'
string='Is Import?'
small_name
Char
required=True
size=32
stock_move
Boolean
default=True
string='Stock Moves?'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='cfop_id'
string='Tax Definition'
type_in_out
Selection
default=FISCAL_OUT
required=True
selection=FISCAL_IN_OUT
string='Type'
type_move
Selection
default=CFOP_TYPE_MOVE_DEFAULT
required=True
selection=CFOP_TYPE_MOVE
No public methods.
city_id
Many2one → res.city
comodel_name='res.city'
domain="[('state_id', '=', state_id)]"
string='City'
cnae_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='CNAE Code'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain=[('internal_type', '=', 'normal')]
string='Service Type'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='State'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='city_taxation_code_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_city_taxation_code_rel'
string='Tax Definition'
No public methods.
child_ids
One2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
inverse_name='parent_id'
string='Children CNAEs'
code
Char
size=16
internal_type
Selection
default='normal'
required=True
selection=[('view', 'View'), ('normal', 'Normal')]
parent_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='Parent CNAE'
version
Char
required=True
size=16
No public methods.
comment
Text
required=True
comment_type
Selection
default=COMMENT_TYPE_COMMERCIAL
required=True
selection=COMMENT_TYPE
date_begin
Date
string='Initial Date'
date_end
Date
string='Final Date'
name
Char
required=True
object
Selection
required=True
selection=FISCAL_COMMENT_OBJECTS
object_id
Reference
ondelete='set null'
selection=FISCAL_COMMENT_OBJECTS
string='Reference'
sequence
Integer
default=10
test_comment
Text
action_test_message(self)
compute_message(self, vals, manual_comment=None)
format_amount(self, env, amount, currency)
name_get(self)
code
Char
size=4
cst_type
Selection
required=True
selection=FISCAL_IN_OUT_ALL
string='Type'
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
required=True
string='Fiscal Tax Group'
No public methods.
active
Boolean
default=True
code
Char
index=True
required=True
code_unmasked
Char
compute='_compute_code_unmasked'
index=True
store=True
string='Unmasked Code'
name
Text
index=True
required=True
action_archive(self)
action_unarchive(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
name_get(self)
estimate_tax_imported
Float
compute='_compute_amount'
digits='Fiscal Tax Percent'
readonly=True
store=True
string='Estimate Tax Imported Percent'
estimate_tax_national
Float
compute='_compute_amount'
digits='Fiscal Tax Percent'
readonly=True
store=True
string='Estimate Tax Nacional Percent'
tax_estimate_ids
One2many → l10n_br_fiscal.tax.estimate
comodel_name='l10n_br_fiscal.tax.estimate'
readonly=True
string='Estimate Taxes'
action_ibpt_inquiry(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
product_tmpl_ids
One2many → product.template
comodel_name='product.template'
readonly=True
string='Products'
product_tmpl_qty
Integer
compute='_compute_product_tmpl_infos'
string='Products Quantity'
No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
date_in_out
Datetime
copy=False
string='Date IN/OUT'
document_date
Datetime
copy=False
document_electronic
Boolean
related='document_type_id.electronic'
store=True
string='Electronic?'
document_related_ids
One2many → l10n_br_fiscal.document.related
comodel_name='l10n_br_fiscal.document.related'
inverse_name='document_id'
string='Fiscal Document Related'
document_subsequent_generated
Boolean
compute='_compute_document_subsequent_generated'
default=False
string='Subsequent documents generated?'
document_subsequent_ids
One2many → l10n_br_fiscal.subsequent.document
comodel_name='l10n_br_fiscal.subsequent.document'
copy=True
inverse_name='source_document_id'
document_type
Char
related='document_type_id.code'
store=True
string='Document Type Code'
edoc_purpose
Selection
default=EDOC_PURPOSE_NORMAL
selection=EDOC_PURPOSE
string='Finalidade'
fiscal_line_ids
One2many → l10n_br_fiscal.document.line
check_company=True
comodel_name='l10n_br_fiscal.document.line'
copy=True
inverse_name='document_id'
string='Document Lines'
fiscal_operation_id
Many2one
domain="[('state', '=', 'approved'), '|', ('fiscal_operation_type', '=', fiscal_operation_type), ('fiscal_operation_type', '=', 'all')]"
fiscal_operation_type
Selection
store=True
imported_document
Boolean
default=False
string='Imported'
issuer
Selection
default=DOCUMENT_ISSUER_COMPANY
selection=DOCUMENT_ISSUER
name
Char
compute='_compute_name'
index=True
store=True
operation_name
Char
copy=False
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
partner_shipping_id
Many2one → res.partner
comodel_name='res.partner'
string='Shipping Address'
rps_number
Char
copy=False
index=True
string='RPS Number'
service_provider
Selection
selection=[('0', 'Remetente'), ('1', 'Expedidor'), ('2', 'Recebedor'), ('3', 'Destinatário'), ('4', 'Outros')]
string='Tomador do Serviço'
state
Selection
related='state_edoc'
string='State'
state_edoc
Selection
copy=False
default=SITUACAO_EDOC_EM_DIGITACAO
index=True
readonly=True
required=True
selection=SITUACAO_EDOC
string='Situação e-doc'
state_fiscal
Selection
copy=False
index=True
selection=SITUACAO_FISCAL
string='Situação Fiscal'
transport_modal
Selection
selection=[('01', 'Rodoviário'), ('02', 'Aéreo'), ('03', 'Aquaviário'), ('04', 'Ferroviário'), ('05', 'Dutoviário'), ('06', 'Multimodal')]
string='Modal de Transporte'
user_id
Many2one → res.users
comodel_name='res.users'
default=<expr>
index=True
string='User'
xml_error_message
Text
copy=False
readonly=True
string='XML validation errors'
action_create_return(self)
action_document_back2draft(self)
action_document_cancel(self)
action_document_confirm(self)
action_document_correction(self)
action_document_invalidate(self)
action_document_send(self)
action_send_email(self)
cancel_edoc(self)
exec_after_SITUACAO_EDOC_DENEGADA(self, old_state, new_state)
name_get(self)
send_email(self, state)
unlink(self)
view_pdf(self)
view_xml(self)
active
Boolean
default=True
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
help='Select the type of document that will be applied to the email templates definitions.'
string='Fiscal Document Type'
email_template_id
Many2one → mail.template
comodel_name='mail.template'
domain=[('model', '=', 'l10n_br_fiscal.document')]
help='Select the email template that will be sent when this document state change.'
required=True
string='Fiscal Document E-mail Template'
issuer
Selection
default=DOCUMENT_ISSUER_COMPANY
required=True
selection=DOCUMENT_ISSUER
name
Char
compute='_compute_name'
copy=False
readonly=True
store=True
state_edoc
Selection
copy=False
index=True
selection=SITUACAO_EDOC
string='Situação e-doc'
No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
related='document_id.company_id'
store=True
string='Company'
currency_id
Many2one → res.currency
comodel_name='res.currency'
related='company_id.currency_id'
string='Currency'
delivery_costs
Selection
related='company_id.delivery_costs'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
ondelete='cascade'
string='Document'
edoc_purpose
Selection
related='document_id.edoc_purpose'
force_compute_delivery_costs_by_total
Boolean
related='document_id.force_compute_delivery_costs_by_total'
ind_final
Selection
related='document_id.ind_final'
name
Text
partner_id
Many2one
related='document_id.partner_id'
store=True
tax_framework
Selection
related='company_id.tax_framework'
No public methods.
additional_data
Text
allow_csll_irpj
Boolean
compute='_compute_allow_csll_irpj'
help="Indicates potential 'CSLL' and 'IRPJ' tax charges."
amount_fiscal
Monetary
compute='_compute_amounts'
amount_tax
Monetary
compute='_compute_amounts'
amount_tax_included
Monetary
amount_tax_not_included
Monetary
amount_tax_withholding
Monetary
string='Tax Withholding'
amount_taxed
Monetary
compute='_compute_amounts'
amount_total
Monetary
compute='_compute_amounts'
amount_untaxed
Monetary
compute='_compute_amounts'
cest_id
Many2one → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='CEST'
cfop_destination
Selection
related='cfop_id.destination'
string='CFOP Destination'
cfop_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type)]"
string='CFOP'
city_taxation_code_id
Many2one → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
string='City Taxation Code'
cnae_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='CNAE Code'
cofins_base
Monetary
string='COFINS Base'
cofins_base_id
Many2one → l10n_br_fiscal.tax.pis.cofins.base
comodel_name='l10n_br_fiscal.tax.pis.cofins.base'
string='COFINS Base Code'
cofins_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='COFINS Base Type'
cofins_credit_id
Many2one → l10n_br_fiscal.tax.pis.cofins.credit
comodel_name='l10n_br_fiscal.tax.pis.cofins.credit'
string='COFINS Credit Code'
cofins_cst_code
Char
related='cofins_cst_id.code'
store=True
string='COFINS CST Code'
cofins_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'cofins')]"
string='CST COFINS'
cofins_percent
Float
string='COFINS %'
cofins_reduction
Float
string='COFINS % Reduction'
cofins_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS)]
string='Tax COFINS'
cofins_value
Monetary
string='COFINS Value'
cofins_wh_base
Monetary
string='COFINS RET Base'
cofins_wh_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='COFINS WH Base Type'
cofins_wh_percent
Float
string='COFINS RET %'
cofins_wh_reduction
Float
string='COFINS RET % Reduction'
cofins_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_WH)]
string='Tax COFINS RET'
cofins_wh_value
Monetary
string='COFINS RET Value'
cofinsst_base
Monetary
string='COFINS ST Base'
cofinsst_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='COFINS ST Base Type'
cofinsst_cst_code
Char
related='cofinsst_cst_id.code'
store=True
string='COFINS ST CST Code'
cofinsst_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'cofinsst')]"
string='CST COFINS ST'
cofinsst_percent
Float
string='COFINS ST %'
cofinsst_reduction
Float
string='COFINS ST % Reduction'
cofinsst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_ST)]
string='Tax COFINS ST'
cofinsst_value
Monetary
string='COFINS ST Value'
comment_ids
Many2many → l10n_br_fiscal.comment
column1='document_line_mixin_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_LINE)]
relation='l10n_br_fiscal_document_line_mixin_comment_rel'
string='Comments'
csll_base
Monetary
string='CSLL Base'
csll_percent
Float
string='CSLL %'
csll_reduction
Float
string='CSLL % Reduction'
csll_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL)]
string='Tax CSLL'
csll_value
Monetary
string='CSLL Value'
csll_wh_base
Monetary
string='CSLL RET Base'
csll_wh_percent
Float
string='CSLL RET %'
csll_wh_reduction
Float
string='CSLL RET % Reduction'
csll_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL_WH)]
string='Tax CSLL RET'
csll_wh_value
Monetary
string='CSLL RET Value'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
string='Currency'
discount_value
Monetary
estimate_tax
Monetary
financial_discount_value
Monetary
compute='_compute_amounts'
financial_total
Monetary
compute='_compute_amounts'
string='Amount Financial'
financial_total_gross
Monetary
compute='_compute_amounts'
help='Total amount before any discounts are applied.'
string='Financial Gross Amount'
fiscal_genre_code
Char
related='fiscal_genre_id.code'
string='Fiscal Product Genre Code'
fiscal_genre_id
Many2one → l10n_br_fiscal.product.genre
comodel_name='l10n_br_fiscal.product.genre'
string='Fiscal Product Genre'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
default=_default_operation
domain=<expr>
string='Operation'
fiscal_operation_line_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
domain="[('fiscal_operation_id', '=', fiscal_operation_id), ('state', '=', 'approved')]"
string='Operation Line'
fiscal_operation_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_operation_type'
fiscal_price
Float
digits='Product Price'
fiscal_quantity
Float
digits='Product Unit of Measure'
fiscal_tax_ids
Many2many → l10n_br_fiscal.tax
column1='document_id'
column2='fiscal_tax_id'
comodel_name='l10n_br_fiscal.tax'
relation='fiscal_tax_rel'
string='Fiscal Taxes'
fiscal_type
Selection
selection=PRODUCT_FISCAL_TYPE
freight_value
Monetary
icms_base
Monetary
string='ICMS Base'
icms_base_type
Selection
default=ICMS_BASE_TYPE_DEFAULT
selection=ICMS_BASE_TYPE
string='ICMS Base Type'
icms_cst_code
Char
related='icms_cst_id.code'
store=True
string='ICMS CST Code'
icms_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('tax_domain', '=', {'1': 'icmssn', '2': 'icmssn', '3': 'icms'}.get(tax_framework))]"
string='CST ICMS'
icms_destination_base
Monetary
string='ICMS Destination Base'
icms_destination_percent
Float
string='ICMS External %'
icms_destination_value
Monetary
string='ICMS Dest. Value'
icms_effective_base
Monetary
string='ICMS Effective Base'
icms_effective_percent
Float
string='ICMS Effective %'
icms_effective_reduction
Float
string='ICMS Effective % Reduction'
icms_effective_value
Monetary
string='ICMS Effective'
icms_origin
Selection
default=ICMS_ORIGIN_DEFAULT
selection=ICMS_ORIGIN
string='ICMS Origin'
icms_origin_percent
Float
string='ICMS Internal %'
icms_origin_value
Monetary
string='ICMS Origin Value'
icms_percent
Float
string='ICMS %'
icms_reduction
Float
string='ICMS % Reduction'
icms_relief_id
Many2one → l10n_br_fiscal.icms.relief
comodel_name='l10n_br_fiscal.icms.relief'
string='ICMS Relief'
icms_relief_value
Monetary
string='ICMS Relief Value'
icms_sharing_percent
Float
string='ICMS Sharing %'
icms_substitute
Monetary
help='Valor do ICMS Próprio do Substituto cobrado em operação anterior'
string='ICMS Substitute'
icms_tax_benefit_code
Char
related='icms_tax_benefit_id.code'
store=True
string='Tax Benefit Code'
icms_tax_benefit_id
Many2one → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('is_benefit', '=', True), ('tax_domain', '=', TAX_DOMAIN_ICMS)]
string='Tax Benefit'
icms_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS)]
string='Tax ICMS'
icms_value
Monetary
string='ICMS Value'
icmsfcp_base
Monetary
string='ICMS FCP Base'
icmsfcp_base_wh
Monetary
string='FCP WH Base'
icmsfcp_percent
Float
string='ICMS FCP %'
icmsfcp_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
string='Tax ICMS FCP'
icmsfcp_value
Monetary
string='ICMS FCP Value'
icmsfcp_value_wh
Monetary
string='FCP WH'
icmsfcp_wh_percent
Float
string='FCP WH %'
icmsfcpst_base
Monetary
string='ICMS FCP ST Base'
icmsfcpst_percent
Float
string='ICMS FCP ST %'
icmsfcpst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST)]
string='Tax ICMS FCP ST'
icmsfcpst_value
Monetary
string='ICMS FCP ST Value'
icmssn_base
Monetary
string='ICMS SN Base'
icmssn_credit_value
Monetary
string='ICMS SN Credit'
icmssn_percent
Float
string='ICMS SN %'
icmssn_range_id
Many2one → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
default=_default_icmssn_range_id
string='Simplified Range Tax'
icmssn_reduction
Monetary
string='ICMS SN Reduction'
icmssn_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_SN)]
string='Tax ICMS SN'
icmsst_base
Monetary
string='ICMS ST Base'
icmsst_base_type
Selection
default=ICMS_ST_BASE_TYPE_DEFAULT
selection=ICMS_ST_BASE_TYPE
string='ICMS ST Base Type'
icmsst_mva_percent
Float
string='ICMS ST MVA %'
icmsst_percent
Float
string='ICMS ST %'
icmsst_reduction
Float
string='ICMS ST % Reduction'
icmsst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
string='Tax ICMS ST'
icmsst_value
Monetary
string='ICMS ST Value'
icmsst_wh_base
Monetary
string='ICMS ST WH Base'
icmsst_wh_percent
Float
string='ICMS ST WH %'
icmsst_wh_value
Monetary
string='ICMS ST WH Value'
ii_base
Monetary
string='II Base'
ii_customhouse_charges
Monetary
string='Despesas Aduaneiras'
ii_iof_value
Monetary
string='IOF Value'
ii_percent
Float
string='II %'
ii_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_II)]
string='Tax II'
ii_value
Monetary
string='II Value'
inss_base
Monetary
string='INSS Base'
inss_percent
Float
string='INSS %'
inss_reduction
Float
string='INSS % Reduction'
inss_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS)]
string='Tax INSS'
inss_value
Monetary
string='INSS Value'
inss_wh_base
Monetary
string='INSS RET Base'
inss_wh_percent
Float
string='INSS RET %'
inss_wh_reduction
Float
string='INSS RET % Reduction'
inss_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS_WH)]
string='Tax INSS RET'
inss_wh_value
Monetary
string='INSS RET Value'
insurance_value
Monetary
ipi_base
Monetary
string='IPI Base'
ipi_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='IPI Base Type'
ipi_cst_code
Char
related='ipi_cst_id.code'
store=True
string='IPI CST Code'
ipi_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'ipi')]"
string='CST IPI'
ipi_devol_value
Monetary
string='Valor do IPI devolvido'
ipi_guideline_id
Many2one → l10n_br_fiscal.tax.ipi.guideline
comodel_name='l10n_br_fiscal.tax.ipi.guideline'
domain="['|', ('cst_in_id', '=', ipi_cst_id),('cst_out_id', '=', ipi_cst_id)]"
string='IPI Guideline'
ipi_percent
Float
string='IPI %'
ipi_reduction
Float
string='IPI % Reduction'
ipi_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Tax IPI'
ipi_value
Monetary
string='IPI Value'
irpj_base
Monetary
string='IRPJ Base'
irpj_percent
Float
string='IRPJ %'
irpj_reduction
Float
string='IRPJ % Reduction'
irpj_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ)]
string='Tax IRPJ'
irpj_value
Monetary
string='IRPJ Value'
irpj_wh_base
Monetary
string='IRPJ RET Base'
irpj_wh_percent
Float
string='IRPJ RET %'
irpj_wh_reduction
Float
string='IRPJ RET % Reduction'
irpj_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ_WH)]
string='Tax IRPJ RET'
irpj_wh_value
Monetary
string='IRPJ RET Value'
issqn_base
Monetary
string='ISSQN Base'
issqn_deduction_amount
Monetary
string='ISSQN Deduction Value'
issqn_desc_cond_amount
Monetary
string='ISSQN Discount Cond'
issqn_desc_incond_amount
Monetary
string='ISSQN Discount Incond'
issqn_eligibility
Selection
default=ISSQN_ELIGIBILITY_DEFAULT
selection=ISSQN_ELIGIBILITY
string='ISSQN Eligibility'
issqn_fg_city_id
Many2one → res.city
comodel_name='res.city'
string='ISSQN City'
issqn_incentive
Selection
default=ISSQN_INCENTIVE_DEFAULT
selection=ISSQN_INCENTIVE
string='ISSQN Incentive'
issqn_other_amount
Monetary
string='ISSQN Other Value'
issqn_percent
Float
string='ISSQN %'
issqn_reduction
Float
string='ISSQN % Reduction'
issqn_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN)]
string='Tax ISSQN'
issqn_value
Monetary
string='ISSQN Value'
issqn_wh_base
Monetary
string='ISSQN RET Base'
issqn_wh_percent
Float
string='ISSQN RET %'
issqn_wh_reduction
Float
string='ISSQN RET % Reduction'
issqn_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN_WH)]
string='Tax ISSQN RET'
issqn_wh_value
Monetary
string='ISSQN RET Value'
manual_additional_data
Text
help='Additional data manually entered by user'
nbm_id
Many2one → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='NBM'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
index=True
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
index=True
string='NCM'
operation_fiscal_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_type'
other_value
Monetary
p_devol
Float
string='Percentual de mercadoria devolvida'
partner_company_type
Selection
related='partner_id.company_type'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
partner_is_public_entity
Boolean
related='partner_id.is_public_entity'
partner_order
Char
size=15
string='Partner Order (xPed)'
partner_order_line
Char
size=6
string='Partner Order Line (nItemPed)'
pis_base
Monetary
string='PIS Base'
pis_base_id
Many2one → l10n_br_fiscal.tax.pis.cofins.base
comodel_name='l10n_br_fiscal.tax.pis.cofins.base'
string='PIS Base Code'
pis_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='PIS Base Type'
pis_credit_id
Many2one → l10n_br_fiscal.tax.pis.cofins.credit
comodel_name='l10n_br_fiscal.tax.pis.cofins.credit'
string='PIS Credit'
pis_cst_code
Char
related='pis_cst_id.code'
store=True
string='PIS CST Code'
pis_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'pis')]"
string='CST PIS'
pis_percent
Float
string='PIS %'
pis_reduction
Float
string='PIS % Reduction'
pis_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS)]
string='Tax PIS'
pis_value
Monetary
string='PIS Value'
pis_wh_base
Monetary
string='PIS RET Base'
pis_wh_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='PIS WH Base Type'
pis_wh_percent
Float
string='PIS RET %'
pis_wh_reduction
Float
string='PIS RET % Reduction'
pis_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_WH)]
string='Tax PIS RET'
pis_wh_value
Monetary
string='PIS RET Value'
pisst_base
Monetary
string='PIS ST Base'
pisst_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='PIS ST Base Type'
pisst_cst_code
Char
related='pisst_cst_id.code'
store=True
string='PIS ST CST Code'
pisst_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'pisst')]"
string='CST PIS ST'
pisst_percent
Float
string='PIS ST %'
pisst_reduction
Float
string='PIS ST % Reduction'
pisst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_ST)]
string='Tax PIS ST'
pisst_value
Monetary
string='PIS ST Value'
price_gross
Monetary
compute='_compute_amounts'
help='Total value of products or services (quantity x unit price)before any discounts.'
string='Gross Product/Service Amount'
price_unit
Float
digits='Product Price'
product_id
Many2one → product.product
comodel_name='product.product'
index=True
string='Product'
quantity
Float
default=1.0
digits='Product Unit of Measure'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain="[('internal_type', '=', 'normal')]"
string='Service Type LC 166'
simple_value
Monetary
string='National Simple Taxes'
simple_without_icms_value
Monetary
string='National Simple Taxes without ICMS'
tax_icms_or_issqn
Selection
default=TAX_DOMAIN_ICMS
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
uom_id
Many2one → uom.uom
comodel_name='uom.uom'
string='UOM'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
No new fields.
Public methods (2)fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
inject_fiscal_fields(self, view_arch, view_ref='l10n_br_fiscal.document_fiscal_line_mixin_form', xpath_mappings=None)
No new fields.
Public methods (0)No public methods.
amount_cofins_base
Monetary
compute='_compute_amount'
store=True
string='COFINS Base'
amount_cofins_value
Monetary
compute='_compute_amount'
store=True
string='COFINS Value'
amount_cofins_wh_base
Monetary
compute='_compute_amount'
store=True
string='COFINS Ret Base'
amount_cofins_wh_value
Monetary
compute='_compute_amount'
store=True
string='COFINS Ret Value'
amount_cofinsst_base
Monetary
compute='_compute_amount'
store=True
string='COFINS ST Base'
amount_cofinsst_value
Monetary
compute='_compute_amount'
store=True
string='COFINS ST Value'
amount_csll_base
Monetary
compute='_compute_amount'
store=True
string='CSLL Base'
amount_csll_value
Monetary
compute='_compute_amount'
store=True
string='CSLL Value'
amount_csll_wh_base
Monetary
compute='_compute_amount'
store=True
string='CSLL Ret Base'
amount_csll_wh_value
Monetary
compute='_compute_amount'
store=True
string='CSLL Ret Value'
amount_discount_value
Monetary
compute='_compute_amount'
store=True
string='Amount Discount'
amount_estimate_tax
Monetary
compute='_compute_amount'
store=True
amount_financial_discount_value
Monetary
compute='_compute_amount'
store=True
string='Financial Discount Value'
amount_financial_total
Monetary
compute='_compute_amount'
store=True
string='Amount Financial'
amount_financial_total_gross
Monetary
compute='_compute_amount'
store=True
string='Amount Financial Gross'
amount_freight_value
Monetary
compute='_compute_amount'
inverse='_inverse_amount_freight'
store=True
string='Freight Value'
amount_icms_base
Monetary
compute='_compute_amount'
store=True
string='ICMS Base'
amount_icms_destination_value
Monetary
compute='_compute_amount'
store=True
string='ICMS Destination Value'
amount_icms_origin_value
Monetary
compute='_compute_amount'
store=True
string='ICMS Origin Value'
amount_icms_value
Monetary
compute='_compute_amount'
store=True
string='ICMS Value'
amount_icmsfcp_base
Monetary
compute='_compute_amount'
store=True
string='ICMS FCP Base'
amount_icmsfcp_value
Monetary
compute='_compute_amount'
store=True
string='ICMS FCP Value'
amount_icmsfcpst_value
Monetary
compute='_compute_amount'
store=True
string='ICMS FCP ST Value'
amount_icmssn_credit_value
Monetary
compute='_compute_amount'
store=True
string='ICMSSN Credit Value'
amount_icmsst_base
Monetary
compute='_compute_amount'
store=True
string='ICMS ST Base'
amount_icmsst_value
Monetary
compute='_compute_amount'
store=True
string='ICMS ST Value'
amount_ii_base
Monetary
compute='_compute_amount'
store=True
string='II Base'
amount_ii_customhouse_charges
Monetary
compute='_compute_amount'
store=True
string='Customhouse Charges'
amount_ii_value
Monetary
compute='_compute_amount'
store=True
string='II Value'
amount_inss_base
Monetary
compute='_compute_amount'
store=True
string='INSS Base'
amount_inss_value
Monetary
compute='_compute_amount'
store=True
string='INSS Value'
amount_inss_wh_base
Monetary
compute='_compute_amount'
store=True
string='INSS Ret Base'
amount_inss_wh_value
Monetary
compute='_compute_amount'
store=True
string='INSS Ret Value'
amount_insurance_value
Monetary
compute='_compute_amount'
inverse='_inverse_amount_insurance'
store=True
string='Insurance Value'
amount_ipi_base
Monetary
compute='_compute_amount'
store=True
string='IPI Base'
amount_ipi_value
Monetary
compute='_compute_amount'
store=True
string='IPI Value'
amount_irpj_base
Monetary
compute='_compute_amount'
store=True
string='IRPJ Base'
amount_irpj_value
Monetary
compute='_compute_amount'
store=True
string='IRPJ Value'
amount_irpj_wh_base
Monetary
compute='_compute_amount'
store=True
string='IRPJ Ret Base'
amount_irpj_wh_value
Monetary
compute='_compute_amount'
store=True
string='IRPJ Ret Value'
amount_issqn_base
Monetary
compute='_compute_amount'
store=True
string='ISSQN Base'
amount_issqn_value
Monetary
compute='_compute_amount'
store=True
string='ISSQN Value'
amount_issqn_wh_base
Monetary
compute='_compute_amount'
store=True
string='ISSQN Ret Base'
amount_issqn_wh_value
Monetary
compute='_compute_amount'
store=True
string='ISSQN Ret Value'
amount_other_value
Monetary
compute='_compute_amount'
inverse='_inverse_amount_other'
store=True
string='Other Costs'
amount_pis_base
Monetary
compute='_compute_amount'
store=True
string='PIS Base'
amount_pis_value
Monetary
compute='_compute_amount'
store=True
string='PIS Value'
amount_pis_wh_base
Monetary
compute='_compute_amount'
store=True
string='PIS Ret Base'
amount_pis_wh_value
Monetary
compute='_compute_amount'
store=True
string='PIS Ret Value'
amount_pisst_base
Monetary
compute='_compute_amount'
store=True
string='PIS ST Base'
amount_pisst_value
Monetary
compute='_compute_amount'
store=True
string='PIS ST Value'
amount_price_gross
Monetary
compute='_compute_amount'
help='Amount without discount.'
store=True
string='Amount Gross'
amount_tax
Monetary
compute='_compute_amount'
store=True
amount_tax_withholding
Monetary
compute='_compute_amount'
store=True
string='Tax Withholding'
amount_total
Monetary
compute='_compute_amount'
store=True
amount_untaxed
Monetary
compute='_compute_amount'
store=True
comment_ids
Many2many → l10n_br_fiscal.comment
column1='document_mixin_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_DOCUMENT)]
relation='l10n_br_fiscal_document_mixin_comment_rel'
string='Comments'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
readonly=True
store=True
customer_additional_data
Text
delivery_costs
Selection
related='company_id.delivery_costs'
document_key
Char
copy=False
index=True
string='Key'
document_number
Char
copy=False
index=True
document_serie
Char
string='Serie Number'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
domain="[('active', '=', True),('document_type_id', '=', document_type_id)]"
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
fiscal_additional_data
Text
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
default=_default_operation
domain=<expr>
string='Operation'
fiscal_operation_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_operation_type'
string='Fiscal Operation Type'
force_compute_delivery_costs_by_total
Boolean
default=False
ind_final
Selection
default=FINAL_CUSTOMER_YES
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
ind_pres
Selection
default=NFE_IND_PRES_DEFAULT
selection=NFE_IND_PRES
string='Buyer Presence'
key_check_digit
Char
string='Document Key Check Digit'
key_random_code
Char
string='Document Key Random Code'
manual_customer_additional_data
Text
help='Customer Additional data manually entered by user'
manual_fiscal_additional_data
Text
help='Fiscal Additional data manually entered by user'
partner_id
Many2one → res.partner
comodel_name='res.partner'
index=True
total_weight
Float
No public methods.
No new fields.
Public methods (0)No public methods.
company_city_id
Many2one → res.city
comodel_name='res.city'
related='company_id.city_id'
string='Company City'
company_cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
related='company_id.cnae_main_id'
string='Company Main CNAE'
company_cnpj_cpf
Char
related='company_id.cnpj_cpf'
string='Company CNPJ'
company_country_id
Many2one → res.country
comodel_name='res.country'
related='company_id.country_id'
string='Company Country'
company_district
Char
related='company_id.district'
string='Company District'
company_id
Many2one → res.company
comodel_name='res.company'
company_inscr_est
Char
related='company_id.inscr_est'
string='Company State Tax Number'
company_inscr_est_st
Char
string='Company ST State Tax Number'
company_inscr_mun
Char
related='company_id.inscr_mun'
string='Company Municipal Tax Number'
company_legal_name
Char
related='company_id.legal_name'
string='Company Legal Name'
company_name
Char
related='company_id.name'
size=128
string='Company Name'
company_number
Char
related='company_id.street_number'
string='Company Number'
company_phone
Char
related='company_id.phone'
string='Company Phone'
company_state_id
Many2one → res.country.state
comodel_name='res.country.state'
related='company_id.state_id'
string='Company State'
company_street
Char
related='company_id.street'
string='Company Street'
company_street2
Char
related='company_id.street2'
string='Company Street2'
company_suframa
Char
related='company_id.suframa'
string='Company Suframa'
company_tax_framework
Selection
related='company_id.tax_framework'
string='Company Tax Framework'
company_zip
Char
related='company_id.zip'
string='Company ZIP'
partner_city_id
Many2one → res.city
comodel_name='res.city'
related='partner_id.city_id'
string='Partner City'
partner_cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
related='partner_id.cnae_main_id'
string='Main CNAE'
partner_cnpj_cpf
Char
related='partner_id.cnpj_cpf'
string='CNPJ'
partner_country_id
Many2one → res.country
comodel_name='res.country'
related='partner_id.country_id'
string='Partner Country'
partner_district
Char
related='partner_id.district'
string='Partner District'
partner_id
Many2one → res.partner
comodel_name='res.partner'
partner_ind_ie_dest
Selection
related='partner_id.ind_ie_dest'
string='Contribuinte do ICMS'
partner_inscr_est
Char
related='partner_id.inscr_est'
string='State Tax Number'
partner_inscr_mun
Char
related='partner_id.inscr_mun'
string='Municipal Tax Number'
partner_is_company
Boolean
related='partner_id.is_company'
string='Partner Is Company?'
partner_legal_name
Char
related='partner_id.legal_name'
string='Legal Name'
partner_name
Char
related='partner_id.name'
string='Partner Name'
partner_number
Char
related='partner_id.street_number'
string='Partner Number'
partner_phone
Char
related='partner_id.phone'
string='Partner Phone'
partner_state_id
Many2one → res.country.state
comodel_name='res.country.state'
related='partner_id.state_id'
string='Partner State'
partner_street
Char
related='partner_id.street'
string='Partner Street'
partner_street2
Char
related='partner_id.street2'
string='Partner Street2'
partner_suframa
Char
related='partner_id.suframa'
string='Suframa'
partner_tax_framework
Selection
related='partner_id.tax_framework'
string='Tax Framework'
partner_zip
Char
related='partner_id.zip'
string='Partner Zip'
processador_edoc
Selection
related='company_id.processador_edoc'
No public methods.
cnpj_cpf
Char
size=18
string='CNPJ/CPF'
cpfcnpj_type
Selection
default='cnpj'
selection=[('cpf', 'CPF'), ('cnpj', 'CNPJ')]
string='Type Doc Number'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
document_date
Date
string='Data'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document'
document_key
Char
size=44
document_number
Char
size=32
string='Number'
document_related_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document Related'
document_serie
Char
size=12
string='Serie'
document_total_amount
Monetary
currency_field='currency_id'
string='Valor Total'
document_total_weight
Float
string='Peso Total'
document_type_code
Char
related='document_type_id.code'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Fiscal Document Type'
inscr_est
Char
size=16
string='Inscr. Estadual/RG'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='State'
No public methods.
active
Boolean
default=True
code
Char
size=3
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
required=True
string='Fiscal Document'
fiscal_type
Selection
default=FISCAL_IN_OUT_DEFAULT
selection=FISCAL_IN_OUT
string='Type'
internal_sequence_id
Many2one → ir.sequence
comodel_name='ir.sequence'
domain="[('company_id', '=', company_id)]"
string='Sequence'
invalidate_number_id
One2many → l10n_br_fiscal.invalidate.number
comodel_name='l10n_br_fiscal.invalidate.number'
inverse_name='document_serie_id'
string='Invalidate Number Range'
name
Char
required=True
sequence_number_next
Integer
related='internal_sequence_id.number_next'
check_number_in_use(self, document_number)
create(self, vals_list)
name_get(self)
next_seq_number(self)
No new fields.
Public methods (2)doit(self)
get_document_status(self)
qrcode
Char
string='QR Code'
url_key
Char
string='QR Code URL Key'
No public methods.
code
Char
size=8
document_email_ids
One2many → l10n_br_fiscal.document.email
comodel_name='l10n_br_fiscal.document.email'
inverse_name='document_type_id'
string='Email Template Definition'
document_serie_ids
One2many → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
inverse_name='document_type_id'
string='Document Series'
electronic
Boolean
string='Is Electronic?'
name
Char
size=128
prefix
Char
sufix
Char
type
Selection
required=True
selection=DOCUMENT_TYPE
string='Document Type'
get_document_serie(self, company, fiscal_operation)
icms_external_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '!=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AC'
icms_external_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '!=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AL'
icms_external_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '!=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AM'
icms_external_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '!=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AP'
icms_external_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '!=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External BA'
icms_external_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '!=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External CE'
icms_external_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '!=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External DF'
icms_external_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '!=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External ES'
icms_external_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '!=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External GO'
icms_external_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '!=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MA'
icms_external_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '!=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MG'
icms_external_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '!=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MS'
icms_external_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '!=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MT'
icms_external_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '!=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PA'
icms_external_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '!=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PB'
icms_external_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '!=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PE'
icms_external_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '!=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PI'
icms_external_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '!=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PR'
icms_external_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '!=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RJ'
icms_external_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '!=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RN'
icms_external_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '!=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RO'
icms_external_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '!=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RR'
icms_external_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '!=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RS'
icms_external_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '!=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SC'
icms_external_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '!=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SE'
icms_external_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '!=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SP'
icms_external_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '!=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External TO'
icms_fcp_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AC'
icms_fcp_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AL'
icms_fcp_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AM'
icms_fcp_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AP'
icms_fcp_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP BA'
icms_fcp_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP CE'
icms_fcp_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP DF'
icms_fcp_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ES'
icms_fcp_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP GO'
icms_fcp_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MA'
icms_fcp_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MG'
icms_fcp_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MS'
icms_fcp_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MT'
icms_fcp_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PA'
icms_fcp_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PB'
icms_fcp_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PE'
icms_fcp_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PI'
icms_fcp_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PR'
icms_fcp_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RJ'
icms_fcp_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RN'
icms_fcp_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RO'
icms_fcp_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RR'
icms_fcp_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RS'
icms_fcp_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SC'
icms_fcp_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SE'
icms_fcp_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SP'
icms_fcp_st_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AC'
icms_fcp_st_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AL'
icms_fcp_st_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AM'
icms_fcp_st_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AP'
icms_fcp_st_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST BA'
icms_fcp_st_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST CE'
icms_fcp_st_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST DF'
icms_fcp_st_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST ES'
icms_fcp_st_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST GO'
icms_fcp_st_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MA'
icms_fcp_st_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MG'
icms_fcp_st_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MS'
icms_fcp_st_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MT'
icms_fcp_st_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PA'
icms_fcp_st_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PB'
icms_fcp_st_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PE'
icms_fcp_st_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PI'
icms_fcp_st_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PR'
icms_fcp_st_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RJ'
icms_fcp_st_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RN'
icms_fcp_st_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RO'
icms_fcp_st_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RR'
icms_fcp_st_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RS'
icms_fcp_st_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SC'
icms_fcp_st_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SE'
icms_fcp_st_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SP'
icms_fcp_st_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST TO'
icms_fcp_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP TO'
icms_imported_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
string='ICMS Tax Imported'
icms_internal_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AC'
icms_internal_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AL'
icms_internal_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AM'
icms_internal_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AP'
icms_internal_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal BA'
icms_internal_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal CE'
icms_internal_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal DF'
icms_internal_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal ES'
icms_internal_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal GO'
icms_internal_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MA'
icms_internal_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MG'
icms_internal_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MS'
icms_internal_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MT'
icms_internal_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PA'
icms_internal_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PB'
icms_internal_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PE'
icms_internal_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PI'
icms_internal_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PR'
icms_internal_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RJ'
icms_internal_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RN'
icms_internal_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='ICMS Internal RO'
icms_internal_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RR'
icms_internal_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RS'
icms_internal_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SC'
icms_internal_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SE'
icms_internal_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SP'
icms_internal_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal TO'
icms_st_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AC'
icms_st_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AL'
icms_st_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AM'
icms_st_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AP'
icms_st_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST BA'
icms_st_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST CE'
icms_st_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST DF'
icms_st_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST ES'
icms_st_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST GO'
icms_st_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MA'
icms_st_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MG'
icms_st_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MS'
icms_st_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MT'
icms_st_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PA'
icms_st_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PB'
icms_st_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PE'
icms_st_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PI'
icms_st_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PR'
icms_st_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RJ'
icms_st_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RN'
icms_st_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RO'
icms_st_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RR'
icms_st_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RS'
icms_st_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SC'
icms_st_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SE'
icms_st_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SP'
icms_st_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST TO'
name
Text
index=True
required=True
tax_benefit_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AC', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AC'
tax_benefit_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AL', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AL'
tax_benefit_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AM', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AM'
tax_benefit_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AP', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AP'
tax_benefit_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('BA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit BA'
tax_benefit_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('CE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit CE'
tax_benefit_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('DF', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit DF'
tax_benefit_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('ES', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit ES'
tax_benefit_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('GO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit GO'
tax_benefit_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MA'
tax_benefit_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MG', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MG'
tax_benefit_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MS', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MS'
tax_benefit_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MT', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MT'
tax_benefit_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PA'
tax_benefit_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PB', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PB'
tax_benefit_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PE'
tax_benefit_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PI', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PI'
tax_benefit_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PR', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PR'
tax_benefit_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RJ', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='Tax Benefit RJ'
tax_benefit_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RN', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RN'
tax_benefit_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RO'
tax_benefit_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RR', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RR'
tax_benefit_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RS', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RS'
tax_benefit_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SC', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SC'
tax_benefit_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SE'
tax_benefit_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SP', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SP'
tax_benefit_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('TO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit TO'
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
map_tax(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None, ind_final=None)
map_tax_def_icms_difal(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None, ind_final=None)
No new fields.
Public methods (0)No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
readonly=True
required=True
states={'draft': [('readonly', False)]}
date
Date
default=fields.Date.today
readonly=True
document_electronic
Boolean
readonly=True
related='document_type_id.electronic'
string='Electronic?'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
domain="[('active', '=', True),\n ('document_type_id', '=', document_type_id),\n ('company_id', '=', company_id)]"
readonly=True
required=True
states={'draft': [('readonly', False)]}
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
readonly=True
required=True
states={'draft': [('readonly', False)]}
justification
Char
readonly=True
required=True
states={'draft': [('readonly', False)]}
name
Char
compute='_compute_name'
index=True
store=True
number_end
Integer
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='End Number'
number_start
Integer
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Initial Number'
state
Selection
default='draft'
readonly=True
selection=[('draft', _('Draft')), ('done', _('Done'))]
string='Status'
action_invalidate(self)
unlink(self)
code
Char
size=12
code_unmasked
Char
size=10
name
Text
index=True
required=True
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='nbm_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
readonly=True
relation='fiscal_nbm_ncm_rel'
string='NCMs'
ncms
Char
string='NCM'
product_tmpl_ids
One2many
inverse_name='nbm_id'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='nbm_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_nbm_rel'
string='Tax Definition'
action_search_ncms(self)
create(self, vals_list)
write(self, values)
code
Char
size=12
code_unmasked
Char
size=10
product_tmpl_ids
One2many
inverse_name='nbs_id'
tax_estimate_ids
One2many
inverse_name='nbs_id'
No public methods.
cest_ids
Many2many → l10n_br_fiscal.cest
column1='ncm_id'
column2='cest_id'
comodel_name='l10n_br_fiscal.cest'
readonly=True
relation='fiscal_cest_ncm_rel'
string='CESTs'
code
Char
size=10
code_unmasked
Char
size=8
exception
Char
size=2
nbm_ids
Many2many → l10n_br_fiscal.nbm
column1='ncm_id'
column2='nbm_id'
comodel_name='l10n_br_fiscal.nbm'
readonly=True
relation='fiscal_nbm_ncm_rel'
string='NBMs'
piscofins_ids
Many2many → l10n_br_fiscal.tax.pis.cofins
column1='ncm_id'
column2='piscofins_id'
comodel_name='l10n_br_fiscal.tax.pis.cofins'
readonly=True
relation='fiscal_pis_cofins_ncm_rel'
string='PIS/COFINS'
product_tmpl_ids
One2many
inverse_name='ncm_id'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='ncm_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_ncm_rel'
string='Tax Definition'
tax_estimate_ids
One2many
inverse_name='ncm_id'
tax_ii_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_II)]
string='Tax II'
tax_ipi_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Tax IPI'
uoe_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Export UoM'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
code
Char
readonly=True
required=True
states={'draft': [('readonly', False)]}
tracking=True
comment_ids
Many2many → l10n_br_fiscal.comment
column1='fiscal_operation_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_DOCUMENT)]
relation='l10n_br_fiscal_operation_comment_rel'
string='Comment'
company_id
Many2one → res.company
comodel_name='res.company'
readonly=True
states={'draft': [('readonly', False)]}
string='Company'
tracking=True
default_price_unit
Selection
default='sale_price'
readonly=True
selection=[('sale_price', _('Sale Price')), ('cost_price', _('Cost Price'))]
states={'draft': [('readonly', False)]}
string='Default Price Unit?'
tracking=True
document_type_ids
One2many → l10n_br_fiscal.operation.document.type
comodel_name='l10n_br_fiscal.operation.document.type'
inverse_name='fiscal_operation_id'
readonly=True
states={'draft': [('readonly', False)]}
string='Operation Document Types'
edoc_purpose
Selection
default=EDOC_PURPOSE_NORMAL
readonly=True
selection=EDOC_PURPOSE
states={'draft': [('readonly', False)]}
string='Finalidade'
tracking=True
fiscal_operation_type
Selection
readonly=True
required=True
selection=FISCAL_IN_OUT_ALL
states={'draft': [('readonly', False)]}
string='Type'
tracking=True
fiscal_type
Selection
default=OPERATION_FISCAL_TYPE_DEFAULT
readonly=True
required=True
selection=OPERATION_FISCAL_TYPE
states={'draft': [('readonly', False)]}
tracking=True
inverse_fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
readonly=True
states={'draft': [('readonly', False)]}
string='Inverse Operation'
tracking=True
line_ids
One2many → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=True
inverse_name='fiscal_operation_id'
readonly=True
states={'draft': [('readonly', False)]}
string='Operation Line'
name
Char
readonly=True
required=True
states={'draft': [('readonly', False)]}
tracking=True
operation_subsequent_ids
One2many → l10n_br_fiscal.subsequent.operation
comodel_name='l10n_br_fiscal.subsequent.operation'
inverse_name='fiscal_operation_id'
string='Subsequent Operation'
return_fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain="[('fiscal_operation_type', '!=', fiscal_operation_type), ('fiscal_type', 'in', {'sale': ['sale_refund'], 'purchase': ['purchase_refund'], 'other': ['return_in', 'return_out'],'return_in': ['return_out'], 'return_out': ['return_in']}.get(fiscal_type, []))]"
readonly=True
states={'draft': [('readonly', False)]}
string='Return Operation'
tracking=True
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
action_approve(self)
action_draft(self)
action_review(self)
copy(self, default=None)
get_document_serie(self, company, document_type)
line_definition(self, company, partner, product)
unlink(self)
color
Integer
default=0
string='Color Index'
kanban_dashboard
Text
compute='_compute_kanban_dashboard'
action_create_new(self)
get_operation_dashboard_data(self)
open_action(self)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
document_electronic
Boolean
related='document_type_id.electronic'
string='Electronic?'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
company_dependent=True
domain="[('active', '=', True),('document_type_id', '=', document_type_id)]"
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
required=True
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Operation'
name
Char
compute='_compute_name'
No public methods.
add_to_amount
Boolean
default=True
string='Add to Document Amount?'
cfop_export_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('type_move', '=ilike', fiscal_type + '%'), ('destination', '=', '3')]"
string='CFOP Export'
cfop_external_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('type_move', '=ilike', fiscal_type + '%'), ('destination', '=', '2')]"
string='CFOP External'
cfop_internal_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('destination', '=', '1'),('type_move', '=ilike', fiscal_type + '%')]"
string='CFOP Internal'
comment_ids
Many2many → l10n_br_fiscal.comment
column1='fiscal_operation_line_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_LINE)]
relation='l10n_br_fiscal_operation_line_comment_rel'
string='Comment'
company_tax_framework
Selection
selection=TAX_FRAMEWORK
date_end
Datetime
string='End Date'
date_start
Datetime
string='Start Date'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Operation'
fiscal_operation_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_operation_type'
store=True
string='Fiscal Operation Type'
fiscal_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_type'
store=True
string='Fiscal Type'
icms_origin
Selection
selection=ICMS_ORIGIN
string='Origin'
ind_ie_dest
Selection
selection=NFE_IND_IE_DEST
string='ICMS Taxpayer'
line_inverse_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=False
domain="[('fiscal_operation_type', '!=', fiscal_operation_type)]"
string='Operation Line Inverse'
line_refund_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=False
domain="[('fiscal_operation_type', '!=', fiscal_operation_type)]"
string='Operation Line Refund'
name
Char
required=True
partner_tax_framework
Selection
selection=TAX_FRAMEWORK
product_type
Selection
selection=PRODUCT_FISCAL_TYPE
string='Product Fiscal Type'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
copy=True
inverse_name='fiscal_operation_line_id'
string='Tax Definition'
tax_icms_or_issqn
Selection
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
action_review(self)
get_document_type(self, company)
map_fiscal_taxes(self, company, partner, product=None, fiscal_price=None, fiscal_quantity=None, ncm=None, nbm=None, nbs=None, cest=None, city_taxation_code=None, service_type=None, ind_final=None)
unlink(self)
code
Char
required=True
size=16
default
Boolean
default=True
string='Default Profile'
ind_ie_dest
Selection
default=NFE_IND_IE_DEST_DEFAULT
required=True
selection=NFE_IND_IE_DEST
string='Contribuinte do ICMS'
is_company
Boolean
string='Is Company?'
is_public_entity
Boolean
help='Indicates whether the entity in question is a public organization or government-related entity. It encompasses a range of entities such as municipal governments, state-owned enterprises (where the government is the largest shareholder), and other government-controlled organizations.'
string='Public Entity'
name
Char
size=64
partner_ids
One2many → res.partner
comodel_name='res.partner'
compute='_compute_partner_info'
string='Partner'
partner_qty
Integer
compute='_compute_partner_info'
string='Partner Quantity'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='fiscal_profile_id'
string='Tax Definition'
tax_framework
Selection
default=TAX_FRAMEWORK_NORMAL
selection=TAX_FRAMEWORK
action_view_partners(self)
product_tmpl_ids
One2many
inverse_name='fiscal_genre_id'
No public methods.
No new fields.
Public methods (0)No public methods.
child_ids
One2many → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
inverse_name='parent_id'
string='Service Type Child'
internal_type
Selection
default='normal'
required=True
selection=[('view', 'View'), ('normal', 'Normal')]
parent_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
string='Parent Service Type'
product_tmpl_ids
One2many
inverse_name='service_type_id'
withholding_at_place
Boolean
help='The tax is due at the location of the provider establishment, except in the cases that this field is true, where it will be due at the place of provision.'
string='Tax Retention at place of provision'
withholding_possible
Boolean
string='Subject to withholding tax'
No public methods.
cnae_ids
Many2many → l10n_br_fiscal.cnae
column1='simplified_tax_id'
column2='cnae_id'
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal')]"
relation='fiscal_simplified_tax_cnae_rel'
string='CNAEs'
coefficient_r
Boolean
readonly=True
name
Char
required=True
simplified_tax_range_ids
One2many → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
copy=False
inverse_name='simplified_tax_id'
string='Simplified Tax Range'
No public methods.
amount_deduced
Monetary
currency_field='currency_id'
required=True
string='Amount to be Deducted'
currency_id
Many2one → res.currency
comodel_name='res.currency'
required=True
string='Currency'
final_revenue
Monetary
currency_field='currency_id'
inital_revenue
Monetary
currency_field='currency_id'
name
Char
required=True
simplified_tax_id
Many2one → l10n_br_fiscal.simplified.tax
comodel_name='l10n_br_fiscal.simplified.tax'
string='Simplified Tax'
tax_cofins_percent
Float
digits='Fiscal Tax Percent'
string='Tax COFINS Percent'
tax_cpp_percent
Float
digits='Fiscal Tax Percent'
string='Tax CPP Percent'
tax_csll_percent
Float
digits='Fiscal Tax Percent'
string='Tax CSLL Percent'
tax_icms_percent
Float
digits='Fiscal Tax Percent'
string='Tax ICMS Percent'
tax_ipi_percent
Float
digits='Fiscal Tax Percent'
string='Tax IPI Percent'
tax_irpj_percent
Float
digits='Fiscal Tax Percent'
string='Tax IRPJ Percent'
tax_iss_percent
Float
digits='Fiscal Tax Percent'
string='Tax ISS Percent'
tax_pis_percent
Float
digits='Fiscal Tax Percent'
string='Tax PIS Percent'
total_tax_percent
Float
digits='Fiscal Tax Percent'
string='Tax Percent'
No public methods.
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
required=True
string='Related operation'
operation_performed
Boolean
compute='_compute_operation_performed'
copy=False
default=False
source_document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
ondelete='cascade'
required=True
string='Source document'
subsequent_document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
copy=False
ondelete='set null'
string='Subsequent Document'
subsequent_operation_id
Many2one → l10n_br_fiscal.subsequent.operation
comodel_name='l10n_br_fiscal.subsequent.operation'
required=True
string='Subsequent Operation'
generate_subsequent_document(self)
show_source_document(self)
show_subsequent_document(self)
unlink(self)
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Origin operation'
generation_situation
Selection
default='manual'
required=True
selection=SUBSEQUENT_OPERATION
operation_document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Document Type'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
reference_document
Boolean
string='Referencing source document'
sequence
Integer
default=10
help='Gives the sequence order when displaying a list'
subsequent_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
string='Operation to be performed'
No public methods.
compute_sequence
Integer
help='The sequence field is used to define order in which the tax lines are applied.'
related='tax_group_id.compute_sequence'
cst_in_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', ('in', 'all')), ('tax_domain', '=', tax_domain)]"
string='CST In'
cst_out_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', ('out', 'all')), ('tax_domain', '=', tax_domain)]"
string='CST Out'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
string='Currency'
icms_base_type
Selection
default=ICMS_BASE_TYPE_DEFAULT
required=True
selection=ICMS_BASE_TYPE
icmsst_base_type
Selection
default=ICMS_ST_BASE_TYPE_DEFAULT
required=True
selection=ICMS_ST_BASE_TYPE
string='ICMS ST Base Type'
icmsst_mva_percent
Float
digits='Fiscal Tax Percent'
required=True
string='MVA Percent'
icmsst_value
Float
digits='Fiscal Tax Value'
required=True
string='PFC Value'
name
Char
required=True
size=256
percent_amount
Float
digits='Fiscal Tax Percent'
required=True
string='Percent'
percent_debit_credit
Float
digits='Fiscal Tax Percent'
required=True
string='Percent Debit/Credit'
percent_reduction
Float
digits='Fiscal Tax Percent'
required=True
sequence
Integer
help='The sequence field is used to define the order in which taxes are displayed.'
related='tax_group_id.sequence'
store=True
tax_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
required=True
selection=TAX_BASE_TYPE
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
required=True
string='Fiscal Tax Group'
tax_scope
Selection
related='tax_group_id.tax_scope'
store=True
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
value_amount
Float
digits='Fiscal Tax Value'
required=True
string='Value'
compute_taxes(self, **kwargs)
cst_from_tax(self, fiscal_operation_type=FISCAL_OUT)
benefit_type
Selection
selection=ICMS_TAX_BENEFIT_TYPE
states={'draft': [('readonly', False)]}
cest_ids
Many2many → l10n_br_fiscal.cest
column1='tax_definition_id'
column2='cest_id'
comodel_name='l10n_br_fiscal.cest'
readonly=True
relation='tax_definition_cest_rel'
string='CESTs'
cests
Text
readonly=True
states={'draft': [('readonly', False)]}
string='CEST List'
cfop_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
string='CFOP'
city_taxation_code_ids
Many2many → l10n_br_fiscal.city.taxation.code
column1='tax_definition_id'
column2='city_taxation_code_id'
comodel_name='l10n_br_fiscal.city.taxation.code'
relation='tax_definition_city_taxation_code_rel'
string='City Taxation Codes'
code
Char
size=8
states={'draft': [('readonly', False)]}
company_id
Many2one → res.company
comodel_name='res.company'
readonly=True
states={'draft': [('readonly', False)]}
string='Company'
cst_code
Char
readonly=True
related='cst_id.code'
string='CST Code'
cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', (type_in_out, 'all')), ('tax_group_id', '=', tax_group_id)]"
readonly=True
string='CST'
custom_tax
Boolean
readonly=True
states={'draft': [('readonly', False)]}
date_end
Datetime
readonly=True
states={'draft': [('readonly', False)]}
string='End Date'
date_start
Datetime
readonly=True
states={'draft': [('readonly', False)]}
string='Start Date'
description
Text
states={'draft': [('readonly', False)]}
display_name
Char
compute='_compute_display_name'
store=True
fiscal_operation_line_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
string='Operation Line'
fiscal_profile_id
Many2one → l10n_br_fiscal.partner.profile
comodel_name='l10n_br_fiscal.partner.profile'
string='Partner Profile'
icms_regulation_id
Many2one → l10n_br_fiscal.icms.regulation
comodel_name='l10n_br_fiscal.icms.regulation'
string='ICMS Regulation'
ind_final
Selection
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
ipi_guideline_id
Many2one → l10n_br_fiscal.tax.ipi.guideline
comodel_name='l10n_br_fiscal.tax.ipi.guideline'
domain="['|', ('cst_in_id', '=', cst_id), ('cst_out_id', '=', cst_id)]"
string='IPI Guideline'
is_benefit
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Benefit?'
is_debit_credit
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Debit/Credit?'
is_taxed
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Taxed?'
name
Char
states={'draft': [('readonly', False)]}
nbm_ids
Many2many → l10n_br_fiscal.nbm
column1='tax_definition_id'
column2='nbm_id'
comodel_name='l10n_br_fiscal.nbm'
readonly=True
relation='tax_definition_nbm_rel'
string='NBMs'
nbms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NBM List'
ncm_exception
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NCM Exeption'
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='tax_definition_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
readonly=True
relation='tax_definition_ncm_rel'
string='NCMs'
ncms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NCM List'
not_in_nbms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='Not in NBMs'
not_in_ncms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='Not in NCMs'
product_ids
Many2many → product.product
column1='tax_definition_id'
column2='product_id'
comodel_name='product.product'
relation='tax_definition_product_rel'
string='Products'
service_type_ids
Many2many → l10n_br_fiscal.service.type
column1='tax_definition_id'
column2='service_type_id'
comodel_name='l10n_br_fiscal.service.type'
relation='tax_definition_service_type_rel'
string='Fiscal Service Types'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
state_from_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='From State'
state_to_ids
Many2many → res.country.state
column1='tax_definition_id'
column2='state_id'
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
relation='tax_definition_state_to_rel'
string='To States'
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
states={'draft': [('readonly', False)]}
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Tax Group'
tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain="[('tax_group_id', '=', tax_group_id)]"
readonly=True
states={'draft': [('readonly', False)]}
string='Tax'
type_in_out
Selection
default=FISCAL_OUT
readonly=True
required=True
selection=FISCAL_IN_OUT
states={'draft': [('readonly', False)]}
string='Type'
action_approve(self)
action_draft(self)
action_review(self)
action_search_cests(self)
action_search_nbms(self)
action_search_ncms(self)
create(self, vals_list)
map_tax_definition(self, company, partner, product, ncm=None, nbm=None, nbs=None, cest=None, city_taxation_code=None, service_type=None)
name_get(self)
unlink(self)
write(self, values)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
create_date
Datetime
readonly=True
federal_taxes_import
Float
digits='Fiscal Tax Percent'
string='Impostos Federais Importado'
federal_taxes_national
Float
digits='Fiscal Tax Percent'
string='Impostos Federais Nacional'
key
Char
size=32
municipal_taxes
Float
digits='Fiscal Tax Percent'
string='Impostos Municipais Nacional'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
string='NCM'
origin
Char
size=32
string='Source'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
required=True
string='State'
state_taxes
Float
digits='Fiscal Tax Percent'
string='Impostos Estaduais Nacional'
No public methods.
base_with_additional_values
Boolean
default=True
string='Add the value of freight, insurance and others to the Base'
base_without_icms
Boolean
default=False
string='Remove ICMS value from Base'
compute_sequence
Integer
default=10
help='The sequence field is used to define order in which the tax lines are applied.'
required=True
cst_ids
One2many → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
inverse_name='tax_group_id'
string='CSTs'
name
Char
required=True
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='WH Partner'
sequence
Integer
default=10
help='The sequence field is used to define the order in which taxes are displayed.'
required=True
tax_domain
Selection
required=True
selection=TAX_DOMAIN
tax_ids
One2many → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
inverse_name='tax_group_id'
string='Taxes'
tax_include
Boolean
default=False
string='Tax Included in Price'
tax_scope
Selection
required=True
selection=[('city', _('City')), ('state', _('State')), ('federal', _('Federal')), ('other', _('Other'))]
tax_withholding
Boolean
default=False
wh_due_day
Integer
string='Due Day'
No public methods.
No new fields.
Public methods (0)No public methods.
code
Char
size=3
cst_group
Selection
required=True
selection=IPI_GUIDELINE_GROUP
string='Group'
cst_in_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain=[('domain', '=', TAX_DOMAIN_IPI), ('cst_type', '=', FISCAL_IN)]
string='CST In'
cst_out_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain=[('domain', '=', TAX_DOMAIN_IPI), ('cst_type', '=', FISCAL_OUT)]
string='CST Out'
No public methods.
No new fields.
Public methods (0)No public methods.
code
Char
required=True
name
Text
index=True
required=True
ncm_exception
Char
string='NCM Exeption'
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='piscofins_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
compute='_compute_ncms'
readonly=True
relation='fiscal_pis_cofins_ncm_rel'
store=True
string='NCMs'
ncms
Char
string='NCM'
not_in_ncms
Char
string='Not in NCM'
piscofins_type
Selection
default='ncm'
index=True
required=True
selection=[('ncm', _('NCM')), ('product', _('Product')), ('company', _('Company'))]
string='Type'
tax_cofins_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS)]
string='Tax COFINS'
tax_cofins_st_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_ST)]
string='Tax COFINS ST'
tax_pis_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS)]
string='Tax PIS'
tax_pis_st_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_ST)]
string='Tax PIS ST'
No public methods.
code
Char
size=2
No public methods.
code
Char
size=3
No public methods.
No new fields.
Public methods (0)No public methods.
cest_id
Many2one → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='CEST'
city_taxation_code_id
Many2many → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
string='City Taxation Code'
fiscal_genre_code
Char
related='fiscal_genre_id.code'
store=True
string='Fiscal Product Genre Code'
fiscal_genre_id
Many2one → l10n_br_fiscal.product.genre
comodel_name='l10n_br_fiscal.product.genre'
string='Fiscal Product Genre'
fiscal_type
Selection
company_dependent=True
selection=PRODUCT_FISCAL_TYPE
icms_origin
Selection
company_dependent=True
default=ICMS_ORIGIN_DEFAULT
selection=ICMS_ORIGIN
string='ICMS Origin'
ipi_control_seal_id
Many2one → l10n_br_fiscal.tax.ipi.control.seal
comodel_name='l10n_br_fiscal.tax.ipi.control.seal'
string='IPI Control Seal'
ipi_guideline_class_id
Many2one → l10n_br_fiscal.tax.ipi.guideline.class
comodel_name='l10n_br_fiscal.tax.ipi.guideline.class'
string='IPI Guideline Class'
nbm_id
Many2one → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
index=True
string='NBM'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
index=True
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
default=_get_default_ncm_id
index=True
string='NCM'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain="[('internal_type', '=', 'normal')]"
string='Service Type LC 166'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='product_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_product_rel'
string='Tax Definition'
tax_icms_or_issqn
Selection
default=TAX_DOMAIN_ICMS
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
type
Selection
ondelete={'product': 'set consu'}
selection_add=[('product', 'Storable Product')]
uoe_factor
Float
default=1.0
string='Export UoM Factor'
uoe_id
Many2one → uom.uom
comodel_name='uom.uom'
related='ncm_id.uoe_id'
store=True
string='Export UoM'
uot_factor
Float
string='Tax UoM Factor'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
accountant_id
Many2one → res.partner
comodel_name='res.partner'
string='Accountant'
accounting_office
Many2one → res.partner
comodel_name='res.partner'
annual_revenue
Monetary
currency_field='currency_id'
cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
compute='_compute_address'
domain="[('internal_type', '=', 'normal'), ('id', 'not in', cnae_secondary_ids)]"
inverse='_inverse_cnae_main_id'
string='Main CNAE'
cnae_secondary_ids
Many2many → l10n_br_fiscal.cnae
column1='company_id'
column2='cnae_id'
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal'), ('id', '!=', cnae_main_id)]"
relation='res_company_fiscal_cnae_rel'
string='Secondary CNAE'
coefficient_r
Boolean
compute='_compute_simplified_tax'
readonly=True
store=True
coefficient_r_percent
Float
compute='_compute_simplified_tax'
readonly=True
store=True
string='Coefficient R (%)'
delivery_costs
Selection
default='line'
help='Define if costs of Insurance, Freight and Other Costs should be informed by Line or by Total.'
selection=[('line', 'By Line'), ('total', 'By Total')]
document_email_ids
One2many → l10n_br_fiscal.document.email
comodel_name='l10n_br_fiscal.document.email'
inverse_name='company_id'
string='Email Template Definition'
document_save_disk
Boolean
default=True
string='Save Documents to disk'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Default Document Type'
ibpt_api
Boolean
default=False
string='Use IBPT API'
ibpt_token
Char
ibpt_update_days
Integer
default=15
string='IBPT Token Updates'
icms_regulation_id
Many2one → l10n_br_fiscal.icms.regulation
comodel_name='l10n_br_fiscal.icms.regulation'
string='ICMS Regulation'
industry_type
Selection
default=INDUSTRY_TYPE_TRANSFORMATION
selection=INDUSTRY_TYPE
is_industry
Boolean
default=False
help='If your company is industry or ......'
payroll_amount
Monetary
currency_field='currency_id'
string='Last Period Payroll Amount'
piscofins_id
Many2one → l10n_br_fiscal.tax.pis.cofins
comodel_name='l10n_br_fiscal.tax.pis.cofins'
domain="[('piscofins_type', '=', 'company')]"
string='PIS/COFINS'
processador_edoc
Selection
default=PROCESSADOR_NENHUM
selection=PROCESSADOR
string='Processador documentos eletrônicos'
profit_calculation
Selection
default=PROFIT_CALCULATION_PRESUMED
selection=PROFIT_CALCULATION
ripi
Boolean
string='RIPI'
simplified_tax_id
Many2one → l10n_br_fiscal.simplified.tax
comodel_name='l10n_br_fiscal.simplified.tax'
compute='_compute_simplified_tax'
readonly=True
store=True
string='Simplified Tax'
simplified_tax_percent
Float
compute='_compute_simplified_tax'
digits='Fiscal Tax Percent'
store=True
simplified_tax_range_id
Many2one → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
compute='_compute_simplified_tax'
readonly=True
store=True
string='Simplified Tax Range'
tax_cofins_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_WH)]
string='Default COFINS RET'
tax_csll_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL)]
string='Default CSLL'
tax_csll_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL_WH)]
string='Default CSLL RET'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='company_id'
string='Tax Definition'
tax_framework
Selection
compute='_compute_address'
default=TAX_FRAMEWORK_NORMAL
inverse='_inverse_tax_framework'
selection=TAX_FRAMEWORK
tax_icms_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', 'in', (TAX_DOMAIN_ICMS, TAX_DOMAIN_ICMS_SN))]
string='Default ICMS'
tax_inss_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS)]
string='Default INSS'
tax_inss_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS_WH)]
string='Default INSS RET'
tax_ipi_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Default IPI'
tax_irpj_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ)]
string='Default IRPJ'
tax_irpj_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ_WH)]
string='Default IRPJ RET'
tax_issqn_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN)]
string='Default ISSQN'
tax_issqn_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN_WH)]
string='Default ISSQN RET'
tax_pis_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_WH)]
string='Default PIS RET'
technical_support_id
Many2one → res.partner
comodel_name='res.partner'
string='Technical Support'
No public methods.
delivery_costs
Selection
readonly=False
related='company_id.delivery_costs'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
related='company_id.document_type_id'
string='Default Document Type'
ibpt_api
Boolean
readonly=False
related='company_id.ibpt_api'
string='Use IBPT API'
ibpt_token
Char
readonly=False
related='company_id.ibpt_token'
string='IBPT Token'
ibpt_update_days
Integer
readonly=False
related='company_id.ibpt_update_days'
string='IBPT Update'
module_l10n_br_cte
Boolean
string='CT-e'
module_l10n_br_mdfe
Boolean
string='MDF-e'
module_l10n_br_nfe
Boolean
string='NF-e/NFC-e'
module_l10n_br_nfse
Boolean
string='NFS-e'
No public methods.
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain="['|', ('state_from_ids', '=', id), ('state_to_ids', '=', id)]"
string='Tax Definitions'
No public methods.
city_id
Many2one
tracking=True
cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain=[('internal_type', '=', 'normal')]
string='Main CNAE'
cnpj_cpf
Char
tracking=True
fiscal_profile_id
Many2one → l10n_br_fiscal.partner.profile
comodel_name='l10n_br_fiscal.partner.profile'
default=_default_fiscal_profile_id
domain="[('is_company', '=', is_company)]"
inverse='_inverse_fiscal_profile'
string='Fiscal Partner Profile'
tracking=True
ind_final
Selection
default=FINAL_CUSTOMER_NO
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
tracking=True
ind_ie_dest
Selection
default=NFE_IND_IE_DEST_DEFAULT
required=True
selection=NFE_IND_IE_DEST
string='Contribuinte do ICMS'
tracking=True
inscr_est
Char
tracking=True
inscr_mun
Char
tracking=True
is_company
Boolean
tracking=True
is_public_entity
Boolean
help='Indicates whether the entity in question is a public organization or government-related entity. It encompasses a range of entities such as municipal governments, state-owned enterprises (where the government is the largest shareholder), and other government-controlled organizations.'
string='Public Entity'
state_id
Many2one
tracking=True
tax_framework
Selection
default=TAX_FRAMEWORK_NORMAL
selection=TAX_FRAMEWORK
tracking=True
No public methods.
alternative_ids
One2many → uom.uom.alternative
comodel_name='uom.uom.alternative'
inverse_name='uom_id'
string='Alternative names'
code
Char
size=6
search(self, domain, *args, **kwargs)
code
Char
uom_id
Many2one → uom.uom
comodel_name='uom.uom'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-brazil |
| GIT | |
| GIT | https://github.com/OCA/l10n-brazil.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-brazil/tree/14.0/l10n_br_fiscal |
| VERSION | |
| VERSION | 28.1.2 |
| CATEGORY | |
| CATEGORY | Localisation |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | Yes |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Raphaël Valyi, Renato Lima, Luis Felipe Mileo, OCA Transbot, Luis Felipe Miléo, oca-travis, Weblate, OCA-git-bot, Magno Costa, oca-ci, Marcel Savegnago, Diego Paradeda, Neto, Renan Hiroki Bastos, Ygor Carvalho, Antonio Neto, Antônio Neto, Bruno, oca-git-bot, Felipe Zago, CristianoMafraJunior, Felipe, Felipe Motter Pereira, kaynnan, Felipe Motter, André Marcos Ferreira, Carlos Silveira, Tiago Amaral, Mauricio-ATS, Augusto Diniz Lisbôa, MateusONunes |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/l10n-brazil |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:40:54 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/l10n-brazil: - l10n_br_base odoo/odoo: - product - base - base_setup - web - bus - web_tour - uom - base_address_city - base_address_extended |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
erpbrasil.base email-validator num2words phonenumbers |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cest_form |
l10n_br_fiscal.cest.form | l10n_br_fiscal.cest | form | New |
cest_search |
l10n_br_fiscal.cest.search | l10n_br_fiscal.cest | search | New |
cest_tree |
l10n_br_fiscal.cest.tree | l10n_br_fiscal.cest | tree | New |
cfop_form |
l10n_br_fiscal.cfop.form | l10n_br_fiscal.cfop | form | New |
cfop_search |
l10n_br_fiscal.cfop.search | l10n_br_fiscal.cfop | search | New |
cfop_tree |
l10n_br_fiscal.cfop.tree | l10n_br_fiscal.cfop | tree | New |
city_taxation_code_form_view |
city.taxation.code.form (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | form | New |
city_taxation_code_search_view |
city.taxation.code.search (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | search | New |
city_taxation_code_tree_view |
city.taxation.code.tree (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | tree | New |
cnae_form |
l10n_br_fiscal.cnae.form | l10n_br_fiscal.cnae | form | New |
cnae_search |
l10n_br_fiscal.cnae.search | l10n_br_fiscal.cnae | search | New |
cnae_tree |
l10n_br_fiscal.cnae.tree | l10n_br_fiscal.cnae | tree | New |
comment_form |
l10n_br_fiscal.comment.form | l10n_br_fiscal.comment | form | New |
comment_search |
l10n_br_fiscal.comment.search | l10n_br_fiscal.comment | search | New |
comment_tree |
l10n_br_fiscal.comment.tree | l10n_br_fiscal.comment | tree | New |
cst_form |
l10n_br_fiscal.cst.form | l10n_br_fiscal.cst | form | New |
cst_search |
l10n_br_fiscal.cst.search | l10n_br_fiscal.cst | search | New |
cst_tree |
l10n_br_fiscal.cst.tree | l10n_br_fiscal.cst | tree | New |
document_email_form |
l10n_br_fiscal.document.email.form | l10n_br_fiscal.document.email | form | New |
document_email_tree |
l10n_br_fiscal.document.email.tree | l10n_br_fiscal.document.email | tree | New |
document_fiscal_line_mixin_form |
l10n_br_fiscal.document.line.mixin.form | l10n_br_fiscal.document.line | form | New |
document_form |
l10n_br_fiscal.document.form | l10n_br_fiscal.document | form | New |
document_line_form |
l10n_br_fiscal.document.line.form | l10n_br_fiscal.document.line | form | New |
document_related_form |
l10n_br_fiscal.document.related.form | l10n_br_fiscal.document.related | form | New |
document_related_tree |
l10n_br_fiscal.document.related.tree | l10n_br_fiscal.document.related | tree | New |
document_search |
l10n_br_fiscal.document.search | l10n_br_fiscal.document | search | New |
document_serie_form |
l10n_br_fiscal.document.serie.form | l10n_br_fiscal.document.serie | form | New |
document_serie_tree |
l10n_br_fiscal.document.serie.tree | l10n_br_fiscal.document.serie | tree | New |
document_tree |
l10n_br_fiscal.document.tree | l10n_br_fiscal.document | tree | New |
document_type_form |
l10n_br_fiscal.document.type.form | l10n_br_fiscal.document.type | form | New |
document_type_tree |
l10n_br_fiscal.document.type.tree | l10n_br_fiscal.document.type | tree | New |
fiscal_res_company_form |
l10n_br_fiscal.res.company.form | res.company | notebook | Inherits base.view_company_form |
invalidate_number_form |
l10n_br_fiscal.invalidate.number.form | l10n_br_fiscal.invalidate.number | form | New |
invalidate_number_search |
l10n_br_fiscal.invalidate.number.search | l10n_br_fiscal.invalidate.number | search | New |
invalidate_number_tree |
l10n_br_fiscal.invalidate.number.tree | l10n_br_fiscal.invalidate.number | tree | New |
l10n_br_fiscal_res_config_settings_form |
l10n_br_fiscal.res.config.settings.view.form | res.config.settings | xpath | Inherits base.res_config_settings_view_form |
legal_nature_form |
l10n_br_fiscal.legal.nature.form | l10n_br_fiscal.legal.nature | form | New |
legal_nature_search |
l10n_br_fiscal.legal.nature.search | l10n_br_fiscal.legal.nature | search | New |
legal_nature_tree |
l10n_br_fiscal.legal.nature.tree | l10n_br_fiscal.legal.nature | tree | New |
national_taxation_code_form_view |
national.taxation.code.form (in l10n_br_fiscal) | l10n_br_fiscal.national.taxation.code | form | New |
national_taxation_code_search_view |
national.taxation.code.search (in l10n_br_fiscal) | l10n_br_fiscal.national.taxation.code | search | New |
national_taxation_code_tree_view |
national.taxation.code.tree (in l10n_br_fiscal) | l10n_br_fiscal.national.taxation.code | tree | New |
nbm_form |
l10n_br_fiscal.nbm.form | l10n_br_fiscal.nbm | form | New |
nbm_kanban |
l10n_br_fiscal.nbm.kanban | l10n_br_fiscal.ncm | kanban | New |
nbm_search |
l10n_br_fiscal.nbm.search | l10n_br_fiscal.nbm | search | New |
nbm_tree |
l10n_br_fiscal.nbm.tree | l10n_br_fiscal.nbm | tree | New |
nbs_form |
l10n_br_fiscal.nbs.form | l10n_br_fiscal.nbs | form | New |
nbs_kanban |
l10n_br_fiscal.nbs.kanban | l10n_br_fiscal.nbs | kanban | New |
nbs_search |
l10n_br_fiscal.nbs.search | l10n_br_fiscal.nbs | search | New |
nbs_tree |
l10n_br_fiscal.nbs.tree | l10n_br_fiscal.nbs | tree | New |
ncm_form |
l10n_br_fiscal.ncm.form | l10n_br_fiscal.ncm | form | New |
ncm_kanban |
l10n_br_fiscal.ncm.kanban | l10n_br_fiscal.ncm | kanban | New |
ncm_search |
l10n_br_fiscal.ncm.search | l10n_br_fiscal.ncm | search | New |
ncm_tree |
l10n_br_fiscal.ncm.tree | l10n_br_fiscal.ncm | tree | New |
operation_dashboard_kanban |
l10n_br_fiscal.operation.dashboard.kanban | l10n_br_fiscal.operation | kanban | New |
operation_form |
l10n_br_fiscal.operation.form | l10n_br_fiscal.operation | form | New |
operation_indicator_form |
l10n_br_fiscal.operation.indicator.form | l10n_br_fiscal.operation.indicator | form | New |
operation_indicator_search |
l10n_br_fiscal.operation.indicator.search | l10n_br_fiscal.operation.indicator | search | New |
operation_indicator_tree |
l10n_br_fiscal.operation.indicator.tree | l10n_br_fiscal.operation.indicator | tree | New |
operation_line_form |
l10n_br_fiscal.operation.line.form | l10n_br_fiscal.operation.line | form | New |
operation_line_tree |
l10n_br_fiscal.operation.line.tree | l10n_br_fiscal.operation.line | tree | New |
operation_search |
l10n_br_fiscal.operation.search | l10n_br_fiscal.operation | search | New |
operation_tree |
l10n_br_fiscal.operation.tree | l10n_br_fiscal.operation | tree | New |
partner_form |
l10n_br_fiscal.partner.form | res.partner | group | Inherits l10n_br_base.l10n_br_base_partner_form |
partner_profile_form |
l10n_br_fiscal.partner.profile.form | l10n_br_fiscal.partner.profile | form | New |
partner_profile_search |
l10n_br_fiscal.partner.profile.search | l10n_br_fiscal.partner.profile | search | New |
partner_profile_tree |
l10n_br_fiscal.partner.profile.tree | l10n_br_fiscal.partner.profile | tree | New |
product_form |
l10n_br_fiscal.product.product.form | product.product | xpath | Inherits product.product_normal_form_view |
product_genre_form |
l10n_br_fiscal.product.genre.form | l10n_br_fiscal.product.genre | form | New |
product_genre_search |
l10n_br_fiscal.product.genre.search | l10n_br_fiscal.product.genre | search | New |
product_genre_tree |
l10n_br_fiscal.product.genre.tree | l10n_br_fiscal.product.genre | tree | New |
product_search |
l10n_br_fiscal.product.product.search | product.product | field | Inherits product.product_search_form_view |
product_template_form |
l10n_br_fiscal.product.template.form | product.template | xpath | Inherits product.product_template_only_form_view |
product_template_search |
l10n_br_fiscal.product.template.search | product.template | field | Inherits product.product_template_search_view |
product_template_tree |
product.template.tree | product.template | tree | New |
product_tree |
product.product.tree | product.product | tree | New |
service_type_form |
l10n_br_fiscal.service.type.form | l10n_br_fiscal.service.type | form | New |
service_type_kanban |
l10n_br_fiscal.service.type.kanban | l10n_br_fiscal.service.type | kanban | New |
service_type_search |
l10n_br_fiscal.service.type.search | l10n_br_fiscal.service.type | search | New |
service_type_tree |
l10n_br_fiscal.service.type.tree | l10n_br_fiscal.service.type | tree | New |
simplified_tax_form |
l10n_br_fiscal.simplified.tax.form | l10n_br_fiscal.simplified.tax | form | New |
simplified_tax_range_tree |
l10n_br_fiscal.simplified.tax.range.tree | l10n_br_fiscal.simplified.tax.range | tree | New |
simplified_tax_tree |
l10n_br_fiscal.simplified.tax.tree | l10n_br_fiscal.simplified.tax | tree | New |
source_document_tree |
source.document.tree | l10n_br_fiscal.subsequent.document | tree | New |
subsequent_document_tree |
l10n_br_fiscal.subsequent.document.tree | l10n_br_fiscal.subsequent.document | tree | New |
subsequent_operation_tree |
l10n_br_fiscal.subsequent.operation.tree | l10n_br_fiscal.subsequent.operation | tree | New |
tax_classification_form |
l10n_br_fiscal.tax.classification | form | New | |
tax_classification_search |
l10n_br_fiscal.tax.classification | search | New | |
tax_classification_tree |
l10n_br_fiscal.tax.classification | tree | New | |
tax_definition_form |
l10n_br_fiscal.tax.definition.form | l10n_br_fiscal.tax.definition | form | New |
tax_definition_icms_tree |
l10n_br_fiscal.tax.definition.icms.tree | l10n_br_fiscal.tax.definition | tree | New |
tax_definition_tree |
l10n_br_fiscal.tax.definition.tree | l10n_br_fiscal.tax.definition | tree | New |
tax_estimate_tree |
l10n_br_fiscal.tax.estimate.tree | l10n_br_fiscal.tax.estimate | tree | New |
tax_form |
l10n_br_fiscal.tax.form | l10n_br_fiscal.tax | form | New |
tax_group_form |
l10n_br_fiscal.tax.group.form | l10n_br_fiscal.tax.group | form | New |
tax_group_search |
l10n_br_fiscal.tax.group.search | l10n_br_fiscal.tax.group | search | New |
tax_group_tree |
l10n_br_fiscal.tax.group.tree | l10n_br_fiscal.tax.group | tree | New |
tax_icms_regulation_form |
l10n_br_fiscal.icms.regulation.form | l10n_br_fiscal.icms.regulation | form | New |
tax_icms_regulation_search |
l10n_br_fiscal.icms.regulation.search | l10n_br_fiscal.icms.regulation | search | New |
tax_icms_regulation_tree |
l10n_br_fiscal.icms.regulation.tree | l10n_br_fiscal.icms.regulation | tree | New |
tax_icms_relief_form |
l10n_br_fiscal.icms.relief.form | l10n_br_fiscal.icms.relief | form | New |
tax_icms_relief_search |
l10n_br_fiscal.icms.relief.search | l10n_br_fiscal.icms.relief | search | New |
tax_icms_relief_tree |
l10n_br_fiscal.icms.relief.tree | l10n_br_fiscal.icms.relief | tree | New |
tax_ipi_control_seal_form |
l10n_br_fiscal.tax.ipi.control.seal.form | l10n_br_fiscal.tax.ipi.control.seal | form | New |
tax_ipi_control_seal_search |
l10n_br_fiscal.tax.ipi.control.seal.search | l10n_br_fiscal.tax.ipi.guideline.class | search | New |
tax_ipi_control_seal_tree |
l10n_br_fiscal.tax.ipi.control.seal.tree | l10n_br_fiscal.tax.ipi.control.seal | tree | New |
tax_ipi_guideline_class_form |
l10n_br_fiscal.tax.ipi.guideline.class.form | l10n_br_fiscal.tax.ipi.guideline.class | form | New |
tax_ipi_guideline_class_search |
l10n_br_fiscal.tax.ipi.guideline.class.search | l10n_br_fiscal.tax.ipi.guideline.class | search | New |
tax_ipi_guideline_class_tree |
l10n_br_fiscal.tax.ipi.guideline.class.tree | l10n_br_fiscal.tax.ipi.guideline.class | tree | New |
tax_ipi_guideline_form |
l10n_br_fiscal.tax.ipi.guideline.form | l10n_br_fiscal.tax.ipi.guideline | form | New |
tax_ipi_guideline_search |
l10n_br_fiscal.tax.ipi.guideline.search | l10n_br_fiscal.tax.ipi.guideline | search | New |
tax_ipi_guideline_tree |
l10n_br_fiscal.tax.ipi.guideline.tree | l10n_br_fiscal.tax.ipi.guideline | tree | New |
tax_pis_cofins_base_form |
l10n_br_fiscal.tax.pis.cofins.base.form | l10n_br_fiscal.tax.pis.cofins.base | form | New |
tax_pis_cofins_base_search |
l10n_br_fiscal.tax.pis.cofins.base.search | l10n_br_fiscal.tax.pis.cofins.base | search | New |
tax_pis_cofins_base_tree |
l10n_br_fiscal.tax.pis.cofins.base.tree | l10n_br_fiscal.tax.pis.cofins.base | tree | New |
tax_pis_cofins_credit_form |
l10n_br_fiscal.tax.pis.cofins.credit.form | l10n_br_fiscal.tax.pis.cofins.credit | form | New |
tax_pis_cofins_credit_search |
l10n_br_fiscal.tax.pis.cofins.credit.search | l10n_br_fiscal.tax.pis.cofins.credit | search | New |
tax_pis_cofins_credit_tree |
l10n_br_fiscal.tax.pis.cofins.credit.tree | l10n_br_fiscal.tax.pis.cofins.credit | tree | New |
tax_pis_cofins_form |
l10n_br_fiscal.pis.cofins.tax.form | l10n_br_fiscal.tax.pis.cofins | form | New |
tax_pis_cofins_search |
l10n_br_fiscal.tax.search | l10n_br_fiscal.tax.pis.cofins | search | New |
tax_pis_cofins_tree |
l10n_br_fiscal.tax.pis.cofins.tree | l10n_br_fiscal.tax.pis.cofins | tree | New |
tax_search |
l10n_br_fiscal.tax.search | l10n_br_fiscal.tax | search | New |
tax_tree |
l10n_br_fiscal.tax.tree | l10n_br_fiscal.tax | tree | New |
uom_uom_form_view |
uom.uom.form (in l10n_br_fiscal) | uom.uom | field | Inherits uom.product_uom_form_view |
uom_uom_tree_view |
uom.uom.tree (in l10n_br_fiscal) | uom.uom | field | Inherits uom.product_uom_tree_view |
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
string='Fiscal Document'
document_key
Char
document_number
Char
document_serie
Char
document_status
Text
readonly=True
string='Status'
document_type
Char
related='document_type_id.code'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Document Type'
justification
Text
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
rps_number
Char
state
Selection
default='init'
readonly=True
selection=[('init', 'init'), ('confirm', 'confirm'), ('done', 'done')]
button_back(self)
default_get(self, fields_list)
code
Char
size=9
code_unmasked
Char
size=7
item
Char
required=True
name
Text
index=True
required=True
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='cest_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
readonly=True
relation='fiscal_cest_ncm_rel'
string='NCMs'
ncms
Char
string='NCM'
product_tmpl_ids
One2many
inverse_name='cest_id'
segment
Selection
required=True
selection=CEST_SEGMENT
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='cest_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_cest_rel'
string='Tax Definition'
action_search_ncms(self)
create(self, vals_list)
write(self, values)
account_move
Boolean
default=True
string='Account Move?'
assent_move
Boolean
default=False
string='Assent Move?'
cfop_inverse_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('destination', '=', destination),('type_in_out', '!=', type_in_out)]"
string='Inverse CFOP'
cfop_return_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('destination', '=', destination),('type_in_out', '!=', type_in_out),('type_move', 'in', ('sale_refund', 'purchase_refund', 'return_out', 'return_in'))]"
string='Return CFOP'
code
Char
size=4
destination
Selection
compute='_compute_destination'
help='Identifies the operation destination.'
selection=CFOP_DESTINATION
store=True
finance_move
Boolean
default=True
string='Finance Moves?'
ind_anula
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Revocation?'
ind_comb
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes - Without mandatory transportation information'), ('2', '2 - Yes - With mandatory transportation information')]
string='Fuel?'
ind_comunica
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Communication?'
ind_cte
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Used in CTe'
ind_devol
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Return?'
ind_nfe
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Used in NFe'
ind_remes
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Shipment?'
ind_retor
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Regress?'
ind_transp
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Transport?'
is_import
Boolean
compute='_compute_is_import'
string='Is Import?'
small_name
Char
required=True
size=32
stock_move
Boolean
default=True
string='Stock Moves?'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='cfop_id'
string='Tax Definition'
type_in_out
Selection
default=FISCAL_OUT
required=True
selection=FISCAL_IN_OUT
string='Type'
type_move
Selection
default=CFOP_TYPE_MOVE_DEFAULT
required=True
selection=CFOP_TYPE_MOVE
No public methods.
city_id
Many2one → res.city
comodel_name='res.city'
domain="[('state_id', '=', state_id)]"
string='City'
cnae_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='CNAE Code'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain=[('internal_type', '=', 'normal')]
string='Service Type'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='State'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='city_taxation_code_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_city_taxation_code_rel'
string='Tax Definition'
No public methods.
child_ids
One2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
inverse_name='parent_id'
string='Children CNAEs'
code
Char
size=16
internal_type
Selection
default='normal'
required=True
selection=[('view', 'View'), ('normal', 'Normal')]
parent_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='Parent CNAE'
version
Char
required=True
size=16
No public methods.
comment
Text
required=True
comment_type
Selection
default=COMMENT_TYPE_COMMERCIAL
required=True
selection=COMMENT_TYPE
date_begin
Date
string='Initial Date'
date_end
Date
string='Final Date'
name
Char
required=True
object
Selection
required=True
selection=FISCAL_COMMENT_OBJECTS
object_id
Reference
ondelete='set null'
selection=FISCAL_COMMENT_OBJECTS
string='Reference'
sequence
Integer
default=10
test_comment
Text
action_test_message(self)
compute_message(self, vals, manual_comment=None)
format_amount(self, env, amount, currency)
name_get(self)
code
Char
size=4
cst_type
Selection
required=True
selection=FISCAL_IN_OUT_ALL
string='Type'
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
required=True
string='Fiscal Tax Group'
No public methods.
active
Boolean
default=True
code
Char
index=True
required=True
code_unmasked
Char
compute='_compute_code_unmasked'
index=True
store=True
string='Unmasked Code'
name
Text
index=True
required=True
action_archive(self)
action_unarchive(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
name_get(self)
estimate_tax_imported
Float
compute='_compute_amount'
digits='Fiscal Tax Percent'
readonly=True
store=True
string='Estimate Tax Imported Percent'
estimate_tax_national
Float
compute='_compute_amount'
digits='Fiscal Tax Percent'
readonly=True
store=True
string='Estimate Tax Nacional Percent'
tax_estimate_ids
One2many → l10n_br_fiscal.tax.estimate
comodel_name='l10n_br_fiscal.tax.estimate'
readonly=True
string='Estimate Taxes'
action_ibpt_inquiry(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
product_tmpl_ids
One2many → product.template
comodel_name='product.template'
readonly=True
string='Products'
product_tmpl_qty
Integer
compute='_compute_product_tmpl_infos'
string='Products Quantity'
No public methods.
company_city_id
Many2one → res.city
comodel_name='res.city'
related='company_id.city_id'
string='Company City'
company_cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
related='company_id.cnae_main_id'
string='Company Main CNAE'
company_cnpj_cpf
Char
related='company_id.cnpj_cpf'
string='Company CNPJ'
company_country_id
Many2one → res.country
comodel_name='res.country'
related='company_id.country_id'
string='Company Country'
company_district
Char
related='company_id.district'
string='Company District'
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
company_inscr_est
Char
related='company_id.inscr_est'
string='Company State Tax Number'
company_inscr_est_st
Char
string='Company ST State Tax Number'
company_inscr_mun
Char
related='company_id.inscr_mun'
string='Company Municipal Tax Number'
company_legal_name
Char
related='company_id.legal_name'
string='Company Legal Name'
company_name
Char
related='company_id.name'
size=128
string='Company Name'
company_number
Char
related='company_id.street_number'
string='Company Number'
company_phone
Char
related='company_id.phone'
string='Company Phone'
company_state_id
Many2one → res.country.state
comodel_name='res.country.state'
related='company_id.state_id'
string='Company State'
company_street
Char
related='company_id.street'
string='Company Street'
company_street2
Char
related='company_id.street2'
string='Company Street2'
company_suframa
Char
related='company_id.suframa'
string='Company Suframa'
company_tax_framework
Selection
related='company_id.tax_framework'
string='Company Tax Framework'
company_zip
Char
related='company_id.zip'
string='Company ZIP'
date_in_out
Datetime
copy=False
string='Date IN/OUT'
document_date
Datetime
copy=False
document_electronic
Boolean
related='document_type_id.electronic'
store=True
string='Electronic?'
document_related_ids
One2many → l10n_br_fiscal.document.related
comodel_name='l10n_br_fiscal.document.related'
inverse_name='document_id'
string='Fiscal Document Related'
document_subsequent_generated
Boolean
compute='_compute_document_subsequent_generated'
default=False
string='Subsequent documents generated?'
document_subsequent_ids
One2many → l10n_br_fiscal.subsequent.document
comodel_name='l10n_br_fiscal.subsequent.document'
copy=True
inverse_name='source_document_id'
document_type
Char
related='document_type_id.code'
store=True
string='Document Type Code'
edoc_purpose
Selection
default=EDOC_PURPOSE_NORMAL
selection=EDOC_PURPOSE
string='Finalidade'
edoc_refund_credit_type
Selection
selection=EDOC_REFUND_CREDIT_TYPE
string='Tipo de Nota de Crédito'
edoc_refund_debit_type
Selection
selection=EDOC_REFUND_DEBIT_TYPE
string='Tipo de Nota de Débito'
fiscal_line_ids
One2many → l10n_br_fiscal.document.line
check_company=True
comodel_name='l10n_br_fiscal.document.line'
copy=True
inverse_name='document_id'
string='Document Lines'
fiscal_operation_id
Many2one
domain="[('state', '=', 'approved'), '|', ('fiscal_operation_type', '=', fiscal_operation_type), ('fiscal_operation_type', '=', 'all')]"
fiscal_operation_type
Selection
store=True
has_vat_specification
Boolean
default=False
help="Indicates whether this fiscal document includes a specific VAT (CNPJ/CPF) identification that must be preserved — commonly known in Brazil as 'CPF na nota'."
string='Has VAT Specification'
imported_document
Boolean
default=False
string='Imported'
issuer
Selection
default=DOCUMENT_ISSUER_COMPANY
selection=DOCUMENT_ISSUER
name
Char
compute='_compute_name'
index=True
store=True
operation_name
Char
copy=False
partner_city_id
Many2one → res.city
comodel_name='res.city'
related='partner_id.city_id'
string='Partner City'
partner_cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
related='partner_id.cnae_main_id'
string='Main CNAE'
partner_cnpj_cpf
Char
compute='_compute_partner_cnpj_cpf'
store=True
string='CNPJ'
partner_country_id
Many2one → res.country
comodel_name='res.country'
related='partner_id.country_id'
string='Partner Country'
partner_district
Char
related='partner_id.district'
string='Partner District'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
partner_ind_ie_dest
Selection
related='partner_id.ind_ie_dest'
string='Contribuinte do ICMS'
partner_inscr_est
Char
related='partner_id.inscr_est'
string='State Tax Number'
partner_inscr_mun
Char
related='partner_id.inscr_mun'
string='Municipal Tax Number'
partner_is_company
Boolean
related='partner_id.is_company'
string='Partner Is Company?'
partner_legal_name
Char
related='partner_id.legal_name'
string='Legal Name'
partner_name
Char
related='partner_id.name'
string='Partner Name'
partner_number
Char
related='partner_id.street_number'
string='Partner Number'
partner_phone
Char
related='partner_id.phone'
string='Partner Phone'
partner_shipping_id
Many2one → res.partner
comodel_name='res.partner'
string='Shipping Address'
partner_state_id
Many2one → res.country.state
comodel_name='res.country.state'
related='partner_id.state_id'
string='Partner State'
partner_street
Char
related='partner_id.street'
string='Partner Street'
partner_street2
Char
related='partner_id.street2'
string='Partner Street2'
partner_suframa
Char
related='partner_id.suframa'
string='Suframa'
partner_tax_framework
Selection
related='partner_id.tax_framework'
string='Tax Framework'
partner_zip
Char
related='partner_id.zip'
string='Partner Zip'
processador_edoc
Selection
related='company_id.processador_edoc'
public_entity_type
Selection
selection=PUBLIC_ENTIRY_TYPE
string='Tipo de Entidade Governamental'
rps_number
Char
copy=False
index=True
string='RPS Number'
service_provider
Selection
selection=[('0', 'Remetente'), ('1', 'Expedidor'), ('2', 'Recebedor'), ('3', 'Destinatário'), ('4', 'Outros')]
string='Tomador do Serviço'
state
Selection
related='state_edoc'
string='State'
state_edoc
Selection
copy=False
default=SITUACAO_EDOC_EM_DIGITACAO
index=True
readonly=True
required=True
selection=SITUACAO_EDOC
string='Situação e-doc'
state_fiscal
Selection
copy=False
index=True
selection=SITUACAO_FISCAL
string='Situação Fiscal'
transport_modal
Selection
selection=[('01', 'Rodoviário'), ('02', 'Aéreo'), ('03', 'Aquaviário'), ('04', 'Ferroviário'), ('05', 'Dutoviário'), ('06', 'Multimodal')]
string='Modal de Transporte'
user_id
Many2one → res.users
comodel_name='res.users'
default=<expr>
index=True
string='User'
xml_error_message
Text
copy=False
readonly=True
string='XML validation errors'
action_create_return(self)
action_document_back2draft(self)
action_document_cancel(self)
action_document_confirm(self)
action_document_correction(self)
action_document_invalidate(self)
action_document_send(self)
action_send_email(self)
cancel_edoc(self)
exec_after_SITUACAO_EDOC_DENEGADA(self, old_state, new_state)
name_get(self)
send_email(self, state)
unlink(self)
view_pdf(self)
view_xml(self)
active
Boolean
default=True
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
help='Select the type of document that will be applied to the email templates definitions.'
string='Fiscal Document Type'
email_template_id
Many2one → mail.template
comodel_name='mail.template'
domain=[('model', '=', 'l10n_br_fiscal.document')]
help='Select the email template that will be sent when this document state change.'
required=True
string='Fiscal Document E-mail Template'
issuer
Selection
default=DOCUMENT_ISSUER_COMPANY
required=True
selection=DOCUMENT_ISSUER
name
Char
compute='_compute_name'
copy=False
readonly=True
store=True
state_edoc
Selection
copy=False
index=True
selection=SITUACAO_EDOC
string='Situação e-doc'
No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
related='document_id.company_id'
store=True
string='Company'
currency_id
Many2one → res.currency
comodel_name='res.currency'
related='company_id.currency_id'
string='Currency'
delivery_costs
Selection
related='company_id.delivery_costs'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
ondelete='cascade'
string='Document'
edoc_purpose
Selection
related='document_id.edoc_purpose'
force_compute_delivery_costs_by_total
Boolean
related='document_id.force_compute_delivery_costs_by_total'
ind_final
Selection
related='document_id.ind_final'
name
Char
partner_id
Many2one
related='document_id.partner_id'
store=True
tax_framework
Selection
related='company_id.tax_framework'
No public methods.
additional_data
Text
allow_csll_irpj
Boolean
compute='_compute_allow_csll_irpj'
help="Indicates potential 'CSLL' and 'IRPJ' tax charges."
amount_fiscal
Monetary
compute='_compute_amounts'
amount_tax
Monetary
compute='_compute_amounts'
amount_tax_included
Monetary
amount_tax_not_included
Monetary
amount_tax_withholding
Monetary
string='Tax Withholding'
amount_taxed
Monetary
compute='_compute_amounts'
amount_total
Monetary
compute='_compute_amounts'
amount_untaxed
Monetary
compute='_compute_amounts'
cbs_base
Monetary
string='CBS Base'
cbs_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='CBS Base Type'
cbs_cst_code
Char
related='cbs_cst_id.code'
store=True
string='CBS CST Code'
cbs_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'cbs')]"
string='CST CBS'
cbs_percent
Float
string='CBS %'
cbs_reduction
Float
string='CBS % Reduction'
cbs_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=<expr>
string='Tax CBS'
cbs_value
Monetary
string='CBS Value'
cest_id
Many2one → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='CEST'
cfop_destination
Selection
related='cfop_id.destination'
string='CFOP Destination'
cfop_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type)]"
string='CFOP'
city_taxation_code_id
Many2one → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
help='City Taxation Code for Municipal NFS-e or ISS Municipal Taxation Code for National NFS-e.'
string='City Taxation Code'
cnae_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='CNAE Code'
cofins_base
Monetary
string='COFINS Base'
cofins_base_id
Many2one → l10n_br_fiscal.tax.pis.cofins.base
comodel_name='l10n_br_fiscal.tax.pis.cofins.base'
string='COFINS Base Code'
cofins_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='COFINS Base Type'
cofins_credit_id
Many2one → l10n_br_fiscal.tax.pis.cofins.credit
comodel_name='l10n_br_fiscal.tax.pis.cofins.credit'
string='COFINS Credit Code'
cofins_cst_code
Char
related='cofins_cst_id.code'
store=True
string='COFINS CST Code'
cofins_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'cofins')]"
string='CST COFINS'
cofins_percent
Float
string='COFINS %'
cofins_reduction
Float
string='COFINS % Reduction'
cofins_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS)]
string='Tax COFINS'
cofins_value
Monetary
string='COFINS Value'
cofins_wh_base
Monetary
string='COFINS RET Base'
cofins_wh_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='COFINS WH Base Type'
cofins_wh_percent
Float
string='COFINS RET %'
cofins_wh_reduction
Float
string='COFINS RET % Reduction'
cofins_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_WH)]
string='Tax COFINS RET'
cofins_wh_value
Monetary
string='COFINS RET Value'
cofinsst_base
Monetary
string='COFINS ST Base'
cofinsst_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='COFINS ST Base Type'
cofinsst_cst_code
Char
related='cofinsst_cst_id.code'
store=True
string='COFINS ST CST Code'
cofinsst_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'cofinsst')]"
string='CST COFINS ST'
cofinsst_percent
Float
string='COFINS ST %'
cofinsst_reduction
Float
string='COFINS ST % Reduction'
cofinsst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_ST)]
string='Tax COFINS ST'
cofinsst_value
Monetary
string='COFINS ST Value'
comment_ids
Many2many → l10n_br_fiscal.comment
column1='document_line_mixin_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_LINE)]
relation='l10n_br_fiscal_document_line_mixin_comment_rel'
string='Comments'
csll_base
Monetary
string='CSLL Base'
csll_percent
Float
string='CSLL %'
csll_reduction
Float
string='CSLL % Reduction'
csll_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL)]
string='Tax CSLL'
csll_value
Monetary
string='CSLL Value'
csll_wh_base
Monetary
string='CSLL RET Base'
csll_wh_percent
Float
string='CSLL RET %'
csll_wh_reduction
Float
string='CSLL RET % Reduction'
csll_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL_WH)]
string='Tax CSLL RET'
csll_wh_value
Monetary
string='CSLL RET Value'
cst_code_prefix_like
Char
compute='_compute_cst_code_prefix_like'
help='Helper field to filter taxes by CST code prefix (3 chars) using LIKE.'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
string='Currency'
discount_value
Monetary
estimate_tax
Monetary
financial_discount_value
Monetary
compute='_compute_amounts'
financial_total
Monetary
compute='_compute_amounts'
string='Amount Financial'
financial_total_gross
Monetary
compute='_compute_amounts'
help='Total amount before any discounts are applied.'
string='Financial Gross Amount'
fiscal_genre_code
Char
related='fiscal_genre_id.code'
string='Fiscal Product Genre Code'
fiscal_genre_id
Many2one → l10n_br_fiscal.product.genre
comodel_name='l10n_br_fiscal.product.genre'
string='Fiscal Product Genre'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
default=_default_operation
domain=<expr>
string='Operation'
fiscal_operation_line_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
domain="[('fiscal_operation_id', '=', fiscal_operation_id), ('state', '=', 'approved')]"
string='Operation Line'
fiscal_operation_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_operation_type'
fiscal_price
Float
digits='Product Price'
fiscal_quantity
Float
digits='Product Unit of Measure'
fiscal_tax_ids
Many2many → l10n_br_fiscal.tax
column1='document_id'
column2='fiscal_tax_id'
comodel_name='l10n_br_fiscal.tax'
relation='fiscal_tax_rel'
string='Fiscal Taxes'
fiscal_type
Selection
selection=PRODUCT_FISCAL_TYPE
freight_value
Monetary
ibs_base
Monetary
string='IBS Base'
ibs_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='IBS Base Type'
ibs_cst_code
Char
related='ibs_cst_id.code'
store=True
string='IBS CST Code'
ibs_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'ibs')]"
string='CST IBS'
ibs_percent
Float
string='IBS %'
ibs_reduction
Float
string='IBS % Reduction'
ibs_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=<expr>
string='Tax IBS'
ibs_value
Monetary
string='IBS Value'
icms_base
Monetary
string='ICMS Base'
icms_base_type
Selection
default=ICMS_BASE_TYPE_DEFAULT
selection=ICMS_BASE_TYPE
string='ICMS Base Type'
icms_cst_code
Char
related='icms_cst_id.code'
store=True
string='ICMS CST Code'
icms_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('tax_domain', '=', {'1': 'icmssn', '2': 'icmssn', '3': 'icms'}.get(tax_framework))]"
string='CST ICMS'
icms_destination_base
Monetary
string='ICMS Destination Base'
icms_destination_percent
Float
string='ICMS External %'
icms_destination_value
Monetary
string='ICMS Dest. Value'
icms_effective_base
Monetary
string='ICMS Effective Base'
icms_effective_percent
Float
string='ICMS Effective %'
icms_effective_reduction
Float
string='ICMS Effective % Reduction'
icms_effective_value
Monetary
string='ICMS Effective'
icms_origin
Selection
default=ICMS_ORIGIN_DEFAULT
selection=ICMS_ORIGIN
string='ICMS Origin'
icms_origin_percent
Float
string='ICMS Internal %'
icms_origin_value
Monetary
string='ICMS Origin Value'
icms_percent
Float
string='ICMS %'
icms_reduction
Float
string='ICMS % Reduction'
icms_relief_id
Many2one → l10n_br_fiscal.icms.relief
comodel_name='l10n_br_fiscal.icms.relief'
string='ICMS Relief'
icms_relief_value
Monetary
string='ICMS Relief Value'
icms_sharing_percent
Float
string='ICMS Sharing %'
icms_substitute
Monetary
help='Valor do ICMS Próprio do Substituto cobrado em operação anterior'
string='ICMS Substitute'
icms_tax_benefit_code
Char
related='icms_tax_benefit_id.code'
store=True
string='Tax Benefit Code'
icms_tax_benefit_id
Many2one → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('is_benefit', '=', True), ('tax_domain', '=', TAX_DOMAIN_ICMS)]
string='Tax Benefit'
icms_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS)]
string='Tax ICMS'
icms_value
Monetary
string='ICMS Value'
icmsfcp_base
Monetary
string='ICMS FCP Base'
icmsfcp_base_wh
Monetary
string='FCP WH Base'
icmsfcp_percent
Float
string='ICMS FCP %'
icmsfcp_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
string='Tax ICMS FCP'
icmsfcp_value
Monetary
string='ICMS FCP Value'
icmsfcp_value_wh
Monetary
string='FCP WH'
icmsfcp_wh_percent
Float
string='FCP WH %'
icmsfcpst_base
Monetary
string='ICMS FCP ST Base'
icmsfcpst_percent
Float
string='ICMS FCP ST %'
icmsfcpst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST)]
string='Tax ICMS FCP ST'
icmsfcpst_value
Monetary
string='ICMS FCP ST Value'
icmssn_base
Monetary
string='ICMS SN Base'
icmssn_credit_value
Monetary
string='ICMS SN Credit'
icmssn_percent
Float
string='ICMS SN %'
icmssn_range_id
Many2one → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
default=_default_icmssn_range_id
string='Simplified Range Tax'
icmssn_reduction
Monetary
string='ICMS SN Reduction'
icmssn_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_SN)]
string='Tax ICMS SN'
icmsst_base
Monetary
string='ICMS ST Base'
icmsst_base_type
Selection
default=ICMS_ST_BASE_TYPE_DEFAULT
selection=ICMS_ST_BASE_TYPE
string='ICMS ST Base Type'
icmsst_mva_percent
Float
string='ICMS ST MVA %'
icmsst_percent
Float
string='ICMS ST %'
icmsst_reduction
Float
string='ICMS ST % Reduction'
icmsst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
string='Tax ICMS ST'
icmsst_value
Monetary
string='ICMS ST Value'
icmsst_wh_base
Monetary
string='ICMS ST WH Base'
icmsst_wh_percent
Float
string='ICMS ST WH %'
icmsst_wh_value
Monetary
string='ICMS ST WH Value'
ii_base
Monetary
string='II Base'
ii_customhouse_charges
Monetary
string='Despesas Aduaneiras'
ii_iof_value
Monetary
string='IOF Value'
ii_percent
Float
string='II %'
ii_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_II)]
string='Tax II'
ii_value
Monetary
string='II Value'
inss_base
Monetary
string='INSS Base'
inss_percent
Float
string='INSS %'
inss_reduction
Float
string='INSS % Reduction'
inss_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS)]
string='Tax INSS'
inss_value
Monetary
string='INSS Value'
inss_wh_base
Monetary
string='INSS RET Base'
inss_wh_percent
Float
string='INSS RET %'
inss_wh_reduction
Float
string='INSS RET % Reduction'
inss_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS_WH)]
string='Tax INSS RET'
inss_wh_value
Monetary
string='INSS RET Value'
insurance_value
Monetary
ipi_base
Monetary
string='IPI Base'
ipi_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='IPI Base Type'
ipi_cst_code
Char
related='ipi_cst_id.code'
store=True
string='IPI CST Code'
ipi_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'ipi')]"
string='CST IPI'
ipi_devol_value
Monetary
string='Valor do IPI devolvido'
ipi_guideline_id
Many2one → l10n_br_fiscal.tax.ipi.guideline
comodel_name='l10n_br_fiscal.tax.ipi.guideline'
domain="['|', ('cst_in_id', '=', ipi_cst_id),('cst_out_id', '=', ipi_cst_id)]"
string='IPI Guideline'
ipi_percent
Float
string='IPI %'
ipi_reduction
Float
string='IPI % Reduction'
ipi_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Tax IPI'
ipi_value
Monetary
string='IPI Value'
irpj_base
Monetary
string='IRPJ Base'
irpj_percent
Float
string='IRPJ %'
irpj_reduction
Float
string='IRPJ % Reduction'
irpj_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ)]
string='Tax IRPJ'
irpj_value
Monetary
string='IRPJ Value'
irpj_wh_base
Monetary
string='IRPJ RET Base'
irpj_wh_percent
Float
string='IRPJ RET %'
irpj_wh_reduction
Float
string='IRPJ RET % Reduction'
irpj_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ_WH)]
string='Tax IRPJ RET'
irpj_wh_value
Monetary
string='IRPJ RET Value'
issqn_base
Monetary
string='ISSQN Base'
issqn_deduction_amount
Monetary
string='ISSQN Deduction Value'
issqn_desc_cond_amount
Monetary
string='ISSQN Discount Cond'
issqn_desc_incond_amount
Monetary
string='ISSQN Discount Incond'
issqn_eligibility
Selection
default=ISSQN_ELIGIBILITY_DEFAULT
selection=ISSQN_ELIGIBILITY
string='ISSQN Eligibility'
issqn_fg_city_id
Many2one → res.city
comodel_name='res.city'
string='ISSQN City'
issqn_incentive
Selection
default=ISSQN_INCENTIVE_DEFAULT
selection=ISSQN_INCENTIVE
string='ISSQN Incentive'
issqn_other_amount
Monetary
string='ISSQN Other Value'
issqn_percent
Float
string='ISSQN %'
issqn_reduction
Float
string='ISSQN % Reduction'
issqn_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN)]
string='Tax ISSQN'
issqn_value
Monetary
string='ISSQN Value'
issqn_wh_base
Monetary
string='ISSQN RET Base'
issqn_wh_percent
Float
string='ISSQN RET %'
issqn_wh_reduction
Float
string='ISSQN RET % Reduction'
issqn_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN_WH)]
string='Tax ISSQN RET'
issqn_wh_value
Monetary
string='ISSQN RET Value'
manual_additional_data
Text
help='Additional data manually entered by user'
national_taxation_code_id
Many2one → l10n_br_fiscal.national.taxation.code
comodel_name='l10n_br_fiscal.national.taxation.code'
help='National Taxation Code for the ISS tax (National NFS-e)'
string='ISS National Taxation Code'
nbm_id
Many2one → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='NBM'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
index=True
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
index=True
string='NCM'
operation_fiscal_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_type'
operation_indicator_id
Many2one → l10n_br_fiscal.operation.indicator
comodel_name='l10n_br_fiscal.operation.indicator'
string='Operation Indicator'
other_value
Monetary
p_devol
Float
string='Percentual de mercadoria devolvida'
partner_company_type
Selection
related='partner_id.company_type'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
partner_is_public_entity
Boolean
related='partner_id.is_public_entity'
partner_order
Char
size=15
string='Partner Order (xPed)'
partner_order_line
Char
size=6
string='Partner Order Line (nItemPed)'
pis_base
Monetary
string='PIS Base'
pis_base_id
Many2one → l10n_br_fiscal.tax.pis.cofins.base
comodel_name='l10n_br_fiscal.tax.pis.cofins.base'
string='PIS Base Code'
pis_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='PIS Base Type'
pis_credit_id
Many2one → l10n_br_fiscal.tax.pis.cofins.credit
comodel_name='l10n_br_fiscal.tax.pis.cofins.credit'
string='PIS Credit'
pis_cst_code
Char
related='pis_cst_id.code'
store=True
string='PIS CST Code'
pis_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'pis')]"
string='CST PIS'
pis_percent
Float
string='PIS %'
pis_reduction
Float
string='PIS % Reduction'
pis_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS)]
string='Tax PIS'
pis_value
Monetary
string='PIS Value'
pis_wh_base
Monetary
string='PIS RET Base'
pis_wh_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='PIS WH Base Type'
pis_wh_percent
Float
string='PIS RET %'
pis_wh_reduction
Float
string='PIS RET % Reduction'
pis_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_WH)]
string='Tax PIS RET'
pis_wh_value
Monetary
string='PIS RET Value'
pisst_base
Monetary
string='PIS ST Base'
pisst_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='PIS ST Base Type'
pisst_cst_code
Char
related='pisst_cst_id.code'
store=True
string='PIS ST CST Code'
pisst_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'pisst')]"
string='CST PIS ST'
pisst_percent
Float
string='PIS ST %'
pisst_reduction
Float
string='PIS ST % Reduction'
pisst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_ST)]
string='Tax PIS ST'
pisst_value
Monetary
string='PIS ST Value'
price_gross
Monetary
compute='_compute_amounts'
help='Total value of products or services (quantity x unit price)before any discounts.'
string='Gross Product/Service Amount'
price_unit
Float
digits='Product Price'
product_id
Many2one → product.product
comodel_name='product.product'
index=True
string='Product'
quantity
Float
default=1.0
digits='Product Unit of Measure'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain="[('internal_type', '=', 'normal')]"
string='Service Type LC 166'
simple_value
Monetary
string='National Simple Taxes'
simple_without_icms_value
Monetary
string='National Simple Taxes without ICMS'
tax_classification_id
Many2one → l10n_br_fiscal.tax.classification
comodel_name='l10n_br_fiscal.tax.classification'
string='Tax Classification'
tax_icms_or_issqn
Selection
default=TAX_DOMAIN_ICMS
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
uom_id
Many2one → uom.uom
comodel_name='uom.uom'
string='UOM'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
No new fields.
Public methods (2)fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
inject_fiscal_fields(self, view_arch, view_ref='l10n_br_fiscal.document_fiscal_line_mixin_form', xpath_mappings=None)
amount_cbs_base
Monetary
compute='_compute_amount'
store=True
string='CBS Base'
amount_cbs_value
Monetary
compute='_compute_amount'
store=True
string='CBS Value'
amount_cofins_base
Monetary
compute='_compute_amount'
store=True
string='COFINS Base'
amount_cofins_value
Monetary
compute='_compute_amount'
store=True
string='COFINS Value'
amount_cofins_wh_base
Monetary
compute='_compute_amount'
store=True
string='COFINS Ret Base'
amount_cofins_wh_value
Monetary
compute='_compute_amount'
store=True
string='COFINS Ret Value'
amount_cofinsst_base
Monetary
compute='_compute_amount'
store=True
string='COFINS ST Base'
amount_cofinsst_value
Monetary
compute='_compute_amount'
store=True
string='COFINS ST Value'
amount_csll_base
Monetary
compute='_compute_amount'
store=True
string='CSLL Base'
amount_csll_value
Monetary
compute='_compute_amount'
store=True
string='CSLL Value'
amount_csll_wh_base
Monetary
compute='_compute_amount'
store=True
string='CSLL Ret Base'
amount_csll_wh_value
Monetary
compute='_compute_amount'
store=True
string='CSLL Ret Value'
amount_discount_value
Monetary
compute='_compute_amount'
store=True
string='Amount Discount'
amount_estimate_tax
Monetary
compute='_compute_amount'
store=True
amount_financial_discount_value
Monetary
compute='_compute_amount'
store=True
string='Financial Discount Value'
amount_financial_total
Monetary
compute='_compute_amount'
store=True
string='Amount Financial'
amount_financial_total_gross
Monetary
compute='_compute_amount'
store=True
string='Amount Financial Gross'
amount_freight_value
Monetary
compute='_compute_amount'
inverse='_inverse_amount_freight'
store=True
string='Freight Value'
amount_ibs_base
Monetary
compute='_compute_amount'
store=True
string='IBS Base'
amount_ibs_value
Monetary
compute='_compute_amount'
store=True
string='IBS Value'
amount_icms_base
Monetary
compute='_compute_amount'
store=True
string='ICMS Base'
amount_icms_destination_value
Monetary
compute='_compute_amount'
store=True
string='ICMS Destination Value'
amount_icms_origin_value
Monetary
compute='_compute_amount'
store=True
string='ICMS Origin Value'
amount_icms_value
Monetary
compute='_compute_amount'
store=True
string='ICMS Value'
amount_icmsfcp_base
Monetary
compute='_compute_amount'
store=True
string='ICMS FCP Base'
amount_icmsfcp_value
Monetary
compute='_compute_amount'
store=True
string='ICMS FCP Value'
amount_icmsfcpst_value
Monetary
compute='_compute_amount'
store=True
string='ICMS FCP ST Value'
amount_icmssn_credit_value
Monetary
compute='_compute_amount'
store=True
string='ICMSSN Credit Value'
amount_icmsst_base
Monetary
compute='_compute_amount'
store=True
string='ICMS ST Base'
amount_icmsst_value
Monetary
compute='_compute_amount'
store=True
string='ICMS ST Value'
amount_ii_base
Monetary
compute='_compute_amount'
store=True
string='II Base'
amount_ii_customhouse_charges
Monetary
compute='_compute_amount'
store=True
string='Customhouse Charges'
amount_ii_value
Monetary
compute='_compute_amount'
store=True
string='II Value'
amount_inss_base
Monetary
compute='_compute_amount'
store=True
string='INSS Base'
amount_inss_value
Monetary
compute='_compute_amount'
store=True
string='INSS Value'
amount_inss_wh_base
Monetary
compute='_compute_amount'
store=True
string='INSS Ret Base'
amount_inss_wh_value
Monetary
compute='_compute_amount'
store=True
string='INSS Ret Value'
amount_insurance_value
Monetary
compute='_compute_amount'
inverse='_inverse_amount_insurance'
store=True
string='Insurance Value'
amount_ipi_base
Monetary
compute='_compute_amount'
store=True
string='IPI Base'
amount_ipi_value
Monetary
compute='_compute_amount'
store=True
string='IPI Value'
amount_irpj_base
Monetary
compute='_compute_amount'
store=True
string='IRPJ Base'
amount_irpj_value
Monetary
compute='_compute_amount'
store=True
string='IRPJ Value'
amount_irpj_wh_base
Monetary
compute='_compute_amount'
store=True
string='IRPJ Ret Base'
amount_irpj_wh_value
Monetary
compute='_compute_amount'
store=True
string='IRPJ Ret Value'
amount_issqn_base
Monetary
compute='_compute_amount'
store=True
string='ISSQN Base'
amount_issqn_value
Monetary
compute='_compute_amount'
store=True
string='ISSQN Value'
amount_issqn_wh_base
Monetary
compute='_compute_amount'
store=True
string='ISSQN Ret Base'
amount_issqn_wh_value
Monetary
compute='_compute_amount'
store=True
string='ISSQN Ret Value'
amount_other_value
Monetary
compute='_compute_amount'
inverse='_inverse_amount_other'
store=True
string='Other Costs'
amount_pis_base
Monetary
compute='_compute_amount'
store=True
string='PIS Base'
amount_pis_value
Monetary
compute='_compute_amount'
store=True
string='PIS Value'
amount_pis_wh_base
Monetary
compute='_compute_amount'
store=True
string='PIS Ret Base'
amount_pis_wh_value
Monetary
compute='_compute_amount'
store=True
string='PIS Ret Value'
amount_pisst_base
Monetary
compute='_compute_amount'
store=True
string='PIS ST Base'
amount_pisst_value
Monetary
compute='_compute_amount'
store=True
string='PIS ST Value'
amount_price_gross
Monetary
compute='_compute_amount'
help='Amount without discount.'
store=True
string='Amount Gross'
amount_tax
Monetary
compute='_compute_amount'
store=True
amount_tax_withholding
Monetary
compute='_compute_amount'
store=True
string='Tax Withholding'
amount_total
Monetary
compute='_compute_amount'
store=True
amount_untaxed
Monetary
compute='_compute_amount'
store=True
comment_ids
Many2many → l10n_br_fiscal.comment
column1='document_mixin_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_DOCUMENT)]
relation='l10n_br_fiscal_document_mixin_comment_rel'
string='Comments'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
readonly=True
store=True
customer_additional_data
Text
delivery_costs
Selection
related='company_id.delivery_costs'
document_key
Char
copy=False
index=True
string='Key'
document_number
Char
copy=False
index=True
document_serie
Char
string='Serie Number'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
domain="[('active', '=', True),('document_type_id', '=', document_type_id)]"
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
fiscal_additional_data
Text
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
default=_default_operation
domain=<expr>
string='Operation'
fiscal_operation_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_operation_type'
string='Fiscal Operation Type'
force_compute_delivery_costs_by_total
Boolean
default=False
ind_final
Selection
default=FINAL_CUSTOMER_YES
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
ind_pres
Selection
default=NFE_IND_PRES_DEFAULT
selection=NFE_IND_PRES
string='Buyer Presence'
key_check_digit
Char
string='Document Key Check Digit'
key_random_code
Char
string='Document Key Random Code'
manual_customer_additional_data
Text
help='Customer Additional data manually entered by user'
manual_fiscal_additional_data
Text
help='Fiscal Additional data manually entered by user'
partner_id
Many2one → res.partner
comodel_name='res.partner'
index=True
total_weight
Float
string='Total Weight'
No public methods.
No new fields.
Public methods (0)No public methods.
cnpj_cpf
Char
size=18
string='CNPJ/CPF'
cpfcnpj_type
Selection
default='cnpj'
selection=[('cpf', 'CPF'), ('cnpj', 'CNPJ')]
string='Type Doc Number'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
document_date
Date
string='Data'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document'
document_key
Char
size=44
document_number
Char
size=32
string='Number'
document_related_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document Related'
document_serie
Char
size=12
string='Serie'
document_total_amount
Monetary
currency_field='currency_id'
string='Valor Total'
document_total_weight
Float
string='Peso Total'
document_type_code
Char
related='document_type_id.code'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Fiscal Document Type'
inscr_est
Char
size=16
string='Inscr. Estadual/RG'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='State'
No public methods.
active
Boolean
default=True
code
Char
size=3
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
required=True
string='Fiscal Document'
fiscal_type
Selection
default=FISCAL_IN_OUT_DEFAULT
selection=FISCAL_IN_OUT
string='Type'
internal_sequence_id
Many2one → ir.sequence
comodel_name='ir.sequence'
domain="[('company_id', '=', company_id)]"
string='Sequence'
invalidate_number_id
One2many → l10n_br_fiscal.invalidate.number
comodel_name='l10n_br_fiscal.invalidate.number'
inverse_name='document_serie_id'
string='Invalidate Number Range'
name
Char
required=True
sequence_number_next
Integer
related='internal_sequence_id.number_next'
check_number_in_use(self, document_number)
create(self, vals_list)
name_get(self)
next_seq_number(self)
No new fields.
Public methods (2)doit(self)
get_document_status(self)
qrcode
Char
string='QR Code'
url_key
Char
string='QR Code URL Key'
No public methods.
code
Char
size=8
document_email_ids
One2many → l10n_br_fiscal.document.email
comodel_name='l10n_br_fiscal.document.email'
inverse_name='document_type_id'
string='Email Template Definition'
document_serie_ids
One2many → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
inverse_name='document_type_id'
string='Document Series'
electronic
Boolean
string='Is Electronic?'
name
Char
size=128
prefix
Char
sufix
Char
type
Selection
required=True
selection=DOCUMENT_TYPE
string='Document Type'
get_document_serie(self, company, fiscal_operation)
icms_external_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '!=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AC'
icms_external_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '!=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AL'
icms_external_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '!=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AM'
icms_external_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '!=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AP'
icms_external_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '!=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External BA'
icms_external_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '!=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External CE'
icms_external_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '!=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External DF'
icms_external_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '!=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External ES'
icms_external_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '!=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External GO'
icms_external_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '!=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MA'
icms_external_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '!=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MG'
icms_external_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '!=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MS'
icms_external_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '!=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MT'
icms_external_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '!=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PA'
icms_external_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '!=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PB'
icms_external_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '!=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PE'
icms_external_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '!=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PI'
icms_external_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '!=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PR'
icms_external_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '!=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RJ'
icms_external_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '!=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RN'
icms_external_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '!=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RO'
icms_external_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '!=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RR'
icms_external_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '!=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RS'
icms_external_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '!=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SC'
icms_external_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '!=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SE'
icms_external_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '!=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SP'
icms_external_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '!=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External TO'
icms_fcp_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AC'
icms_fcp_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AL'
icms_fcp_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AM'
icms_fcp_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AP'
icms_fcp_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP BA'
icms_fcp_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP CE'
icms_fcp_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP DF'
icms_fcp_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ES'
icms_fcp_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP GO'
icms_fcp_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MA'
icms_fcp_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MG'
icms_fcp_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MS'
icms_fcp_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MT'
icms_fcp_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PA'
icms_fcp_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PB'
icms_fcp_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PE'
icms_fcp_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PI'
icms_fcp_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PR'
icms_fcp_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RJ'
icms_fcp_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RN'
icms_fcp_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RO'
icms_fcp_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RR'
icms_fcp_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RS'
icms_fcp_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SC'
icms_fcp_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SE'
icms_fcp_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SP'
icms_fcp_st_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AC'
icms_fcp_st_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AL'
icms_fcp_st_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AM'
icms_fcp_st_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST AP'
icms_fcp_st_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST BA'
icms_fcp_st_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST CE'
icms_fcp_st_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST DF'
icms_fcp_st_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST ES'
icms_fcp_st_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST GO'
icms_fcp_st_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MA'
icms_fcp_st_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MG'
icms_fcp_st_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MS'
icms_fcp_st_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST MT'
icms_fcp_st_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PA'
icms_fcp_st_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PB'
icms_fcp_st_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PE'
icms_fcp_st_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PI'
icms_fcp_st_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST PR'
icms_fcp_st_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RJ'
icms_fcp_st_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RN'
icms_fcp_st_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RO'
icms_fcp_st_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RR'
icms_fcp_st_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST RS'
icms_fcp_st_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SC'
icms_fcp_st_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SE'
icms_fcp_st_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST SP'
icms_fcp_st_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ST TO'
icms_fcp_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP TO'
icms_imported_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
string='ICMS Tax Imported'
icms_internal_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AC'
icms_internal_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AL'
icms_internal_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AM'
icms_internal_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AP'
icms_internal_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal BA'
icms_internal_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal CE'
icms_internal_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal DF'
icms_internal_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal ES'
icms_internal_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal GO'
icms_internal_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MA'
icms_internal_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MG'
icms_internal_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MS'
icms_internal_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MT'
icms_internal_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PA'
icms_internal_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PB'
icms_internal_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PE'
icms_internal_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PI'
icms_internal_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PR'
icms_internal_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RJ'
icms_internal_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RN'
icms_internal_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='ICMS Internal RO'
icms_internal_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RR'
icms_internal_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RS'
icms_internal_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SC'
icms_internal_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SE'
icms_internal_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SP'
icms_internal_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal TO'
icms_st_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AC'
icms_st_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AL'
icms_st_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AM'
icms_st_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AP'
icms_st_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST BA'
icms_st_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST CE'
icms_st_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST DF'
icms_st_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST ES'
icms_st_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST GO'
icms_st_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MA'
icms_st_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MG'
icms_st_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MS'
icms_st_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MT'
icms_st_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PA'
icms_st_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PB'
icms_st_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PE'
icms_st_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PI'
icms_st_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PR'
icms_st_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RJ'
icms_st_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RN'
icms_st_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RO'
icms_st_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RR'
icms_st_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RS'
icms_st_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SC'
icms_st_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SE'
icms_st_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SP'
icms_st_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST TO'
name
Text
index=True
required=True
tax_benefit_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AC', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AC'
tax_benefit_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AL', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AL'
tax_benefit_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AM', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AM'
tax_benefit_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AP', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AP'
tax_benefit_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('BA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit BA'
tax_benefit_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('CE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit CE'
tax_benefit_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('DF', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit DF'
tax_benefit_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('ES', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit ES'
tax_benefit_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('GO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit GO'
tax_benefit_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MA'
tax_benefit_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MG', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MG'
tax_benefit_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MS', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MS'
tax_benefit_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MT', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MT'
tax_benefit_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PA'
tax_benefit_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PB', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PB'
tax_benefit_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PE'
tax_benefit_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PI', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PI'
tax_benefit_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PR', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PR'
tax_benefit_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RJ', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='Tax Benefit RJ'
tax_benefit_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RN', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RN'
tax_benefit_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RO'
tax_benefit_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RR', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RR'
tax_benefit_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RS', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RS'
tax_benefit_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SC', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SC'
tax_benefit_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SE'
tax_benefit_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SP', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SP'
tax_benefit_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('TO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit TO'
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
map_tax(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None, ind_final=None)
map_tax_def_icms_difal(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None, ind_final=None)
No new fields.
Public methods (0)No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
readonly=True
required=True
states={'draft': [('readonly', False)]}
date
Date
default=fields.Date.today
readonly=True
document_electronic
Boolean
readonly=True
related='document_type_id.electronic'
string='Electronic?'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
domain="[('active', '=', True),\n ('document_type_id', '=', document_type_id),\n ('company_id', '=', company_id)]"
readonly=True
required=True
states={'draft': [('readonly', False)]}
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
readonly=True
required=True
states={'draft': [('readonly', False)]}
justification
Char
readonly=True
required=True
states={'draft': [('readonly', False)]}
name
Char
compute='_compute_name'
index=True
store=True
number_end
Integer
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='End Number'
number_start
Integer
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Initial Number'
state
Selection
default='draft'
readonly=True
selection=[('draft', _('Draft')), ('done', _('Done'))]
string='Status'
action_invalidate(self)
unlink(self)
code
Char
size=5
No public methods.
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='national_taxation_code_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_national_taxation_code_rel'
string='Tax Definition'
No public methods.
code
Char
size=12
code_unmasked
Char
size=10
name
Text
index=True
required=True
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='nbm_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
readonly=True
relation='fiscal_nbm_ncm_rel'
string='NCMs'
ncms
Char
string='NCM'
product_tmpl_ids
One2many
inverse_name='nbm_id'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='nbm_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_nbm_rel'
string='Tax Definition'
action_search_ncms(self)
create(self, vals_list)
write(self, values)
code
Char
size=12
code_unmasked
Char
size=10
product_tmpl_ids
One2many
inverse_name='nbs_id'
tax_estimate_ids
One2many
inverse_name='nbs_id'
No public methods.
cest_ids
Many2many → l10n_br_fiscal.cest
column1='ncm_id'
column2='cest_id'
comodel_name='l10n_br_fiscal.cest'
readonly=True
relation='fiscal_cest_ncm_rel'
string='CESTs'
code
Char
size=10
code_unmasked
Char
size=8
exception
Char
size=2
nbm_ids
Many2many → l10n_br_fiscal.nbm
column1='ncm_id'
column2='nbm_id'
comodel_name='l10n_br_fiscal.nbm'
readonly=True
relation='fiscal_nbm_ncm_rel'
string='NBMs'
piscofins_ids
Many2many → l10n_br_fiscal.tax.pis.cofins
column1='ncm_id'
column2='piscofins_id'
comodel_name='l10n_br_fiscal.tax.pis.cofins'
readonly=True
relation='fiscal_pis_cofins_ncm_rel'
string='PIS/COFINS'
product_tmpl_ids
One2many
inverse_name='ncm_id'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='ncm_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_ncm_rel'
string='Tax Definition'
tax_estimate_ids
One2many
inverse_name='ncm_id'
tax_ii_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_II)]
string='Tax II'
tax_ipi_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Tax IPI'
uoe_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Export UoM'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
code
Char
readonly=True
required=True
states={'draft': [('readonly', False)]}
tracking=True
comment_ids
Many2many → l10n_br_fiscal.comment
column1='fiscal_operation_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_DOCUMENT)]
relation='l10n_br_fiscal_operation_comment_rel'
string='Comment'
company_id
Many2one → res.company
comodel_name='res.company'
readonly=True
states={'draft': [('readonly', False)]}
string='Company'
tracking=True
default_price_unit
Selection
default='sale_price'
readonly=True
selection=[('sale_price', _('Sale Price')), ('cost_price', _('Cost Price'))]
states={'draft': [('readonly', False)]}
string='Default Price Unit?'
tracking=True
document_type_ids
One2many → l10n_br_fiscal.operation.document.type
comodel_name='l10n_br_fiscal.operation.document.type'
inverse_name='fiscal_operation_id'
readonly=True
states={'draft': [('readonly', False)]}
string='Operation Document Types'
edoc_purpose
Selection
default=EDOC_PURPOSE_NORMAL
readonly=True
selection=EDOC_PURPOSE
states={'draft': [('readonly', False)]}
string='Finalidade'
tracking=True
fiscal_operation_type
Selection
readonly=True
required=True
selection=FISCAL_IN_OUT_ALL
states={'draft': [('readonly', False)]}
string='Type'
tracking=True
fiscal_type
Selection
default=OPERATION_FISCAL_TYPE_DEFAULT
readonly=True
required=True
selection=OPERATION_FISCAL_TYPE
states={'draft': [('readonly', False)]}
tracking=True
inverse_fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
readonly=True
states={'draft': [('readonly', False)]}
string='Inverse Operation'
tracking=True
line_ids
One2many → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=True
inverse_name='fiscal_operation_id'
readonly=True
states={'draft': [('readonly', False)]}
string='Operation Line'
name
Char
readonly=True
required=True
states={'draft': [('readonly', False)]}
tracking=True
operation_subsequent_ids
One2many → l10n_br_fiscal.subsequent.operation
comodel_name='l10n_br_fiscal.subsequent.operation'
inverse_name='fiscal_operation_id'
string='Subsequent Operation'
return_fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain="[('fiscal_operation_type', '!=', fiscal_operation_type), ('fiscal_type', 'in', {'sale': ['sale_refund'], 'purchase': ['purchase_refund'], 'other': ['return_in', 'return_out'],'return_in': ['return_out'], 'return_out': ['return_in']}.get(fiscal_type, []))]"
readonly=True
states={'draft': [('readonly', False)]}
string='Return Operation'
tracking=True
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
action_approve(self)
action_draft(self)
action_review(self)
copy(self, default=None)
get_document_serie(self, company, document_type)
line_definition(self, company, partner, product)
unlink(self)
color
Integer
default=0
string='Color Index'
kanban_dashboard
Text
compute='_compute_kanban_dashboard'
action_create_new(self)
get_operation_dashboard_data(self)
open_action(self)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
document_electronic
Boolean
related='document_type_id.electronic'
string='Electronic?'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
company_dependent=True
domain="[('active', '=', True),('document_type_id', '=', document_type_id)]"
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
required=True
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Operation'
name
Char
compute='_compute_name'
No public methods.
code
Char
help='Operation indicator code according to Annex VII of NT 004/2025 (e.g., 020101, 030101)'
index=True
required=True
size=6
string='Operation Indicator Code'
operation_location
Text
help='Where the operation is considered to take place according to the legislation'
string='Operation Location Consideration'
operation_type
Text
help='Type of operation according to Art. 11 of Complementary Law No. 214/2025'
required=True
supply_characteristic
Text
help='Specific characteristic of the supply execution that determines the place of supply'
supply_location
Text
help='Place of supply to be identified in the Digital Fiscal Document (DFe), such as supplier establishment, acquirer address, recipient address, or other locations depending on the operation'
required=True
string='DFe Supply Location'
No public methods.
add_to_amount
Boolean
default=True
string='Add to Document Amount?'
cfop_export_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('type_move', '=ilike', fiscal_type + '%'), ('destination', '=', '3')]"
string='CFOP Export'
cfop_external_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('type_move', '=ilike', fiscal_type + '%'), ('destination', '=', '2')]"
string='CFOP External'
cfop_internal_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('destination', '=', '1'),('type_move', '=ilike', fiscal_type + '%')]"
string='CFOP Internal'
comment_ids
Many2many → l10n_br_fiscal.comment
column1='fiscal_operation_line_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_LINE)]
relation='l10n_br_fiscal_operation_line_comment_rel'
string='Comment'
company_tax_framework
Selection
selection=TAX_FRAMEWORK
date_end
Datetime
string='End Date'
date_start
Datetime
string='Start Date'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Operation'
fiscal_operation_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_operation_type'
store=True
string='Fiscal Operation Type'
fiscal_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_type'
store=True
string='Fiscal Type'
icms_origin
Selection
selection=ICMS_ORIGIN
string='Origin'
ind_ie_dest
Selection
selection=NFE_IND_IE_DEST
string='ICMS Taxpayer'
line_inverse_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=False
domain="[('fiscal_operation_type', '!=', fiscal_operation_type)]"
string='Operation Line Inverse'
line_refund_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=False
domain="[('fiscal_operation_type', '!=', fiscal_operation_type)]"
string='Operation Line Refund'
name
Char
required=True
partner_tax_framework
Selection
selection=TAX_FRAMEWORK
product_type
Selection
selection=PRODUCT_FISCAL_TYPE
string='Product Fiscal Type'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
tax_classification_id
Many2one → l10n_br_fiscal.tax.classification
comodel_name='l10n_br_fiscal.tax.classification'
string='Tax Classification'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
copy=True
inverse_name='fiscal_operation_line_id'
string='Tax Definition'
tax_icms_or_issqn
Selection
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
action_review(self)
get_document_type(self, company)
map_fiscal_taxes(self, company, partner, product=None, fiscal_price=None, fiscal_quantity=None, ncm=None, nbm=None, nbs=None, cest=None, city_taxation_code=None, national_taxation_code=None, service_type=None, ind_final=None)
unlink(self)
code
Char
required=True
size=16
default
Boolean
default=True
string='Default Profile'
ind_ie_dest
Selection
default=NFE_IND_IE_DEST_DEFAULT
required=True
selection=NFE_IND_IE_DEST
string='Contribuinte do ICMS'
is_company
Boolean
string='Is Company?'
is_public_entity
Boolean
help='Indicates whether the entity in question is a public organization or government-related entity. It encompasses a range of entities such as municipal governments, state-owned enterprises (where the government is the largest shareholder), and other government-controlled organizations.'
string='Public Entity'
name
Char
size=64
partner_ids
One2many → res.partner
comodel_name='res.partner'
compute='_compute_partner_info'
string='Partner'
partner_qty
Integer
compute='_compute_partner_info'
string='Partner Quantity'
public_entity_type
Selection
selection=PUBLIC_ENTIRY_TYPE
string='Tipo de Entidade Governamental'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='fiscal_profile_id'
string='Tax Definition'
tax_framework
Selection
default=TAX_FRAMEWORK_NORMAL
selection=TAX_FRAMEWORK
action_view_partners(self)
product_tmpl_ids
One2many
inverse_name='fiscal_genre_id'
No public methods.
No new fields.
Public methods (0)No public methods.
child_ids
One2many → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
inverse_name='parent_id'
string='Service Type Child'
internal_type
Selection
default='normal'
required=True
selection=[('view', 'View'), ('normal', 'Normal')]
parent_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
string='Parent Service Type'
product_tmpl_ids
One2many
inverse_name='service_type_id'
withholding_at_place
Boolean
help='The tax is due at the location of the provider establishment, except in the cases that this field is true, where it will be due at the place of provision.'
string='Tax Retention at place of provision'
withholding_possible
Boolean
string='Subject to withholding tax'
No public methods.
cnae_ids
Many2many → l10n_br_fiscal.cnae
column1='simplified_tax_id'
column2='cnae_id'
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal')]"
relation='fiscal_simplified_tax_cnae_rel'
string='CNAEs'
coefficient_r
Boolean
readonly=True
name
Char
required=True
simplified_tax_range_ids
One2many → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
copy=False
inverse_name='simplified_tax_id'
string='Simplified Tax Range'
No public methods.
amount_deduced
Monetary
currency_field='currency_id'
required=True
string='Amount to be Deducted'
currency_id
Many2one → res.currency
comodel_name='res.currency'
required=True
string='Currency'
final_revenue
Monetary
currency_field='currency_id'
inital_revenue
Monetary
currency_field='currency_id'
name
Char
required=True
simplified_tax_id
Many2one → l10n_br_fiscal.simplified.tax
comodel_name='l10n_br_fiscal.simplified.tax'
string='Simplified Tax'
tax_cbs_percent
Float
digits='Fiscal Tax Percent'
string='Tax CBS Percent'
tax_cofins_percent
Float
digits='Fiscal Tax Percent'
string='Tax COFINS Percent'
tax_cpp_percent
Float
digits='Fiscal Tax Percent'
string='Tax CPP Percent'
tax_csll_percent
Float
digits='Fiscal Tax Percent'
string='Tax CSLL Percent'
tax_ibs_percent
Float
digits='Fiscal Tax Percent'
string='Tax IBS Percent'
tax_icms_percent
Float
digits='Fiscal Tax Percent'
string='Tax ICMS Percent'
tax_ipi_percent
Float
digits='Fiscal Tax Percent'
string='Tax IPI Percent'
tax_irpj_percent
Float
digits='Fiscal Tax Percent'
string='Tax IRPJ Percent'
tax_iss_percent
Float
digits='Fiscal Tax Percent'
string='Tax ISS Percent'
tax_pis_percent
Float
digits='Fiscal Tax Percent'
string='Tax PIS Percent'
total_tax_percent
Float
digits='Fiscal Tax Percent'
string='Tax Percent'
No public methods.
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
required=True
string='Related operation'
operation_performed
Boolean
compute='_compute_operation_performed'
copy=False
default=False
source_document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
ondelete='cascade'
required=True
string='Source document'
subsequent_document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
copy=False
ondelete='set null'
string='Subsequent Document'
subsequent_operation_id
Many2one → l10n_br_fiscal.subsequent.operation
comodel_name='l10n_br_fiscal.subsequent.operation'
required=True
string='Subsequent Operation'
generate_subsequent_document(self)
show_source_document(self)
show_subsequent_document(self)
unlink(self)
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Origin operation'
generation_situation
Selection
default='manual'
required=True
selection=SUBSEQUENT_OPERATION
operation_document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Document Type'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
reference_document
Boolean
string='Referencing source document'
sequence
Integer
default=10
help='Gives the sequence order when displaying a list'
subsequent_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
string='Operation to be performed'
No public methods.
compute_sequence
Integer
help='The sequence field is used to define order in which the tax lines are applied.'
related='tax_group_id.compute_sequence'
cst_in_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', ('in', 'all')), ('tax_domain', '=', tax_domain)]"
string='CST In'
cst_out_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', ('out', 'all')), ('tax_domain', '=', tax_domain)]"
string='CST Out'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
string='Currency'
icms_base_type
Selection
default=ICMS_BASE_TYPE_DEFAULT
required=True
selection=ICMS_BASE_TYPE
icmsst_base_type
Selection
default=ICMS_ST_BASE_TYPE_DEFAULT
required=True
selection=ICMS_ST_BASE_TYPE
string='ICMS ST Base Type'
icmsst_mva_percent
Float
digits='Fiscal Tax Percent'
required=True
string='MVA Percent'
icmsst_value
Float
digits='Fiscal Tax Value'
required=True
string='PFC Value'
name
Char
required=True
size=256
percent_amount
Float
digits='Fiscal Tax Percent'
required=True
string='Percent'
percent_debit_credit
Float
digits='Fiscal Tax Percent'
required=True
string='Percent Debit/Credit'
percent_reduction
Float
digits='Fiscal Tax Percent'
required=True
sequence
Integer
help='The sequence field is used to define the order in which taxes are displayed.'
related='tax_group_id.sequence'
store=True
tax_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
required=True
selection=TAX_BASE_TYPE
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
required=True
string='Fiscal Tax Group'
tax_scope
Selection
related='tax_group_id.tax_scope'
store=True
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
value_amount
Float
digits='Fiscal Tax Value'
required=True
string='Value'
compute_taxes(self, **kwargs)
cst_from_tax(self, fiscal_operation_type=FISCAL_OUT)
code
Char
size=8
credit_reversal
Boolean
default=False
cst_code_prefix_like
Char
compute='_compute_cst_code_prefix_like'
help='Helper field to filter taxes by CST code prefix (3 chars) using LIKE.'
description
Text
document_type_ids
Many2many → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
help='Related Digital Fiscal Documents'
relation='tax_classification_document_type_rel'
string='Related DFes'
presumed_credit
Boolean
default=False
rate_type
Selection
default=TAX_RATE_TYPE_DEFAULT
required=True
selection=TAX_RATE_TYPE
regular_taxation
Boolean
default=False
tax_cbs_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=<expr>
string='Tax CBS'
tax_ibs_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=<expr>
string='Tax IBS'
No public methods.
benefit_type
Selection
selection=ICMS_TAX_BENEFIT_TYPE
states={'draft': [('readonly', False)]}
cest_ids
Many2many → l10n_br_fiscal.cest
column1='tax_definition_id'
column2='cest_id'
comodel_name='l10n_br_fiscal.cest'
readonly=True
relation='tax_definition_cest_rel'
string='CESTs'
cests
Text
readonly=True
states={'draft': [('readonly', False)]}
string='CEST List'
cfop_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
string='CFOP'
city_taxation_code_ids
Many2many → l10n_br_fiscal.city.taxation.code
column1='tax_definition_id'
column2='city_taxation_code_id'
comodel_name='l10n_br_fiscal.city.taxation.code'
relation='tax_definition_city_taxation_code_rel'
string='City Taxation Codes'
code
Char
size=8
states={'draft': [('readonly', False)]}
company_id
Many2one → res.company
comodel_name='res.company'
readonly=True
states={'draft': [('readonly', False)]}
string='Company'
cst_code
Char
readonly=True
related='cst_id.code'
string='CST Code'
cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', (type_in_out, 'all')), ('tax_group_id', '=', tax_group_id)]"
readonly=True
string='CST'
custom_tax
Boolean
readonly=True
states={'draft': [('readonly', False)]}
date_end
Datetime
readonly=True
states={'draft': [('readonly', False)]}
string='End Date'
date_start
Datetime
readonly=True
states={'draft': [('readonly', False)]}
string='Start Date'
description
Text
states={'draft': [('readonly', False)]}
display_name
Char
compute='_compute_display_name'
store=True
fiscal_operation_line_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
string='Operation Line'
fiscal_profile_id
Many2one → l10n_br_fiscal.partner.profile
comodel_name='l10n_br_fiscal.partner.profile'
string='Partner Profile'
icms_regulation_id
Many2one → l10n_br_fiscal.icms.regulation
comodel_name='l10n_br_fiscal.icms.regulation'
string='ICMS Regulation'
ind_final
Selection
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
ipi_guideline_id
Many2one → l10n_br_fiscal.tax.ipi.guideline
comodel_name='l10n_br_fiscal.tax.ipi.guideline'
domain="['|', ('cst_in_id', '=', cst_id), ('cst_out_id', '=', cst_id)]"
string='IPI Guideline'
is_benefit
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Benefit?'
is_debit_credit
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Debit/Credit?'
is_taxed
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Taxed?'
name
Char
states={'draft': [('readonly', False)]}
national_taxation_code_ids
Many2many → l10n_br_fiscal.national.taxation.code
column1='tax_definition_id'
column2='national_taxation_code_id'
comodel_name='l10n_br_fiscal.national.taxation.code'
relation='tax_definition_national_taxation_code_rel'
string='National Taxation Codes'
nbm_ids
Many2many → l10n_br_fiscal.nbm
column1='tax_definition_id'
column2='nbm_id'
comodel_name='l10n_br_fiscal.nbm'
readonly=True
relation='tax_definition_nbm_rel'
string='NBMs'
nbms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NBM List'
ncm_exception
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NCM Exeption'
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='tax_definition_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
readonly=True
relation='tax_definition_ncm_rel'
string='NCMs'
ncms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NCM List'
not_in_nbms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='Not in NBMs'
not_in_ncms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='Not in NCMs'
product_ids
Many2many → product.product
column1='tax_definition_id'
column2='product_id'
comodel_name='product.product'
relation='tax_definition_product_rel'
string='Products'
service_type_ids
Many2many → l10n_br_fiscal.service.type
column1='tax_definition_id'
column2='service_type_id'
comodel_name='l10n_br_fiscal.service.type'
relation='tax_definition_service_type_rel'
string='Fiscal Service Types'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
tracking=True
state_from_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='From State'
state_to_ids
Many2many → res.country.state
column1='tax_definition_id'
column2='state_id'
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
relation='tax_definition_state_to_rel'
string='To States'
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
states={'draft': [('readonly', False)]}
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Tax Group'
tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain="[('tax_group_id', '=', tax_group_id)]"
readonly=True
states={'draft': [('readonly', False)]}
string='Tax'
type_in_out
Selection
default=FISCAL_OUT
readonly=True
required=True
selection=FISCAL_IN_OUT
states={'draft': [('readonly', False)]}
string='Type'
action_approve(self)
action_draft(self)
action_review(self)
action_search_cests(self)
action_search_nbms(self)
action_search_ncms(self)
create(self, vals_list)
map_tax_definition(self, company, partner, product, ncm=None, nbm=None, nbs=None, cest=None, city_taxation_code=None, national_taxation_code=None, service_type=None)
name_get(self)
unlink(self)
write(self, values)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
create_date
Datetime
readonly=True
federal_taxes_import
Float
digits='Fiscal Tax Percent'
string='Impostos Federais Importado'
federal_taxes_national
Float
digits='Fiscal Tax Percent'
string='Impostos Federais Nacional'
key
Char
size=32
municipal_taxes
Float
digits='Fiscal Tax Percent'
string='Impostos Municipais Nacional'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
string='NCM'
origin
Char
size=32
string='Source'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
required=True
string='State'
state_taxes
Float
digits='Fiscal Tax Percent'
string='Impostos Estaduais Nacional'
No public methods.
base_with_additional_values
Boolean
default=True
string='Add the value of freight, insurance and others to the Base'
base_without_icms
Boolean
default=False
string='Remove ICMS value from Base'
compute_sequence
Integer
default=10
help='The sequence field is used to define order in which the tax lines are applied.'
required=True
cst_ids
One2many → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
inverse_name='tax_group_id'
string='CSTs'
name
Char
required=True
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='WH Partner'
sequence
Integer
default=10
help='The sequence field is used to define the order in which taxes are displayed.'
required=True
tax_domain
Selection
required=True
selection=TAX_DOMAIN
tax_ids
One2many → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
inverse_name='tax_group_id'
string='Taxes'
tax_include
Boolean
default=False
string='Tax Included in Price'
tax_scope
Selection
required=True
selection=[('city', _('City')), ('state', _('State')), ('federal', _('Federal')), ('other', _('Other'))]
tax_withholding
Boolean
default=False
wh_due_day
Integer
string='Due Day'
No public methods.
No new fields.
Public methods (0)No public methods.
code
Char
size=3
cst_group
Selection
required=True
selection=IPI_GUIDELINE_GROUP
string='Group'
cst_in_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain=[('domain', '=', TAX_DOMAIN_IPI), ('cst_type', '=', FISCAL_IN)]
string='CST In'
cst_out_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain=[('domain', '=', TAX_DOMAIN_IPI), ('cst_type', '=', FISCAL_OUT)]
string='CST Out'
No public methods.
No new fields.
Public methods (0)No public methods.
code
Char
required=True
name
Text
index=True
required=True
ncm_exception
Char
string='NCM Exeption'
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='piscofins_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
compute='_compute_ncms'
readonly=True
relation='fiscal_pis_cofins_ncm_rel'
store=True
string='NCMs'
ncms
Char
string='NCM'
not_in_ncms
Char
string='Not in NCM'
piscofins_type
Selection
default='ncm'
index=True
required=True
selection=[('ncm', _('NCM')), ('product', _('Product')), ('company', _('Company'))]
string='Type'
tax_cofins_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS)]
string='Tax COFINS'
tax_cofins_st_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_ST)]
string='Tax COFINS ST'
tax_pis_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS)]
string='Tax PIS'
tax_pis_st_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_ST)]
string='Tax PIS ST'
No public methods.
code
Char
size=2
No public methods.
code
Char
size=3
No public methods.
No new fields.
Public methods (0)No public methods.
cest_id
Many2one → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='CEST'
city_taxation_code_id
Many2many → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
string='City Taxation Code'
fiscal_genre_code
Char
related='fiscal_genre_id.code'
store=True
string='Fiscal Product Genre Code'
fiscal_genre_id
Many2one → l10n_br_fiscal.product.genre
comodel_name='l10n_br_fiscal.product.genre'
string='Fiscal Product Genre'
fiscal_type
Selection
company_dependent=True
selection=PRODUCT_FISCAL_TYPE
icms_origin
Selection
company_dependent=True
default=ICMS_ORIGIN_DEFAULT
selection=ICMS_ORIGIN
string='ICMS Origin'
ipi_control_seal_id
Many2one → l10n_br_fiscal.tax.ipi.control.seal
comodel_name='l10n_br_fiscal.tax.ipi.control.seal'
string='IPI Control Seal'
ipi_guideline_class_id
Many2one → l10n_br_fiscal.tax.ipi.guideline.class
comodel_name='l10n_br_fiscal.tax.ipi.guideline.class'
string='IPI Guideline Class'
national_taxation_code_id
Many2one → l10n_br_fiscal.national.taxation.code
comodel_name='l10n_br_fiscal.national.taxation.code'
string='National Taxation Code'
nbm_id
Many2one → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
index=True
string='NBM'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
index=True
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
default=_get_default_ncm_id
index=True
string='NCM'
operation_indicator_id
Many2one → l10n_br_fiscal.operation.indicator
comodel_name='l10n_br_fiscal.operation.indicator'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain="[('internal_type', '=', 'normal')]"
string='Service Type LC 166'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='product_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_product_rel'
string='Tax Definition'
tax_icms_or_issqn
Selection
default=TAX_DOMAIN_ICMS
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
type
Selection
ondelete={'product': 'set default'}
selection_add=[('product', 'Storable Product')]
uoe_factor
Float
default=1.0
string='Export UoM Factor'
uoe_id
Many2one → uom.uom
comodel_name='uom.uom'
related='ncm_id.uoe_id'
store=True
string='Export UoM'
uot_factor
Float
string='Tax UoM Factor'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
accountant_id
Many2one → res.partner
comodel_name='res.partner'
string='Accountant'
accounting_office
Many2one → res.partner
comodel_name='res.partner'
annual_revenue
Monetary
currency_field='currency_id'
anonymous_partner_id
Many2one → res.partner
comodel_name='res.partner'
help='Partner used to create anonymous fiscal documents'
string='Anonymous Partner'
cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
compute='_compute_address'
domain="[('internal_type', '=', 'normal'), ('id', 'not in', cnae_secondary_ids)]"
inverse='_inverse_cnae_main_id'
string='Main CNAE'
cnae_secondary_ids
Many2many → l10n_br_fiscal.cnae
column1='company_id'
column2='cnae_id'
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal'), ('id', '!=', cnae_main_id)]"
relation='res_company_fiscal_cnae_rel'
string='Secondary CNAE'
coefficient_r
Boolean
compute='_compute_simplified_tax'
readonly=True
store=True
coefficient_r_percent
Float
compute='_compute_simplified_tax'
readonly=True
store=True
string='Coefficient R (%)'
delivery_costs
Selection
default='line'
help='Define if costs of Insurance, Freight and Other Costs should be informed by Line or by Total.'
selection=[('line', 'By Line'), ('total', 'By Total')]
document_email_ids
One2many → l10n_br_fiscal.document.email
comodel_name='l10n_br_fiscal.document.email'
inverse_name='company_id'
string='Email Template Definition'
document_save_disk
Boolean
default=True
string='Save Documents to disk'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Default Document Type'
ibpt_api
Boolean
default=False
string='Use IBPT API'
ibpt_token
Char
ibpt_update_days
Integer
default=15
string='IBPT Token Updates'
icms_regulation_id
Many2one → l10n_br_fiscal.icms.regulation
comodel_name='l10n_br_fiscal.icms.regulation'
string='ICMS Regulation'
industry_type
Selection
default=INDUSTRY_TYPE_TRANSFORMATION
selection=INDUSTRY_TYPE
is_industry
Boolean
default=False
help='If your company is industry or ......'
legal_nature_id
Many2one → l10n_br_fiscal.legal.nature
comodel_name='l10n_br_fiscal.legal.nature'
compute='_compute_address'
inverse='_inverse_legal_nature_id'
string='Legal Nature'
payroll_amount
Monetary
currency_field='currency_id'
string='Last Period Payroll Amount'
piscofins_id
Many2one → l10n_br_fiscal.tax.pis.cofins
comodel_name='l10n_br_fiscal.tax.pis.cofins'
domain="[('piscofins_type', '=', 'company')]"
string='PIS/COFINS'
processador_edoc
Selection
default=PROCESSADOR_NENHUM
selection=PROCESSADOR
string='Processador documentos eletrônicos'
profit_calculation
Selection
default=PROFIT_CALCULATION_PRESUMED
selection=PROFIT_CALCULATION
ripi
Boolean
string='RIPI'
simplified_tax_id
Many2one → l10n_br_fiscal.simplified.tax
comodel_name='l10n_br_fiscal.simplified.tax'
compute='_compute_simplified_tax'
readonly=True
store=True
string='Simplified Tax'
simplified_tax_percent
Float
compute='_compute_simplified_tax'
digits='Fiscal Tax Percent'
store=True
simplified_tax_range_id
Many2one → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
compute='_compute_simplified_tax'
readonly=True
store=True
string='Simplified Tax Range'
tax_classification_id
Many2one → l10n_br_fiscal.tax.classification
comodel_name='l10n_br_fiscal.tax.classification'
domain=[('tax_ibs_id', '!=', False), ('tax_cbs_id', '!=', False)]
string='Default Tax Classification'
tax_cofins_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_WH)]
string='Default COFINS RET'
tax_csll_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL)]
string='Default CSLL'
tax_csll_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL_WH)]
string='Default CSLL RET'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='company_id'
string='Tax Definition'
tax_framework
Selection
compute='_compute_address'
default=TAX_FRAMEWORK_NORMAL
inverse='_inverse_tax_framework'
selection=TAX_FRAMEWORK
tax_icms_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', 'in', (TAX_DOMAIN_ICMS, TAX_DOMAIN_ICMS_SN))]
string='Default ICMS'
tax_inss_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS)]
string='Default INSS'
tax_inss_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS_WH)]
string='Default INSS RET'
tax_ipi_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Default IPI'
tax_irpj_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ)]
string='Default IRPJ'
tax_irpj_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ_WH)]
string='Default IRPJ RET'
tax_issqn_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN)]
string='Default ISSQN'
tax_issqn_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN_WH)]
string='Default ISSQN RET'
tax_pis_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_WH)]
string='Default PIS RET'
technical_support_id
Many2one → res.partner
comodel_name='res.partner'
string='Technical Support'
No public methods.
delivery_costs
Selection
readonly=False
related='company_id.delivery_costs'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
related='company_id.document_type_id'
string='Default Document Type'
ibpt_api
Boolean
readonly=False
related='company_id.ibpt_api'
string='Use IBPT API'
ibpt_token
Char
readonly=False
related='company_id.ibpt_token'
string='IBPT Token'
ibpt_update_days
Integer
readonly=False
related='company_id.ibpt_update_days'
string='IBPT Update'
module_l10n_br_cte
Boolean
string='CT-e'
module_l10n_br_mdfe
Boolean
string='MDF-e'
module_l10n_br_nfe
Boolean
string='NF-e/NFC-e'
module_l10n_br_nfse
Boolean
string='NFS-e'
No public methods.
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain="['|', ('state_from_ids', '=', id), ('state_to_ids', '=', id)]"
string='Tax Definitions'
No public methods.
city_id
Many2one
tracking=True
cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain=[('internal_type', '=', 'normal')]
string='Main CNAE'
cnae_secondary_ids
Many2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal'), ('id', '!=', cnae_main_id)]"
string='Secondary CNAEs'
cnpj_cpf
Char
tracking=True
fiscal_profile_id
Many2one → l10n_br_fiscal.partner.profile
comodel_name='l10n_br_fiscal.partner.profile'
default=_default_fiscal_profile_id
domain="[('is_company', '=', is_company)]"
inverse='_inverse_fiscal_profile'
string='Fiscal Partner Profile'
tracking=True
ind_final
Selection
default=FINAL_CUSTOMER_NO
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
tracking=True
ind_ie_dest
Selection
default=NFE_IND_IE_DEST_DEFAULT
required=True
selection=NFE_IND_IE_DEST
string='Contribuinte do ICMS'
tracking=True
inscr_est
Char
tracking=True
inscr_mun
Char
tracking=True
is_anonymous_consumer
Boolean
string='Anonymous Consumer'
tracking=True
is_company
Boolean
tracking=True
is_public_entity
Boolean
help='Indicates whether the entity in question is a public organization or government-related entity. It encompasses a range of entities such as municipal governments, state-owned enterprises (where the government is the largest shareholder), and other government-controlled organizations.'
string='Public Entity'
legal_nature_id
Many2one → l10n_br_fiscal.legal.nature
comodel_name='l10n_br_fiscal.legal.nature'
string='Legal Nature'
nif_motive_absence
Selection
default=False
selection=[('0', 'Not informed in the origin note'), ('1', 'Exemption from NIF'), ('2', 'NIF not required')]
string='NIF motive absence'
public_entity_type
Selection
selection=PUBLIC_ENTIRY_TYPE
string='Tipo de Entidade Governamental'
state_id
Many2one
tracking=True
tax_framework
Selection
default=TAX_FRAMEWORK_NORMAL
selection=TAX_FRAMEWORK
tracking=True
No public methods.
alternative_ids
One2many → uom.uom.alternative
comodel_name='uom.uom.alternative'
inverse_name='uom_id'
string='Alternative names'
code
Char
size=6
search(self, domain, *args, **kwargs)
code
Char
uom_id
Many2one → uom.uom
comodel_name='uom.uom'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-brazil |
| GIT | |
| GIT | https://github.com/OCA/l10n-brazil.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-brazil/tree/13.0/l10n_br_fiscal |
| VERSION | |
| VERSION | 3.1.0 |
| CATEGORY | |
| CATEGORY | Localisation |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | Yes |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Raphaël Valyi, Renato Lima, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Neto, Antônio Neto |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/l10n-brazil |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:34:11 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/l10n-brazil: - l10n_br_base odoo/odoo: - uom - base - product - base_setup - web - bus - web_tour - base_address_city - base_address_extended |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
erpbrasil.assinatura erpbrasil.base num2words |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
certificate_form |
l10n_br_fiscal.certificate.form | l10n_br_fiscal.certificate | form | New |
certificate_search |
l10n_br_fiscal.certificate.search | l10n_br_fiscal.certificate | search | New |
certificate_tree |
l10n_br_fiscal.certificate.tree | l10n_br_fiscal.certificate | tree | New |
cest_form |
l10n_br_fiscal.cest.form | l10n_br_fiscal.cest | form | New |
cest_search |
l10n_br_fiscal.cest.search | l10n_br_fiscal.cest | search | New |
cest_tree |
l10n_br_fiscal.cest.tree | l10n_br_fiscal.cest | tree | New |
cfop_form |
l10n_br_fiscal.cfop.form | l10n_br_fiscal.cfop | form | New |
cfop_search |
l10n_br_fiscal.cfop.search | l10n_br_fiscal.cfop | search | New |
cfop_tree |
l10n_br_fiscal.cfop.tree | l10n_br_fiscal.cfop | tree | New |
city_taxation_code_form_view |
city.taxation.code.form (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | form | New |
city_taxation_code_search_view |
city.taxation.code.search (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | search | New |
city_taxation_code_tree_view |
city.taxation.code.tree (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | tree | New |
cnae_form |
l10n_br_fiscal.cnae.form | l10n_br_fiscal.cnae | form | New |
cnae_search |
l10n_br_fiscal.cnae.search | l10n_br_fiscal.cnae | search | New |
cnae_tree |
l10n_br_fiscal.cnae.tree | l10n_br_fiscal.cnae | tree | New |
comment_form |
l10n_br_fiscal.comment.form | l10n_br_fiscal.comment | form | New |
comment_search |
l10n_br_fiscal.comment.search | l10n_br_fiscal.comment | search | New |
comment_tree |
l10n_br_fiscal.comment.tree | l10n_br_fiscal.comment | tree | New |
cst_form |
l10n_br_fiscal.cst.form | l10n_br_fiscal.cst | form | New |
cst_search |
l10n_br_fiscal.cst.search | l10n_br_fiscal.cst | search | New |
cst_tree |
l10n_br_fiscal.cst.tree | l10n_br_fiscal.cst | tree | New |
dfe_documents_tree |
l10n_br_fiscal.dfe.nfe.tree | l10n_br_fiscal.document | tree | Inherits l10n_br_fiscal.document_tree |
dfe_form |
l10n_br_fiscal.dfe.form | l10n_br_fiscal.dfe | form | New |
dfe_manifestacao_tree |
l10n_br_fiscal.dfe.manifestacao.tree | l10n_br_fiscal.mdfe | field | Inherits l10n_br_fiscal.view_l10n_br_fiscal_mdfe_tree |
dfe_search |
l10n_br_fiscal.dfe.search | l10n_br_fiscal.dfe | search | New |
dfe_tree |
l10n_br_fiscal.dfe.tree | l10n_br_fiscal.dfe | tree | New |
document_cancel_wizard_form |
l10n_br_fiscal.document.cancel.wizard | l10n_br_fiscal.document.cancel.wizard | form | New |
document_correction_wizard_form |
l10n_br_fiscal.document.correction.wizard.form | l10n_br_fiscal.document.correction.wizard | form | New |
document_email_form |
l10n_br_fiscal.document.email.form | l10n_br_fiscal.document.email | form | New |
document_email_tree |
l10n_br_fiscal.document.email.tree | l10n_br_fiscal.document.email | tree | New |
document_fiscal_line_mixin_form |
l10n_br_fiscal.document.line.mixin.form | l10n_br_fiscal.document.line | form | New |
document_form |
l10n_br_fiscal.document.form | l10n_br_fiscal.document | form | New |
document_line_form |
l10n_br_fiscal.document.line.form | l10n_br_fiscal.document.line | form | New |
document_related_form |
l10n_br_fiscal.document.related.form | l10n_br_fiscal.document.related | form | New |
document_related_tree |
l10n_br_fiscal.document.related.tree | l10n_br_fiscal.document.related | tree | New |
document_search |
l10n_br_fiscal.document.search | l10n_br_fiscal.document | search | New |
document_serie_form |
l10n_br_fiscal.document.serie.form | l10n_br_fiscal.document.serie | form | New |
document_serie_tree |
l10n_br_fiscal.document.serie.tree | l10n_br_fiscal.document.serie | tree | New |
document_tree |
l10n_br_fiscal.document.tree | l10n_br_fiscal.document | tree | New |
document_type_form |
l10n_br_fiscal.document.type.form | l10n_br_fiscal.document.type | form | New |
document_type_tree |
l10n_br_fiscal.document.type.tree | l10n_br_fiscal.document.type | tree | New |
event_form |
l10n_br_fiscal.event.form | l10n_br_fiscal.event | form | New |
event_search |
l10n_br_fiscal.event.search | l10n_br_fiscal.event | search | New |
event_tree |
l10n_br_fiscal.event.tree | l10n_br_fiscal.event | tree | New |
fiscal_closing_form |
l10n_br_fiscal.closing.form | l10n_br_fiscal.closing | form | New |
fiscal_closing_tree |
l10n_br_fiscal.closing.tree | l10n_br_fiscal.closing | tree | New |
fiscal_res_company_form |
l10n_br_fiscal.res.company.form | res.company | notebook | Inherits base.view_company_form |
invalidate_number_form |
l10n_br_fiscal.invalidate.number.form | l10n_br_fiscal.invalidate.number | form | New |
invalidate_number_search |
l10n_br_fiscal.invalidate.number.search | l10n_br_fiscal.invalidate.number | search | New |
invalidate_number_tree |
l10n_br_fiscal.invalidate.number.tree | l10n_br_fiscal.invalidate.number | tree | New |
invalidate_number_wizard |
l10n_br_fiscal.invalidate.number.wizard | l10n_br_fiscal.invalidate.number.wizard | form | New |
l10n_br_fiscal_res_config_settings_form |
l10n_br_fiscal.res.config.settings.view.form | res.config.settings | xpath | Inherits base.res_config_settings_view_form |
nbm_form |
l10n_br_fiscal.nbm.form | l10n_br_fiscal.nbm | form | New |
nbm_kanban |
l10n_br_fiscal.nbm.kanban | l10n_br_fiscal.ncm | kanban | New |
nbm_search |
l10n_br_fiscal.nbm.search | l10n_br_fiscal.nbm | search | New |
nbm_tree |
l10n_br_fiscal.nbm.tree | l10n_br_fiscal.nbm | tree | New |
nbs_form |
l10n_br_fiscal.nbs.form | l10n_br_fiscal.nbs | form | New |
nbs_kanban |
l10n_br_fiscal.nbs.kanban | l10n_br_fiscal.nbs | kanban | New |
nbs_search |
l10n_br_fiscal.nbs.search | l10n_br_fiscal.nbs | search | New |
nbs_tree |
l10n_br_fiscal.nbs.tree | l10n_br_fiscal.nbs | tree | New |
ncm_form |
l10n_br_fiscal.ncm.form | l10n_br_fiscal.ncm | form | New |
ncm_kanban |
l10n_br_fiscal.ncm.kanban | l10n_br_fiscal.ncm | kanban | New |
ncm_search |
l10n_br_fiscal.ncm.search | l10n_br_fiscal.ncm | search | New |
ncm_tree |
l10n_br_fiscal.ncm.tree | l10n_br_fiscal.ncm | tree | New |
operation_dashboard_kanban |
l10n_br_fiscal.operation.dashboard.kanban | l10n_br_fiscal.operation | kanban | New |
operation_form |
l10n_br_fiscal.operation.form | l10n_br_fiscal.operation | form | New |
operation_line_form |
l10n_br_fiscal.operation.line.form | l10n_br_fiscal.operation.line | form | New |
operation_line_tree |
l10n_br_fiscal.operation.line.tree | l10n_br_fiscal.operation.line | tree | New |
operation_search |
l10n_br_fiscal.operation.search | l10n_br_fiscal.operation | search | New |
operation_tree |
l10n_br_fiscal.operation.tree | l10n_br_fiscal.operation | tree | New |
partner_form |
l10n_br_fiscal.partner.form | res.partner | group | Inherits l10n_br_base.l10n_br_base_partner_form |
partner_profile_form |
l10n_br_fiscal.partner.profile.form | l10n_br_fiscal.partner.profile | form | New |
partner_profile_search |
l10n_br_fiscal.partner.profile.search | l10n_br_fiscal.partner.profile | search | New |
partner_profile_tree |
l10n_br_fiscal.partner.profile.tree | l10n_br_fiscal.partner.profile | tree | New |
product_form |
l10n_br_fiscal.product.product.form | product.product | xpath | Inherits product.product_normal_form_view |
product_genre_form |
l10n_br_fiscal.product.genre.form | l10n_br_fiscal.product.genre | form | New |
product_genre_search |
l10n_br_fiscal.product.genre.search | l10n_br_fiscal.product.genre | search | New |
product_genre_tree |
l10n_br_fiscal.product.genre.tree | l10n_br_fiscal.product.genre | tree | New |
product_search |
l10n_br_fiscal.product.product.search | product.product | field | Inherits product.product_search_form_view |
product_template_form |
l10n_br_fiscal.product.template.form | product.template | xpath | Inherits product.product_template_only_form_view |
product_template_search |
l10n_br_fiscal.product.template.search | product.template | field | Inherits product.product_template_search_view |
product_template_tree |
product.template.tree | product.template | tree | New |
product_tree |
product.product.tree | product.product | tree | New |
service_type_form |
l10n_br_fiscal.service.type.form | l10n_br_fiscal.service.type | form | New |
service_type_kanban |
l10n_br_fiscal.service.type.kanban | l10n_br_fiscal.service.type | kanban | New |
service_type_search |
l10n_br_fiscal.service.type.search | l10n_br_fiscal.service.type | search | New |
service_type_tree |
l10n_br_fiscal.service.type.tree | l10n_br_fiscal.service.type | tree | New |
simplified_tax_form |
l10n_br_fiscal.simplified.tax.form | l10n_br_fiscal.simplified.tax | form | New |
simplified_tax_range_tree |
l10n_br_fiscal.simplified.tax.range.tree | l10n_br_fiscal.simplified.tax.range | tree | New |
simplified_tax_tree |
l10n_br_fiscal.simplified.tax.tree | l10n_br_fiscal.simplified.tax | tree | New |
source_document_tree |
source.document.tree | l10n_br_fiscal.subsequent.document | tree | New |
subsequent_document_tree |
l10n_br_fiscal.subsequent.document.tree | l10n_br_fiscal.subsequent.document | tree | New |
subsequent_operation_tree |
l10n_br_fiscal.subsequent.operation.tree | l10n_br_fiscal.subsequent.operation | tree | New |
tax_definition_form |
l10n_br_fiscal.tax.definition.form | l10n_br_fiscal.tax.definition | form | New |
tax_definition_icms_tree |
l10n_br_fiscal.tax.definition.icms.tree | l10n_br_fiscal.tax.definition | tree | New |
tax_definition_tree |
l10n_br_fiscal.tax.definition.tree | l10n_br_fiscal.tax.definition | tree | New |
tax_estimate_tree |
l10n_br_fiscal.tax.estimate.tree | l10n_br_fiscal.tax.estimate | tree | New |
tax_form |
l10n_br_fiscal.tax.form | l10n_br_fiscal.tax | form | New |
tax_group_form |
l10n_br_fiscal.tax.group.form | l10n_br_fiscal.tax.group | form | New |
tax_group_search |
l10n_br_fiscal.tax.group.search | l10n_br_fiscal.tax.group | search | New |
tax_group_tree |
l10n_br_fiscal.tax.group.tree | l10n_br_fiscal.tax.group | tree | New |
tax_icms_regulation_form |
l10n_br_fiscal.icms.regulation.form | l10n_br_fiscal.icms.regulation | form | New |
tax_icms_regulation_search |
l10n_br_fiscal.icms.regulation.search | l10n_br_fiscal.icms.regulation | search | New |
tax_icms_regulation_tree |
l10n_br_fiscal.icms.regulation.tree | l10n_br_fiscal.icms.regulation | tree | New |
tax_icms_relief_form |
l10n_br_fiscal.icms.relief.form | l10n_br_fiscal.icms.relief | form | New |
tax_icms_relief_search |
l10n_br_fiscal.icms.relief.search | l10n_br_fiscal.icms.relief | search | New |
tax_icms_relief_tree |
l10n_br_fiscal.icms.relief.tree | l10n_br_fiscal.icms.relief | tree | New |
tax_ipi_control_seal_form |
l10n_br_fiscal.tax.ipi.control.seal.form | l10n_br_fiscal.tax.ipi.control.seal | form | New |
tax_ipi_control_seal_search |
l10n_br_fiscal.tax.ipi.control.seal.search | l10n_br_fiscal.tax.ipi.guideline.class | search | New |
tax_ipi_control_seal_tree |
l10n_br_fiscal.tax.ipi.control.seal.tree | l10n_br_fiscal.tax.ipi.control.seal | tree | New |
tax_ipi_guideline_class_form |
l10n_br_fiscal.tax.ipi.guideline.class.form | l10n_br_fiscal.tax.ipi.guideline.class | form | New |
tax_ipi_guideline_class_search |
l10n_br_fiscal.tax.ipi.guideline.class.search | l10n_br_fiscal.tax.ipi.guideline.class | search | New |
tax_ipi_guideline_class_tree |
l10n_br_fiscal.tax.ipi.guideline.class.tree | l10n_br_fiscal.tax.ipi.guideline.class | tree | New |
tax_ipi_guideline_form |
l10n_br_fiscal.tax.ipi.guideline.form | l10n_br_fiscal.tax.ipi.guideline | form | New |
tax_ipi_guideline_search |
l10n_br_fiscal.tax.ipi.guideline.search | l10n_br_fiscal.tax.ipi.guideline | search | New |
tax_ipi_guideline_tree |
l10n_br_fiscal.tax.ipi.guideline.tree | l10n_br_fiscal.tax.ipi.guideline | tree | New |
tax_pis_cofins_base_form |
l10n_br_fiscal.tax.pis.cofins.base.form | l10n_br_fiscal.tax.pis.cofins.base | form | New |
tax_pis_cofins_base_search |
l10n_br_fiscal.tax.pis.cofins.base.search | l10n_br_fiscal.tax.pis.cofins.base | search | New |
tax_pis_cofins_base_tree |
l10n_br_fiscal.tax.pis.cofins.base.tree | l10n_br_fiscal.tax.pis.cofins.base | tree | New |
tax_pis_cofins_credit_form |
l10n_br_fiscal.tax.pis.cofins.credit.form | l10n_br_fiscal.tax.pis.cofins.credit | form | New |
tax_pis_cofins_credit_search |
l10n_br_fiscal.tax.pis.cofins.credit.search | l10n_br_fiscal.tax.pis.cofins.credit | search | New |
tax_pis_cofins_credit_tree |
l10n_br_fiscal.tax.pis.cofins.credit.tree | l10n_br_fiscal.tax.pis.cofins.credit | tree | New |
tax_pis_cofins_form |
l10n_br_fiscal.pis.cofins.tax.form | l10n_br_fiscal.tax.pis.cofins | form | New |
tax_pis_cofins_search |
l10n_br_fiscal.tax.search | l10n_br_fiscal.tax.pis.cofins | search | New |
tax_pis_cofins_tree |
l10n_br_fiscal.tax.pis.cofins.tree | l10n_br_fiscal.tax.pis.cofins | tree | New |
tax_search |
l10n_br_fiscal.tax.search | l10n_br_fiscal.tax | search | New |
tax_tree |
l10n_br_fiscal.tax.tree | l10n_br_fiscal.tax | tree | New |
uom_uom_form_view |
uom.uom.form (in l10n_br_fiscal) | uom.uom | field | Inherits uom.product_uom_form_view |
uom_uom_tree_view |
uom.uom.tree (in l10n_br_fiscal) | uom.uom | field | Inherits uom.product_uom_tree_view |
view_dfe_xml_tree |
dfe.xml.tree | l10n_br_fiscal.dfe_xml | tree | New |
view_l10n_br_fiscal_mdfe_filter |
l10n_br_fiscal_mdfe.select | l10n_br_fiscal.mdfe | search | New |
view_l10n_br_fiscal_mdfe_form |
l10n_br_fiscal_mdfe.form | l10n_br_fiscal.mdfe | form | New |
view_l10n_br_fiscal_mdfe_tree |
l10n_br_fiscal_mdfe.tree | l10n_br_fiscal.mdfe | tree | New |
wizard_document_status_form |
wizard.l10n_br_fiscal.base.wizard.mixin (in l10n_br_fiscal) | l10n_br_fiscal.document.status.wizard | form | New |
amount_freight_value
Float
amount_insurance_value
Float
amount_other_value
Float
set_invoice_costs_ratio(self)
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
string='Fiscal Document'
document_key
Char
string='Document Key'
document_number
Char
string='Document Number'
document_serie
Char
string='Document Serie'
document_status
Text
readonly=True
string='Status'
document_type
Char
related='document_type_id.code'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Document Type'
event_id
Many2one → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
string='Fiscal Event'
justification
Text
size=255
string='Justification'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
rps_number
Char
string='RPS Number'
state
Selection
default='init'
readonly=True
selection=[('init', 'init'), ('confirm', 'confirm'), ('done', 'done')]
string='State'
button_back(self)
default_get(self, fields_list)
active
Boolean
default=True
string='Active'
date_expiration
Datetime
readonly=True
store=True
string='Expiration Date'
date_start
Datetime
readonly=True
store=True
string='Start Date'
file
Binary
prefetch=True
required=True
string='file'
file_name
Char
compute='_compute_name'
size=255
string='File Name'
is_valid
Boolean
compute='_compute_is_valid'
string='Is Valid?'
issuer_name
Char
readonly=True
size=120
store=True
string='Issuer'
name
Char
compute='_compute_name'
readonly=True
string='Name'
owner_cnpj_cpf
Char
readonly=True
size=18
store=True
string='CNPJ/CPF'
owner_name
Char
readonly=True
size=120
store=True
string='Owner'
password
Char
required=True
string='Password'
subtype
Selection
default=CERTIFICATE_SUBTYPE_DEFAULT
required=True
selection=CERTIFICATE_SUBTYPE
string='Document SubType'
type
Selection
default=CERTIFICATE_TYPE_DEFAULT
required=True
selection=CERTIFICATE_TYPE
string='Certificate Type'
create(self, values)
write(self, values)
code
Char
size=9
code_unmasked
Char
size=7
item
Char
required=True
string='Item'
name
Text
index=True
required=True
string='Name'
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='cest_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
readonly=True
relation='fiscal_cest_ncm_rel'
string='NCMs'
ncms
Char
string='NCM'
product_tmpl_ids
One2many
inverse_name='cest_id'
segment
Selection
required=True
selection=CEST_SEGMENT
string='Segment'
action_search_ncms(self)
create(self, values)
write(self, values)
account_move
Boolean
default=True
string='Account Move?'
assent_move
Boolean
default=False
string='Assent Move?'
cfop_inverse_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('destination', '=', destination),('type_in_out', '!=', type_in_out)]"
string='Inverse CFOP'
cfop_return_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('destination', '=', destination),('type_in_out', '!=', type_in_out),('type_move', 'in', ('sale_refund', 'purchase_refund', 'return_out', 'return_in'))]"
string='Return CFOP'
code
Char
size=4
destination
Selection
help='Identifies the operation destination.'
required=True
selection=CFOP_DESTINATION
string='Destination'
finance_move
Boolean
default=True
string='Finance Moves?'
small_name
Char
required=True
size=32
string='Small Name'
stock_move
Boolean
default=True
string='Stock Moves?'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='cfop_id'
string='Tax Definition'
type_in_out
Selection
default=FISCAL_OUT
required=True
selection=FISCAL_IN_OUT
string='Type'
type_move
Selection
default=CFOP_TYPE_MOVE_DEFAULT
required=True
selection=CFOP_TYPE_MOVE
string='Type Move'
No public methods.
city_id
Many2one → res.city
comodel_name='res.city'
domain="[('state_id', '=', state_id)]"
string='City'
cnae_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='CNAE Code'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain=[('internal_type', '=', 'normal')]
string='Service Type'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='State'
No public methods.
attachment_ids
Many2many → ir.attachment
comodel_name='ir.attachment'
string='Other accountant files'
block
Boolean
help='Avoid new fiscal moves'
string='Block period'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
document_cfe_ids
One2many → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
domain=[('document_type', '=', MODELO_FISCAL_CFE)]
inverse_name='close_id'
string='CFe Documents'
document_cfeecf_ids
One2many → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
domain=[('document_type', '=', MODELO_FISCAL_CUPOM_FISCAL_ECF)]
inverse_name='close_id'
string='CFe ECF Documents'
document_nfce_ids
One2many → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
domain=[('document_type', '=', MODELO_FISCAL_NFCE)]
inverse_name='close_id'
string='NFCe Documents'
document_nfe_ids
One2many → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
domain=[('document_type', '=', MODELO_FISCAL_NFE)]
inverse_name='close_id'
string=' NFe Documents'
document_nfse_ids
One2many → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
domain=[('document_type', '=', MODELO_FISCAL_NFSE)]
inverse_name='close_id'
string='NFSe Documents'
document_rl_ids
One2many → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
domain=[('document_type', '=', MODELO_FISCAL_RL)]
inverse_name='close_id'
string='RL Documents'
export_type
Selection
default='period'
required=True
selection=[('period', 'Por período'), ('all', 'Tudo')]
string='Export'
file_cofins
Binary
string='COFINS'
file_csll
Binary
string='CSLL'
file_honorarios
Binary
string='Accountant Fee'
file_icms
Binary
string='ICMS'
file_icms_st
Binary
string='ICMS ST'
file_ipi
Binary
string='IPI'
file_irpj
Binary
string='IRPJ'
file_iss
Binary
string='ISS'
file_name
Char
compute='_compute_name'
index=True
size=11
store=True
string='File Name'
file_pis
Binary
string='PIS'
file_simples
Binary
string='Simples'
group_folder
Boolean
string='Group documents'
include_pdf_file
Boolean
string='Include PDF files'
month
Char
index=True
size=2
string='Month'
name
Char
compute='_compute_name'
index=True
size=7
store=True
string='Name'
notes
Text
string='Accountant notes'
raiz
Char
default=False
string='Folder structure path'
state
Selection
default='draft'
readonly=True
selection=[('draft', 'Draft'), ('open', 'Open'), ('closed', 'Closed')]
string='state'
year
Char
index=True
string='Year'
zip_file
Binary
readonly=True
string='Zip Files'
action_close(self)
action_export(self)
child_ids
One2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
inverse_name='parent_id'
string='Children CNAEs'
code
Char
size=16
internal_type
Selection
default='normal'
required=True
selection=[('view', 'View'), ('normal', 'Normal')]
string='Internal Type'
parent_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='Parent CNAE'
version
Char
required=True
size=16
string='Version'
No public methods.
comment
Text
required=True
string='Comment'
comment_type
Selection
default=COMMENT_TYPE_COMMERCIAL
required=True
selection=COMMENT_TYPE
string='Comment Type'
date_begin
Date
string='Initial Date'
date_end
Date
string='Final Date'
name
Char
required=True
string='Name'
object
Selection
required=True
selection=FISCAL_COMMENT_OBJECTS
string='Object'
object_id
Reference
ondelete='set null'
selection=FISCAL_COMMENT_OBJECTS
string='Reference'
sequence
Integer
default=10
string='Sequence'
test_comment
Text
string='Test Comment'
action_test_message(self)
compute_message(self, vals, manual_comment=None)
format_amount(self, env, amount, currency)
name_get(self)
code
Char
size=4
cst_type
Selection
required=True
selection=FISCAL_IN_OUT_ALL
string='Type'
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
required=True
string='Fiscal Tax Group'
No public methods.
code
Char
index=True
required=True
string='Code'
code_unmasked
Char
compute='_compute_code_unmasked'
index=True
store=True
string='Unmasked Code'
name
Text
index=True
required=True
string='Name'
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
name_get(self)
estimate_tax_imported
Float
compute='_compute_amount'
digits='Fiscal Tax Percent'
readonly=True
store=True
string='Estimate Tax Imported Percent'
estimate_tax_national
Float
compute='_compute_amount'
digits='Fiscal Tax Percent'
readonly=True
store=True
string='Estimate Tax Nacional Percent'
tax_estimate_ids
One2many → l10n_br_fiscal.tax.estimate
comodel_name='l10n_br_fiscal.tax.estimate'
readonly=True
string='Estimate Taxes'
action_ibpt_inquiry(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
product_tmpl_ids
One2many → product.template
comodel_name='product.template'
readonly=True
string='Products'
product_tmpl_qty
Integer
compute='_compute_product_tmpl_infos'
string='Products Quantity'
No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
imported_dfe_ids
One2many → l10n_br_fiscal.mdfe
comodel_name='l10n_br_fiscal.mdfe'
inverse_name='dfe_id'
string='Manifestações do Destinatário Importadas'
imported_document_ids
One2many → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
inverse_name='dfe_id'
string='Imported Documents'
last_nsu
Char
default='0'
size=25
string='Last NSU'
last_query
Datetime
string='Last query'
recipient_xml_ids
One2many → l10n_br_fiscal.dfe_xml
comodel_name='l10n_br_fiscal.dfe_xml'
inverse_name='dfe_id'
string='XML Documents'
use_cron
Boolean
default=False
help='If activated, allows new manifestations to be automatically searched with a Cron'
string='Download new documents automatically'
action_manage_manifestations(self)
name_get(self)
dfe_id
Many2one → l10n_br_fiscal.dfe
comodel_name='l10n_br_fiscal.dfe'
string='DF-e Consult'
xml
Char
size=5000
string='XML'
xml_type
Selection
string='XML Type'
args: [('0', 'Envio'), ('1', 'Resposta'), ('2', 'Resposta-LoteDistDFeInt'), ('3', 'Resposta-LoteDistDFeInt-DocZip(NFe)')]
No public methods.
active
Boolean
default=True
string='Active'
close_id
Many2one → l10n_br_fiscal.closing
comodel_name='l10n_br_fiscal.closing'
string='Close ID'
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
correction_event_ids
One2many → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
copy=False
domain=[('type', '=', '14')]
inverse_name='document_id'
readonly=True
string='Correction Events'
date_in_out
Datetime
copy=False
string='Date Move'
dfe_id
Many2one → l10n_br_fiscal.dfe
comodel_name='l10n_br_fiscal.dfe'
string='DF-e Consult'
document_date
Datetime
copy=False
string='Document Date'
document_electronic
Boolean
related='document_type_id.electronic'
store=True
string='Electronic?'
document_key
Char
copy=False
index=True
string='Key'
document_number
Char
copy=False
index=True
string='Document Number'
document_related_ids
One2many → l10n_br_fiscal.document.related
comodel_name='l10n_br_fiscal.document.related'
inverse_name='document_id'
string='Fiscal Document Related'
document_serie
Char
string='Serie Number'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
domain="[('active', '=', True),('document_type_id', '=', document_type_id)]"
document_subsequent_generated
Boolean
compute='_compute_document_subsequent_generated'
default=False
string='Subsequent documents generated?'
document_subsequent_ids
One2many → l10n_br_fiscal.subsequent.document
comodel_name='l10n_br_fiscal.subsequent.document'
copy=True
inverse_name='source_document_id'
document_type
Char
related='document_type_id.code'
store=True
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
edoc_purpose
Selection
default='1'
selection=[('1', 'Normal'), ('2', 'Complementar'), ('3', 'Ajuste'), ('4', 'Devolução de mercadoria')]
string='Finalidade'
event_ids
One2many → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
copy=False
inverse_name='document_id'
readonly=True
string='Events'
fiscal_operation_id
Many2one
domain="[('state', '=', 'approved'), '|', ('fiscal_operation_type', '=', fiscal_operation_type), ('fiscal_operation_type', '=', 'all')]"
fiscal_operation_type
Selection
store=True
line_ids
One2many → l10n_br_fiscal.document.line
comodel_name='l10n_br_fiscal.document.line'
copy=True
inverse_name='document_id'
string='Document Lines'
name
Char
compute='_compute_name'
index=True
store=True
operation_name
Char
copy=False
string='Operation Name'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
partner_shipping_id
Many2one → res.partner
comodel_name='res.partner'
string='Shipping Address'
rps_number
Char
copy=False
index=True
string='RPS Number'
state
Selection
related='state_edoc'
string='State'
user_id
Many2one → res.users
comodel_name='res.users'
default=<expr>
index=True
string='User'
action_create_return(self)
action_send_email(self)
cancel_edoc(self)
create(self, values)
name_get(self)
send_email(self, state)
unlink(self)
No new fields.
Public methods (2)do_cancel(self)
doit(self)
No new fields.
Public methods (1)doit(self)
authorization_date
Datetime
readonly=True
related='authorization_event_id.protocol_date'
string='Authorization Date'
authorization_event_id
Many2one → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
copy=False
readonly=True
string='Authorization Event'
authorization_file_id
Many2one → ir.attachment
comodel_name='ir.attachment'
ondelete='restrict'
readonly=True
related='authorization_event_id.file_response_id'
string='Authorization File XML'
authorization_protocol
Char
readonly=True
related='authorization_event_id.protocol_number'
string='Authorization Protocol'
cancel_date
Datetime
readonly=True
related='cancel_event_id.protocol_date'
string='Cancel Date'
cancel_event_id
Many2one → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
copy=False
string='Cancel Event'
cancel_file_id
Many2one → ir.attachment
comodel_name='ir.attachment'
ondelete='restrict'
readonly=True
related='cancel_event_id.file_response_id'
string='Cancel File XML'
cancel_protocol_number
Char
readonly=True
related='cancel_event_id.protocol_number'
string='Cancel Protocol Number'
document_version
Char
default='4.00'
readonly=True
string='Version'
file_report_id
Many2one → ir.attachment
comodel_name='ir.attachment'
copy=False
ondelete='restrict'
readonly=True
string='Document Report'
invalidate_date
Datetime
readonly=True
related='invalidate_event_id.protocol_date'
string='Invalidate Date'
invalidate_event_id
Many2one → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
copy=False
string='Invalidate Event'
invalidate_file_id
Many2one → ir.attachment
comodel_name='ir.attachment'
ondelete='restrict'
readonly=True
related='invalidate_event_id.file_response_id'
string='Invalidate File XML'
invalidate_protocol_number
Char
readonly=True
related='invalidate_event_id.protocol_number'
string='Invalidate Protocol Number'
is_edoc_printed
Boolean
readonly=True
string='Is Printed?'
issuer
Selection
default=DOCUMENT_ISSUER_COMPANY
required=True
selection=DOCUMENT_ISSUER
string='Issuer'
send_file_id
Many2one → ir.attachment
comodel_name='ir.attachment'
ondelete='restrict'
readonly=True
related='authorization_event_id.file_request_id'
string='Send Document File XML'
status_code
Char
copy=False
string='Status Code'
status_description
Char
compute='_compute_status_description'
copy=False
string='Status Description'
status_name
Char
copy=False
string='Status Name'
make_pdf(self)
serialize(self)
view_pdf(self)
view_xml(self)
active
Boolean
default=True
string='Active'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
help='Select the type of document that will be applied to the email templates definitions.'
string='Fiscal Document Type'
email_template_id
Many2one → mail.template
comodel_name='mail.template'
domain=[('model', '=', 'l10n_br_fiscal.document')]
help='Select the email template that will be sent when this document state change.'
required=True
string='Fiscal Document E-mail Template'
issuer
Selection
default=DOCUMENT_ISSUER_COMPANY
required=True
selection=DOCUMENT_ISSUER
string='Issuer'
name
Char
compute='_compute_name'
copy=False
readonly=True
store=True
string='Name'
state_edoc
Selection
copy=False
index=True
selection=SITUACAO_EDOC
string='Situação e-doc'
No public methods.
company_city_id
Many2one → res.city
comodel_name='res.city'
related='company_id.city_id'
string='Company City'
company_cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
related='company_id.cnae_main_id'
string='Company Main CNAE'
company_cnpj_cpf
Char
related='company_id.cnpj_cpf'
string='Company CNPJ'
company_country_id
Many2one → res.country
comodel_name='res.country'
related='company_id.country_id'
string='Company Country'
company_district
Char
related='company_id.district'
string='Company District'
company_id
Many2one → res.company
comodel_name='res.company'
company_inscr_est
Char
related='company_id.inscr_est'
string='Company State Tax Number'
company_inscr_mun
Char
related='company_id.inscr_mun'
string='Company Municipal Tax Number'
company_legal_name
Char
related='company_id.legal_name'
string='Company Legal Name'
company_name
Char
related='company_id.name'
size=128
string='Company Name'
company_number
Char
related='company_id.street_number'
string='Company Number'
company_phone
Char
related='company_id.phone'
string='Company Phone'
company_state_id
Many2one → res.country.state
comodel_name='res.country.state'
related='company_id.state_id'
string='Company State'
company_street
Char
related='company_id.street'
string='Company Street'
company_street2
Char
related='company_id.street2'
string='Company Street2'
company_suframa
Char
related='company_id.suframa'
string='Company Suframa'
company_tax_framework
Selection
related='company_id.tax_framework'
string='Company Tax Framework'
company_zip
Char
related='company_id.zip'
string='Company ZIP'
partner_city_id
Many2one → res.city
comodel_name='res.city'
related='partner_id.city_id'
string='Partner City'
partner_cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
related='partner_id.cnae_main_id'
string='Main CNAE'
partner_cnpj_cpf
Char
related='partner_id.cnpj_cpf'
string='CNPJ'
partner_country_id
Many2one → res.country
comodel_name='res.country'
related='partner_id.country_id'
string='Partner Country'
partner_district
Char
related='partner_id.district'
string='Partner District'
partner_id
Many2one → res.partner
comodel_name='res.partner'
partner_ind_ie_dest
Selection
related='partner_id.ind_ie_dest'
string='Contribuinte do ICMS'
partner_inscr_est
Char
related='partner_id.inscr_est'
string='State Tax Number'
partner_inscr_mun
Char
related='partner_id.inscr_mun'
string='Municipal Tax Number'
partner_is_company
Boolean
related='partner_id.is_company'
string='Partner Is Company?'
partner_legal_name
Char
related='partner_id.legal_name'
string='Legal Name'
partner_name
Char
related='partner_id.name'
string='Partner Name'
partner_number
Char
related='partner_id.street_number'
string='Partner Number'
partner_phone
Char
related='partner_id.phone'
string='Partner Phone'
partner_state_id
Many2one → res.country.state
comodel_name='res.country.state'
related='partner_id.state_id'
string='Partner State'
partner_street
Char
related='partner_id.street'
string='Partner Street'
partner_street2
Char
related='partner_id.street2'
string='Partner Street2'
partner_suframa
Char
related='partner_id.suframa'
string='Suframa'
partner_tax_framework
Selection
related='partner_id.tax_framework'
string='Tax Framework'
partner_zip
Char
related='partner_id.zip'
string='Partner Zip'
processador_edoc
Selection
related='company_id.processador_edoc'
No public methods.
active
Boolean
default=True
string='Active'
amount_fiscal
Monetary
compute='_compute_amounts'
string='Amount Fiscal'
amount_tax
Monetary
compute='_compute_amounts'
string='Amount Tax'
amount_total
Monetary
compute='_compute_amounts'
string='Amount Total'
amount_untaxed
Monetary
compute='_compute_amounts'
string='Amount Untaxed'
company_id
Many2one → res.company
comodel_name='res.company'
related='document_id.company_id'
store=True
string='Company'
currency_id
Many2one → res.currency
comodel_name='res.currency'
related='company_id.currency_id'
string='Currency'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
ondelete='cascade'
string='Document'
fiscal_operation_id
Many2one
domain=<expr>
name
Text
string='Name'
partner_id
Many2one
related='document_id.partner_id'
store=True
product_id
Many2one → product.product
comodel_name='product.product'
string='Product'
tax_framework
Selection
related='company_id.tax_framework'
string='Tax Framework'
unlink(self)
additional_data
Char
string='Additional Data'
amount_fiscal
Monetary
compute='_compute_amounts'
string='Amount Fiscal'
amount_tax
Monetary
compute='_compute_amounts'
string='Amount Tax'
amount_tax_included
Monetary
string='Amount Tax Included'
amount_tax_not_included
Monetary
string='Amount Tax not Included'
amount_tax_withholding
Monetary
string='(-) Amount Tax Withholding'
amount_taxed
Monetary
compute='_compute_amounts'
string='Amount Taxed'
amount_total
Monetary
compute='_compute_amounts'
string='Amount Total'
amount_untaxed
Monetary
compute='_compute_amounts'
string='Amount Untaxed'
cest_id
Many2one → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='CEST'
cfop_destination
Selection
related='cfop_id.destination'
string='CFOP Destination'
cfop_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type)]"
string='CFOP'
city_taxation_code_id
Many2one → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
string='City Taxation Code'
cofins_base
Monetary
string='COFINS Base'
cofins_base_id
Many2one → l10n_br_fiscal.tax.pis.cofins.base
comodel_name='l10n_br_fiscal.tax.pis.cofins.base'
string='COFINS Base Code'
cofins_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='COFINS Base Type'
cofins_credit_id
Many2one → l10n_br_fiscal.tax.pis.cofins.credit
comodel_name='l10n_br_fiscal.tax.pis.cofins.credit'
string='COFINS Credit Code'
cofins_cst_code
Char
related='cofins_cst_id.code'
store=True
string='COFINS CST Code'
cofins_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'cofins')]"
string='CST COFINS'
cofins_percent
Float
string='COFINS %'
cofins_reduction
Float
string='COFINS % Reduction'
cofins_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS)]
string='Tax COFINS'
cofins_value
Monetary
string='COFINS Value'
cofins_wh_base
Monetary
string='COFINS RET Base'
cofins_wh_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='COFINS WH Base Type'
cofins_wh_percent
Float
string='COFINS RET %'
cofins_wh_reduction
Float
string='COFINS RET % Reduction'
cofins_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_WH)]
string='Tax COFINS RET'
cofins_wh_value
Monetary
string='COFINS RET Value'
cofinsst_base
Monetary
string='COFINS ST Base'
cofinsst_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='COFINS ST Base Type'
cofinsst_cst_code
Char
related='cofinsst_cst_id.code'
store=True
string='COFINS ST CST Code'
cofinsst_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'cofinsst')]"
string='CST COFINS ST'
cofinsst_percent
Float
string='COFINS ST %'
cofinsst_reduction
Float
string='COFINS ST % Reduction'
cofinsst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_ST)]
string='Tax COFINS ST'
cofinsst_value
Monetary
string='COFINS ST Value'
comment_ids
Many2many → l10n_br_fiscal.comment
column1='document_line_mixin_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_LINE)]
relation='l10n_br_fiscal_document_line_mixin_comment_rel'
string='Comments'
csll_base
Monetary
string='CSLL Base'
csll_percent
Float
string='CSLL %'
csll_reduction
Float
string='CSLL % Reduction'
csll_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL)]
string='Tax CSLL'
csll_value
Monetary
string='CSLL Value'
csll_wh_base
Monetary
string='CSLL RET Base'
csll_wh_percent
Float
string='CSLL RET %'
csll_wh_reduction
Float
string='CSLL RET % Reduction'
csll_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL_WH)]
string='Tax CSLL RET'
csll_wh_value
Monetary
string='CSLL RET Value'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
string='Currency'
discount_value
Monetary
string='Discount Value'
estimate_tax
Monetary
string='Estimate Tax'
financial_discount_value
Monetary
compute='_compute_amounts'
string='Financial Discount Value'
financial_total
Monetary
compute='_compute_amounts'
string='Amount Financial'
financial_total_gross
Monetary
compute='_compute_amounts'
string='Amount Financial Gross'
fiscal_genre_code
Char
related='fiscal_genre_id.code'
string='Fiscal Product Genre Code'
fiscal_genre_id
Many2one → l10n_br_fiscal.product.genre
comodel_name='l10n_br_fiscal.product.genre'
string='Fiscal Product Genre'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
default=_default_operation
domain=<expr>
string='Operation'
fiscal_operation_line_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
domain="[('fiscal_operation_id', '=', fiscal_operation_id), ('state', '=', 'approved')]"
string='Operation Line'
fiscal_operation_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_operation_type'
string='Fiscal Operation Type'
fiscal_price
Float
digits='Product Price'
string='Fiscal Price'
fiscal_quantity
Float
digits='Product Unit of Measure'
string='Fiscal Quantity'
fiscal_tax_ids
Many2many → l10n_br_fiscal.tax
column1='document_id'
column2='fiscal_tax_id'
comodel_name='l10n_br_fiscal.tax'
relation='fiscal_tax_rel'
string='Fiscal Taxes'
fiscal_type
Selection
selection=PRODUCT_FISCAL_TYPE
string='Fiscal Type'
freight_value
Monetary
string='Freight Value'
icms_base
Monetary
string='ICMS Base'
icms_base_type
Selection
default=ICMS_BASE_TYPE_DEFAULT
selection=ICMS_BASE_TYPE
string='ICMS Base Type'
icms_cst_code
Char
related='icms_cst_id.code'
store=True
string='ICMS CST Code'
icms_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('tax_domain', '=', {'1': 'icmssn', '2': 'icmssn', '3': 'icms'}.get(tax_framework))]"
string='CST ICMS'
icms_destination_base
Monetary
string='ICMS Destination Base'
icms_destination_percent
Float
string='ICMS External %'
icms_destination_value
Monetary
string='ICMS Dest. Value'
icms_effective_base
Monetary
string='ICMS Effective Base'
icms_effective_percent
Float
string='ICMS Effective %'
icms_effective_reduction
Float
string='ICMS Effective % Reduction'
icms_effective_value
Monetary
string='ICMS Effective'
icms_origin
Selection
default=ICMS_ORIGIN_DEFAULT
selection=ICMS_ORIGIN
string='ICMS Origin'
icms_origin_percent
Float
string='ICMS Internal %'
icms_origin_value
Monetary
string='ICMS Origin Value'
icms_percent
Float
string='ICMS %'
icms_reduction
Float
string='ICMS % Reduction'
icms_relief_id
Many2one → l10n_br_fiscal.icms.relief
comodel_name='l10n_br_fiscal.icms.relief'
string='ICMS Relief'
icms_relief_value
Monetary
string='ICMS Relief Value'
icms_sharing_percent
Float
string='ICMS Sharing %'
icms_substitute
Monetary
help='Valor do ICMS Próprio do Substituto cobrado em operação anterior'
string='ICMS Substitute'
icms_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS)]
string='Tax ICMS'
icms_value
Monetary
string='ICMS Value'
icmsfcp_base
Monetary
string='ICMS FCP Base'
icmsfcp_base_wh
Monetary
string='FCP WH Base'
icmsfcp_percent
Float
string='ICMS FCP %'
icmsfcp_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
string='Tax ICMS FCP'
icmsfcp_value
Monetary
string='ICMS FCP Value'
icmsfcp_value_wh
Monetary
string='FCP WH'
icmsfcp_wh_percent
Float
string='FCP WH %'
icmsfcpst_value
Monetary
string='ICMS FCP ST Value'
icmssn_base
Monetary
string='ICMS SN Base'
icmssn_credit_value
Monetary
string='ICMS SN Credit'
icmssn_percent
Float
string='ICMS SN %'
icmssn_range_id
Many2one → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
default=_default_icmssn_range_id
string='Simplified Range Tax'
icmssn_reduction
Monetary
string='ICMS SN Reduction'
icmssn_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_SN)]
string='Tax ICMS SN'
icmsst_base
Monetary
string='ICMS ST Base'
icmsst_base_type
Selection
default=ICMS_ST_BASE_TYPE_DEFAULT
selection=ICMS_ST_BASE_TYPE
string='ICMS ST Base Type'
icmsst_mva_percent
Float
string='ICMS ST MVA %'
icmsst_percent
Float
string='ICMS ST %'
icmsst_reduction
Float
string='ICMS ST % Reduction'
icmsst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
string='Tax ICMS ST'
icmsst_value
Monetary
string='ICMS ST Value'
icmsst_wh_base
Monetary
string='ICMS ST WH Base'
icmsst_wh_percent
Float
string='ICMS ST WH %'
icmsst_wh_value
Monetary
string='ICMS ST WH Value'
ii_base
Float
digits='Account'
string='II Base'
ii_customhouse_charges
Float
digits='Account'
string='Despesas Aduaneiras'
ii_iof_value
Float
digits='Account'
string='IOF Value'
ii_percent
Float
string='II %'
ii_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_II)]
string='Tax II'
ii_value
Float
digits='Account'
string='II Value'
inss_base
Monetary
string='INSS Base'
inss_percent
Float
string='INSS %'
inss_reduction
Float
string='INSS % Reduction'
inss_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS)]
string='Tax INSS'
inss_value
Monetary
string='INSS Value'
inss_wh_base
Monetary
string='INSS RET Base'
inss_wh_percent
Float
string='INSS RET %'
inss_wh_reduction
Float
string='INSS RET % Reduction'
inss_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS_WH)]
string='Tax INSS RET'
inss_wh_value
Monetary
string='INSS RET Value'
insurance_value
Monetary
string='Insurance Value'
ipi_base
Monetary
string='IPI Base'
ipi_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='IPI Base Type'
ipi_cst_code
Char
related='ipi_cst_id.code'
store=True
string='IPI CST Code'
ipi_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'ipi')]"
string='CST IPI'
ipi_guideline_id
Many2one → l10n_br_fiscal.tax.ipi.guideline
comodel_name='l10n_br_fiscal.tax.ipi.guideline'
domain="['|', ('cst_in_id', '=', ipi_cst_id),('cst_out_id', '=', ipi_cst_id)]"
string='IPI Guideline'
ipi_percent
Float
string='IPI %'
ipi_reduction
Float
string='IPI % Reduction'
ipi_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Tax IPI'
ipi_value
Monetary
string='IPI Value'
irpj_base
Monetary
string='IRPJ Base'
irpj_percent
Float
string='IRPJ %'
irpj_reduction
Float
string='IRPJ % Reduction'
irpj_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ)]
string='Tax IRPJ'
irpj_value
Monetary
string='IRPJ Value'
irpj_wh_base
Monetary
string='RPJ RET Base'
irpj_wh_percent
Float
string='IRPJ RET %'
irpj_wh_reduction
Float
string='IRPJ RET % Reduction'
irpj_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ_WH)]
string='Tax IRPJ RET'
irpj_wh_value
Monetary
string='IRPJ RET Value'
issqn_base
Monetary
string='ISSQN Base'
issqn_deduction_amount
Monetary
string='ISSQN Deduction Value'
issqn_desc_cond_amount
Monetary
string='ISSQN Discount Cond'
issqn_desc_incond_amount
Monetary
string='ISSQN Discount Incond'
issqn_eligibility
Selection
default=ISSQN_ELIGIBILITY_DEFAULT
selection=ISSQN_ELIGIBILITY
string='ISSQN Eligibility'
issqn_fg_city_id
Many2one → res.city
comodel_name='res.city'
string='ISSQN City'
issqn_incentive
Selection
default=ISSQN_INCENTIVE_DEFAULT
selection=ISSQN_INCENTIVE
string='ISSQN Incentive'
issqn_other_amount
Monetary
string='ISSQN Other Value'
issqn_percent
Float
string='ISSQN %'
issqn_reduction
Float
string='ISSQN % Reduction'
issqn_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN)]
string='Tax ISSQN'
issqn_value
Monetary
string='SSQN Value'
issqn_wh_base
Monetary
string='ISSQN RET Base'
issqn_wh_percent
Float
string='ISSQN RET %'
issqn_wh_reduction
Float
string='ISSQN RET % Reduction'
issqn_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN_WH)]
string='Tax ISSQN RET'
issqn_wh_value
Monetary
string='ISSQN RET Value'
manual_additional_data
Char
help='Additional data manually entered by user'
string='Manual Additional Data'
nbm_id
Many2one → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='NBM'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
index=True
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
index=True
string='NCM'
other_value
Monetary
string='Other Costs'
partner_company_type
Selection
related='partner_id.company_type'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
partner_order
Char
size=15
string='Partner Order (xPed)'
partner_order_line
Char
size=6
string='Partner Order Line (nItemPed)'
pis_base
Monetary
string='PIS Base'
pis_base_id
Many2one → l10n_br_fiscal.tax.pis.cofins.base
comodel_name='l10n_br_fiscal.tax.pis.cofins.base'
string='PIS Base Code'
pis_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='PIS Base Type'
pis_credit_id
Many2one → l10n_br_fiscal.tax.pis.cofins.credit
comodel_name='l10n_br_fiscal.tax.pis.cofins.credit'
string='PIS Credit'
pis_cst_code
Char
related='pis_cst_id.code'
store=True
string='PIS CST Code'
pis_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'pis')]"
string='CST PIS'
pis_percent
Float
string='PIS %'
pis_reduction
Float
string='PIS % Reduction'
pis_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS)]
string='Tax PIS'
pis_value
Monetary
string='PIS Value'
pis_wh_base
Monetary
string='PIS RET Base'
pis_wh_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='PIS WH Base Type'
pis_wh_percent
Float
string='PIS RET %'
pis_wh_reduction
Float
string='PIS RET % Reduction'
pis_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_WH)]
string='Tax PIS RET'
pis_wh_value
Monetary
string='PIS RET Value'
pisst_base
Monetary
string='PIS ST Base'
pisst_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='PIS ST Base Type'
pisst_cst_code
Char
related='pisst_cst_id.code'
store=True
string='PIS ST CST Code'
pisst_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'pisst')]"
string='CST PIS ST'
pisst_percent
Float
string='PIS ST %'
pisst_reduction
Float
string='PIS ST % Reduction'
pisst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_ST)]
string='Tax PIS ST'
pisst_value
Monetary
string='PIS ST Value'
price_gross
Monetary
compute='_compute_amounts'
compute_sudo=False
help='Amount without discount.'
readonly=True
store=True
string='Amount Gross'
price_unit
Float
digits='Product Price'
string='Price Unit'
product_id
Many2one → product.product
comodel_name='product.product'
string='Product'
quantity
Float
default=1.0
digits='Product Unit of Measure'
string='Quantity'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain="[('internal_type', '=', 'normal')]"
string='Service Type LC 166'
simple_value
Monetary
string='National Simple Taxes'
simple_without_icms_value
Monetary
string='National Simple Taxes without ICMS'
tax_icms_or_issqn
Selection
default=TAX_DOMAIN_ICMS
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
uom_id
Many2one → uom.uom
comodel_name='uom.uom'
string='UOM'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
No new fields.
Public methods (2)fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
inject_fiscal_fields(self, view_arch, view_ref='l10n_br_fiscal.document_fiscal_line_mixin_form', xpath_mappings=None)
amount_cofins_base
Monetary
compute='_compute_amount'
string='COFINS Base'
amount_cofins_value
Monetary
compute='_compute_amount'
string='COFINS Value'
amount_cofins_wh_base
Monetary
compute='_compute_amount'
string='COFINS Ret Base'
amount_cofins_wh_value
Monetary
compute='_compute_amount'
string='COFINS Ret Value'
amount_csll_base
Monetary
compute='_compute_amount'
string='CSLL Base'
amount_csll_value
Monetary
compute='_compute_amount'
string='CSLL Value'
amount_csll_wh_base
Monetary
compute='_compute_amount'
string='CSLL Ret Base'
amount_csll_wh_value
Monetary
compute='_compute_amount'
string='CSLL Ret Value'
amount_discount_value
Monetary
compute='_compute_amount'
string='Amount Discount'
amount_estimate_tax
Monetary
compute='_compute_amount'
string='Amount Estimate Tax'
amount_financial_discount_value
Monetary
compute='_compute_amount'
string='Financial Discount Value'
amount_financial_total
Monetary
compute='_compute_amount'
string='Amount Financial'
amount_financial_total_gross
Monetary
compute='_compute_amount'
string='Amount Financial Gross'
amount_freight_value
Monetary
compute='_compute_amount'
string='Freight Value'
amount_icms_base
Monetary
compute='_compute_amount'
string='ICMS Base'
amount_icms_value
Monetary
compute='_compute_amount'
string='ICMS Value'
amount_icmsfcp_base
Monetary
compute='_compute_amount'
string='ICMS FCP Base'
amount_icmsfcp_value
Monetary
compute='_compute_amount'
string='ICMS FCP Value'
amount_icmssn_credit_value
Monetary
compute='_compute_amount'
string='ICMSSN Credit Value'
amount_icmsst_base
Monetary
compute='_compute_amount'
string='ICMS ST Base'
amount_icmsst_value
Monetary
compute='_compute_amount'
string='ICMS ST Value'
amount_inss_base
Monetary
compute='_compute_amount'
string='INSS Base'
amount_inss_value
Monetary
compute='_compute_amount'
string='INSS Value'
amount_inss_wh_base
Monetary
compute='_compute_amount'
string='INSS Ret Base'
amount_inss_wh_value
Monetary
compute='_compute_amount'
string='INSS Ret Value'
amount_insurance_value
Monetary
compute='_compute_amount'
string='Insurance Value'
amount_ipi_base
Monetary
compute='_compute_amount'
string='IPI Base'
amount_ipi_value
Monetary
compute='_compute_amount'
string='IPI Value'
amount_irpj_base
Monetary
compute='_compute_amount'
string='IRPJ Base'
amount_irpj_value
Monetary
compute='_compute_amount'
string='IRPJ Value'
amount_irpj_wh_base
Monetary
compute='_compute_amount'
string='IRPJ Ret Base'
amount_irpj_wh_value
Monetary
compute='_compute_amount'
string='IRPJ Ret Value'
amount_issqn_base
Monetary
compute='_compute_amount'
string='ISSQN Base'
amount_issqn_value
Monetary
compute='_compute_amount'
string='ISSQN Value'
amount_issqn_wh_base
Monetary
compute='_compute_amount'
string='ISSQN Ret Base'
amount_issqn_wh_value
Monetary
compute='_compute_amount'
string='ISSQN Ret Value'
amount_other_value
Monetary
compute='_compute_amount'
string='Other Costs'
amount_pis_base
Monetary
compute='_compute_amount'
string='PIS Base'
amount_pis_value
Monetary
compute='_compute_amount'
string='PIS Value'
amount_pis_wh_base
Monetary
compute='_compute_amount'
string='PIS Ret Base'
amount_pis_wh_value
Monetary
compute='_compute_amount'
string='PIS Ret Value'
amount_price_gross
Monetary
compute='_compute_amount'
help='Amount without discount.'
string='Amount Gross'
amount_tax
Monetary
compute='_compute_amount'
string='Amount Tax'
amount_tax_withholding
Monetary
compute='_compute_amount'
string='Amount Tax Withholding'
amount_total
Monetary
compute='_compute_amount'
string='Amount Total'
amount_untaxed
Monetary
compute='_compute_amount'
string='Amount Untaxed'
comment_ids
Many2many → l10n_br_fiscal.comment
column1='document_mixin_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_DOCUMENT)]
relation='l10n_br_fiscal_document_mixin_comment_rel'
string='Comments'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
readonly=True
store=True
customer_additional_data
Text
string='Customer Additional Data'
fiscal_additional_data
Text
string='Fiscal Additional Data'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
default=_default_operation
domain=<expr>
string='Operation'
fiscal_operation_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_operation_type'
string='Fiscal Operation Type'
ind_final
Selection
default=FINAL_CUSTOMER_YES
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
ind_pres
Selection
default=NFE_IND_PRES_DEFAULT
selection=NFE_IND_PRES
string='Buyer Presence'
manual_customer_additional_data
Char
help='Customer Additional data manually entered by user'
string='Manual Customer Additional Data'
manual_fiscal_additional_data
Char
help='Fiscal Additional data manually entered by user'
string='Manual Fiscal Additional Data'
partner_id
Many2one → res.partner
comodel_name='res.partner'
No public methods.
No new fields.
Public methods (0)No public methods.
cnpj_cpf
Char
size=18
string='CNPJ/CPF'
cpfcnpj_type
Selection
default='cnpj'
selection=[('cpf', 'CPF'), ('cnpj', 'CNPJ')]
string='Type Doc Number'
document_date
Date
string='Data'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document'
document_key
Char
size=44
string='Document Key'
document_number
Char
size=32
string='Number'
document_related_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document Related'
document_serie
Char
size=12
string='Serie'
document_type_code
Char
related='document_type_id.code'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Fiscal Document Type'
inscr_est
Char
size=16
string='Inscr. Estadual/RG'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='State'
No public methods.
active
Boolean
default=True
string='Active'
code
Char
size=3
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
required=True
string='Fiscal Document'
fiscal_type
Selection
default=FISCAL_IN_OUT_DEFAULT
selection=FISCAL_IN_OUT
string='Type'
internal_sequence_id
Many2one → ir.sequence
comodel_name='ir.sequence'
domain="[('company_id', '=', company_id)]"
string='Sequence'
invalidate_number_id
One2many → l10n_br_fiscal.invalidate.number
comodel_name='l10n_br_fiscal.invalidate.number'
inverse_name='document_serie_id'
string='Invalidate Number Range'
name
Char
required=True
string='Name'
sequence_number_next
Integer
related='internal_sequence_id.number_next'
create(self, values)
name_get(self)
next_seq_number(self)
No new fields.
Public methods (2)doit(self)
get_document_status(self)
code
Char
size=8
document_email_ids
One2many → l10n_br_fiscal.document.email
comodel_name='l10n_br_fiscal.document.email'
inverse_name='document_type_id'
string='Email Template Definition'
document_serie_ids
One2many → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
inverse_name='document_type_id'
string='Document Series'
electronic
Boolean
string='Is Electronic?'
name
Char
size=128
prefix
Char
string='Prefix'
sufix
Char
string='Sufix'
type
Selection
required=True
selection=DOCUMENT_TYPE
string='Document Type'
get_document_serie(self, company, fiscal_operation)
cancel_reason
Char
string='Cancel Reason'
correction_reason
Char
string='Correction Reason'
state_edoc
Selection
copy=False
default=SITUACAO_EDOC_EM_DIGITACAO
index=True
readonly=True
required=True
selection=SITUACAO_EDOC
string='Situação e-doc'
track_visibility='onchange'
state_fiscal
Selection
copy=False
index=True
selection=SITUACAO_FISCAL
string='Situação Fiscal'
track_visibility='onchange'
action_document_back2draft(self)
action_document_cancel(self)
action_document_confirm(self)
action_document_correction(self)
action_document_invalidate(self)
action_document_send(self)
company_id
Many2one → res.company
comodel_name='res.company'
index=True
required=True
string='Company'
create_date
Datetime
default=fields.Datetime.now
index=True
readonly=True
string='Create Date'
display_name
Char
compute='_compute_display_name'
store=True
string='name'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document'
document_number
Char
required=True
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
required=True
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
index=True
required=True
string='Fiscal Document Type'
environment
Selection
selection=EVENT_ENVIRONMENT
file_path
Char
readonly=True
string='File Path'
file_request_id
Many2one → ir.attachment
comodel_name='ir.attachment'
copy=False
readony=True
string='XML'
file_response_id
Many2one → ir.attachment
comodel_name='ir.attachment'
copy=False
readony=True
string='XML Response'
invalidate_number_id
Many2one → l10n_br_fiscal.invalidate.number
comodel_name='l10n_br_fiscal.invalidate.number'
index=True
string='Invalidate Number'
justification
Char
size=255
string='Justification'
message
Char
readonly=True
string='Message'
origin
Char
help='Document reference that generated this event.'
readonly=True
size=64
string='Source Document'
partner_id
Many2one → res.partner
comodel_name='res.partner'
index=True
string='Partner'
protocol_date
Datetime
index=True
readonly=True
string='Protocol Date'
protocol_number
Char
string='Protocol Number'
response
Char
readonly=True
string='Response Message'
sequence
Char
help='Fiscal Document Event Sequence'
string='Sequence'
state
Selection
default='draft'
index=True
readonly=True
selection=[('draft', _('Draft')), ('send', _('Sending')), ('wait', _('Waiting Response')), ('done', _('Response received'))]
string='Status'
status_code
Char
readonly=True
string='Status Code'
type
Selection
selection=[('-1', 'Exception'), ('0', 'Envio Lote'), ('1', 'Consulta Recibo'), ('2', 'Cancelamento'), ('3', 'Inutilização'), ('4', 'Consulta NFE'), ('5', 'Consulta Situação'), ('6', 'Consulta Cadastro'), ('7', 'DPEC Recepção'), ('8', 'DPEC Consulta'), ('9', 'Recepção Evento'), ('10', 'Download'), ('11', 'Consulta Destinadas'), ('12', 'Distribuição DFe'), ('13', 'Manifestação'), ('14', 'Carta de Correção')]
string='Service'
write_date
Datetime
index=True
readonly=True
string='Write Date'
create_event_save_xml(self, company_id, environment, event_type, xml_file, document_id=False, invalidate_number_id=False, sequence=False, justification=False)
set_done(self, status_code, response, protocol_date, protocol_number, file_response_xml)
icms_external_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '!=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External AC'
icms_external_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '!=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External AL'
icms_external_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '!=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External AM'
icms_external_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '!=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External AP'
icms_external_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '!=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External BA'
icms_external_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '!=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External CE'
icms_external_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '!=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External DF'
icms_external_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '!=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External ES'
icms_external_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '!=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External GO'
icms_external_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '!=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External MA'
icms_external_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '!=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External MG'
icms_external_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '!=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External MS'
icms_external_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '!=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External MT'
icms_external_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '!=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External PA'
icms_external_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '!=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External PB'
icms_external_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '!=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External PE'
icms_external_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '!=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External PI'
icms_external_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '!=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External PR'
icms_external_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '!=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External RJ'
icms_external_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '!=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External RN'
icms_external_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '!=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External RO'
icms_external_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '!=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External RR'
icms_external_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '!=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External RS'
icms_external_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '!=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External SC'
icms_external_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '!=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External SE'
icms_external_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '!=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External SP'
icms_external_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '!=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS External TO'
icms_fcp_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP AC'
icms_fcp_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP AL'
icms_fcp_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP AM'
icms_fcp_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP AP'
icms_fcp_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP BA'
icms_fcp_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP CE'
icms_fcp_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP DF'
icms_fcp_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP ES'
icms_fcp_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP GO'
icms_fcp_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP MA'
icms_fcp_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP MG'
icms_fcp_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP MS'
icms_fcp_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP MT'
icms_fcp_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP PA'
icms_fcp_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP PB'
icms_fcp_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP PE'
icms_fcp_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP PI'
icms_fcp_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP PR'
icms_fcp_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP RJ'
icms_fcp_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP RN'
icms_fcp_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP RO'
icms_fcp_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP RR'
icms_fcp_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP RS'
icms_fcp_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP SC'
icms_fcp_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP SE'
icms_fcp_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP SP'
icms_fcp_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
inverse_name='icms_regulation_id'
string='ICMS FCP TO'
icms_imported_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
string='ICMS Tax Imported'
icms_internal_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal AC'
icms_internal_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal AL'
icms_internal_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal AM'
icms_internal_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal AP'
icms_internal_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal BA'
icms_internal_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal CE'
icms_internal_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal DF'
icms_internal_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal ES'
icms_internal_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal GO'
icms_internal_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal MA'
icms_internal_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal MG'
icms_internal_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal MS'
icms_internal_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal MT'
icms_internal_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal PA'
icms_internal_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal PB'
icms_internal_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal PE'
icms_internal_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal PI'
icms_internal_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal PR'
icms_internal_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal RJ'
icms_internal_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal RN'
icms_internal_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal RO'
icms_internal_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal RR'
icms_internal_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal RS'
icms_internal_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal SC'
icms_internal_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal SE'
icms_internal_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal SP'
icms_internal_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
inverse_name='icms_regulation_id'
string='ICMS Internal TO'
icms_st_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST AC'
icms_st_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST AL'
icms_st_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST AM'
icms_st_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST AP'
icms_st_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST BA'
icms_st_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST CE'
icms_st_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST DF'
icms_st_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST ES'
icms_st_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST GO'
icms_st_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST MA'
icms_st_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST MG'
icms_st_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST MS'
icms_st_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST MT'
icms_st_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST PA'
icms_st_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST PB'
icms_st_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST PE'
icms_st_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST PI'
icms_st_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST PR'
icms_st_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST RJ'
icms_st_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST RN'
icms_st_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST RO'
icms_st_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST RR'
icms_st_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST RS'
icms_st_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SC', False)), ('state_to_ids.code', 'in', ('SC', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST SC'
icms_st_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST SE'
icms_st_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST SP'
icms_st_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
inverse_name='icms_regulation_id'
string='ICMS ST TO'
name
Text
index=True
required=True
string='Name'
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
map_tax(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None)
map_tax_icms(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None)
map_tax_icms_difal(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None)
map_tax_icmsfcp(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None)
map_tax_icmsst(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None)
No new fields.
Public methods (0)No public methods.
authorization_date
Datetime
readonly=True
related='authorization_event_id.protocol_date'
string='Authorization Date'
authorization_event_id
Many2one → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
copy=False
readonly=True
string='Authorization Event'
authorization_file_id
Many2one → ir.attachment
comodel_name='ir.attachment'
ondelete='restrict'
readonly=True
related='authorization_event_id.file_response_id'
string='Authorization File XML'
authorization_protocol
Char
readonly=True
related='authorization_event_id.protocol_number'
string='Authorization Protocol'
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
readonly=True
required=True
states={'draft': [('readonly', False)]}
date
Date
default=fields.Date.today
readonly=True
string='Date'
document_electronic
Boolean
readonly=True
related='document_type_id.electronic'
string='Electronic?'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
domain="[('active', '=', True),\n ('document_type_id', '=', document_type_id),\n ('company_id', '=', company_id)]"
readonly=True
required=True
states={'draft': [('readonly', False)]}
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
readonly=True
required=True
states={'draft': [('readonly', False)]}
event_ids
One2many → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
inverse_name='invalidate_number_id'
readonly=True
states={'done': [('readonly', True)]}
string='Events'
justification
Char
readonly=True
required=True
size=255
states={'draft': [('readonly', False)]}
string='Justification'
name
Char
compute='_compute_name'
index=True
store=True
number_end
Integer
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='End Number'
number_start
Integer
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Initial Number'
send_file_id
Many2one → ir.attachment
comodel_name='ir.attachment'
ondelete='restrict'
readonly=True
related='authorization_event_id.file_request_id'
string='Send Document File XML'
state
Selection
default='draft'
readonly=True
selection=[('draft', _('Draft')), ('done', _('Done'))]
string='Status'
action_invalidate(self)
unlink(self)
No new fields.
Public methods (2)do_invalidate(self)
doit(self)
authorization_datetime
Datetime
index=True
string='Authorization Date'
authorization_protocol
Char
size=60
string='Authorization protocol'
cancellation_datetime
Datetime
index=True
string='Cancellation Date'
cancellation_protocol
Char
size=60
string='Cancellation protocol'
cnpj_cpf
Char
size=18
string='CNPJ/CPF'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
dfe_id
Many2one → l10n_br_fiscal.dfe
comodel_name='l10n_br_fiscal.dfe'
string='DF-e'
digest_value
Char
size=28
string='Digest Value'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
string='Fiscal Document'
document_key
Char
size=44
string='Access Key'
document_number
Float
digits=(18, 0)
index=True
string='Document Number'
document_state
Selection
index=True
selection=SITUACAO_NFE
string='Document State'
document_value
Float
digits=(18, 2)
readonly=True
string='Document Total Value'
emission_datetime
Datetime
default=fields.Datetime.now
index=True
string='Emission Date'
emitter
Char
size=60
string='Emitter'
ie
Char
size=18
string='Inscrição estadual'
inclusion_datetime
Datetime
default=fields.Datetime.now
index=True
string='Inclusion Date'
inclusion_mode
Char
size=255
string='Inclusion Mode'
nsu
Char
index=True
size=25
string='NSU'
operation_type
Selection
selection=OPERATION_TYPE
string='Operation Type'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Supplier (partner)'
serie
Char
index=True
size=3
string='Serie'
state
Selection
index=True
selection=SITUACAO_MANIFESTACAO
string='Manifestation State'
supplier
Char
index=True
size=60
string='Supplier'
cria_wizard_gerenciamento(self, state='')
download_attachment(self, attachment_id=None)
name_get(self)
code
Char
size=12
code_unmasked
Char
size=10
name
Text
index=True
required=True
string='Name'
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='nbm_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
readonly=True
relation='fiscal_nbm_ncm_rel'
string='NCMs'
ncms
Char
string='NCM'
product_tmpl_ids
One2many
inverse_name='nbm_id'
action_search_ncms(self)
create(self, values)
write(self, values)
code
Char
size=12
code_unmasked
Char
size=10
product_tmpl_ids
One2many
inverse_name='nbs_id'
tax_estimate_ids
One2many
inverse_name='nbs_id'
No public methods.
piscofins_ids
Many2many → l10n_br_fiscal.tax.pis.cofins
column1='ncm_id'
column2='piscofins_id'
comodel_name='l10n_br_fiscal.tax.pis.cofins'
readonly=True
relation='fiscal_pis_cofins_ncm_rel'
string='PIS/COFINS'
No public methods.
cest_ids
Many2many → l10n_br_fiscal.cest
column1='ncm_id'
column2='cest_id'
comodel_name='l10n_br_fiscal.cest'
readonly=True
relation='fiscal_cest_ncm_rel'
string='CESTs'
No public methods.
code
Char
size=10
code_unmasked
Char
size=8
exception
Char
size=2
string='Exception'
product_tmpl_ids
One2many
inverse_name='ncm_id'
tax_estimate_ids
One2many
inverse_name='ncm_id'
tax_ii_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_II)]
string='Tax II'
tax_ipi_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Tax IPI'
uoe_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Export UoM'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
nbm_ids
Many2many → l10n_br_fiscal.nbm
column1='ncm_id'
column2='nbm_id'
comodel_name='l10n_br_fiscal.nbm'
readonly=True
relation='fiscal_nbm_ncm_rel'
string='NBMs'
No public methods.
code
Char
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Code'
comment_ids
Many2many → l10n_br_fiscal.comment
column1='fiscal_operation_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_DOCUMENT)]
relation='l10n_br_fiscal_operation_comment_rel'
string='Comment'
company_id
Many2one → res.company
comodel_name='res.company'
readonly=True
states={'draft': [('readonly', False)]}
string='Company'
default_price_unit
Selection
default='sale_price'
readonly=True
selection=[('sale_price', _('Sale Price')), ('cost_price', _('Cost Price'))]
states={'draft': [('readonly', False)]}
string='Default Price Unit?'
document_type_ids
One2many → l10n_br_fiscal.operation.document.type
comodel_name='l10n_br_fiscal.operation.document.type'
inverse_name='fiscal_operation_id'
readonly=True
states={'draft': [('readonly', False)]}
string='Operation Document Types'
fiscal_operation_type
Selection
readonly=True
required=True
selection=FISCAL_IN_OUT_ALL
states={'draft': [('readonly', False)]}
string='Type'
fiscal_type
Selection
default=OPERATION_FISCAL_TYPE_DEFAULT
readonly=True
required=True
selection=OPERATION_FISCAL_TYPE
states={'draft': [('readonly', False)]}
string='Fiscal Type'
ind_final
Selection
default=FINAL_CUSTOMER_YES
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
inverse_fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
readonly=True
states={'draft': [('readonly', False)]}
string='Inverse Operation'
line_ids
One2many → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
inverse_name='fiscal_operation_id'
readonly=True
states={'draft': [('readonly', False)]}
string='Operation Line'
name
Char
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Name'
operation_subsequent_ids
One2many → l10n_br_fiscal.subsequent.operation
comodel_name='l10n_br_fiscal.subsequent.operation'
inverse_name='fiscal_operation_id'
string='Subsequent Operation'
return_fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain="[('fiscal_operation_type', '!=', fiscal_operation_type), ('fiscal_type', 'in', {'sale': ['sale_refund'], 'purchase': ['purchase_refund'], 'other': ['return_in', 'return_out'],'return_in': ['return_out'], 'return_out': ['return_in']}.get(fiscal_type, []))]"
readonly=True
states={'draft': [('readonly', False)]}
string='Return Operation'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
string='State'
track_visibility='onchange'
action_approve(self)
action_draft(self)
action_review(self)
get_document_serie(self, company, document_type)
line_definition(self, company, partner, product)
unlink(self)
color
Integer
default=0
string='Color Index'
kanban_dashboard
Text
compute='_compute_kanban_dashboard'
action_create_new(self)
get_operation_dashboard_data(self)
open_action(self)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
document_electronic
Boolean
related='document_type_id.electronic'
string='Electronic?'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
company_dependent=True
domain="[('active', '=', True),('document_type_id', '=', document_type_id)]"
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
required=True
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Operation'
name
Char
compute='_compute_name'
string='Name'
No public methods.
add_to_amount
Boolean
default=True
string='Add to Document Amount?'
cfop_export_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('type_move', '=ilike', fiscal_type + '%'), ('destination', '=', '3')]"
string='CFOP Export'
cfop_external_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('type_move', '=ilike', fiscal_type + '%'), ('destination', '=', '2')]"
string='CFOP External'
cfop_internal_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('destination', '=', '1'),('type_move', '=ilike', fiscal_type + '%')]"
string='CFOP Internal'
comment_ids
Many2many → l10n_br_fiscal.comment
column1='fiscal_operation_line_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_LINE)]
relation='l10n_br_fiscal_operation_line_comment_rel'
string='Comment'
company_tax_framework
Selection
selection=TAX_FRAMEWORK
string='Copmpany Tax Framework'
date_end
Datetime
string='End Date'
date_start
Datetime
string='Start Date'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Operation'
fiscal_operation_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_operation_type'
store=True
string='Fiscal Operation Type'
fiscal_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_type'
store=True
string='Fiscal Type'
icms_origin
Selection
selection=ICMS_ORIGIN
string='Origin'
ind_ie_dest
Selection
selection=NFE_IND_IE_DEST
string='ICMS Taxpayer'
line_inverse_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=False
domain="[('fiscal_operation_type', '!=', fiscal_operation_type)]"
string='Operation Line Inverse'
line_refund_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=False
domain="[('fiscal_operation_type', '!=', fiscal_operation_type)]"
string='Operation Line Refund'
name
Char
required=True
string='Name'
partner_tax_framework
Selection
selection=TAX_FRAMEWORK
string='Partner Tax Framework'
product_type
Selection
selection=PRODUCT_FISCAL_TYPE
string='Product Fiscal Type'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
string='State'
track_visibility='onchange'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='fiscal_operation_line_id'
string='Tax Definition'
tax_icms_or_issqn
Selection
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
action_review(self)
get_document_type(self, company)
map_fiscal_taxes(self, company, partner, product=None, fiscal_price=None, fiscal_quantity=None, ncm=None, nbm=None, nbs=None, cest=None)
unlink(self)
code
Char
required=True
size=16
string='Code'
default
Boolean
default=True
string='Default Profile'
ind_ie_dest
Selection
default=NFE_IND_IE_DEST_DEFAULT
required=True
selection=NFE_IND_IE_DEST
string='Contribuinte do ICMS'
is_company
Boolean
string='Is Company?'
name
Char
size=64
string='Name'
partner_ids
One2many → res.partner
comodel_name='res.partner'
compute='_compute_partner_info'
string='Partner'
partner_qty
Integer
compute='_compute_partner_info'
string='Partner Quantity'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='fiscal_profile_id'
string='Tax Definition'
tax_framework
Selection
default=TAX_FRAMEWORK_NORMAL
selection=TAX_FRAMEWORK
string='Tax Framework'
action_view_partners(self)
indPag
Selection
default='1'
selection=[('0', 'Pagamento à Vista'), ('1', 'Pagamento à Prazo'), ('2', 'Outros')]
string='Indicador de Pagamento'
name
Char
required=True
string='Name'
payment_type
Selection
default='99'
help='Obrigatório o preenchimento do Grupo Informações de Pagamento para NF-e e NFC-e. Para as notas com finalidade de Ajuste ou Devolução o campo Forma de Pagamento deve ser preenchido com 90 - Sem Pagamento.'
required=True
selection=[('01', '01 - Dinheiro'), ('02', '02 - Cheque'), ('03', '03 - Cartão de Crédito'), ('04', '04 - Cartão de Débito'), ('06', '05 - Crédito Loja'), ('10', '10 - Vale Alimentação'), ('11', '11 - Vale Refeição'), ('12', '12 - Vale Presente'), ('13', '13 - Vale Combustível'), ('14', '14 - Duplicata Mercantil'), ('15', '15 - Boleto Bancário'), ('90', '90 - Sem pagamento'), ('99', '99 - Outros')]
string='Tipo de Pagamento da NF'
No public methods.
product_tmpl_ids
One2many
inverse_name='fiscal_genre_id'
No public methods.
No new fields.
Public methods (0)No public methods.
child_ids
One2many → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
inverse_name='parent_id'
string='Service Type Child'
internal_type
Selection
default='normal'
required=True
selection=[('view', 'View'), ('normal', 'Normal')]
string='Internal Type'
parent_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
string='Parent Service Type'
product_tmpl_ids
One2many
inverse_name='service_type_id'
withholding_at_place
Boolean
help='The tax is due at the location of the provider establishment, except in the cases that this field is true, where it will be due at the place of provision.'
string='Tax Retention at place of provision'
withholding_possible
Boolean
string='Subject to withholding tax'
No public methods.
cnae_ids
Many2many → l10n_br_fiscal.cnae
column1='simplified_tax_id'
column2='cnae_id'
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal')]"
relation='fiscal_simplified_tax_cnae_rel'
string='CNAEs'
coefficient_r
Boolean
readonly=True
string='Coefficient R'
name
Char
required=True
string='Name'
simplified_tax_range_ids
One2many → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
copy=False
inverse_name='simplified_tax_id'
string='Simplified Tax Range'
No public methods.
amount_deduced
Monetary
currency_field='currency_id'
digits='Fiscal Documents'
required=True
string='Amount to be Deducted'
currency_id
Many2one → res.currency
comodel_name='res.currency'
required=True
string='Currency'
final_revenue
Monetary
currency_field='currency_id'
digits='Fiscal Documents'
string='Final Revenue'
inital_revenue
Monetary
currency_field='currency_id'
digits='Fiscal Documents'
string='Initial Revenue'
name
Char
required=True
string='Name'
simplified_tax_id
Many2one → l10n_br_fiscal.simplified.tax
comodel_name='l10n_br_fiscal.simplified.tax'
string='Simplified Tax ID'
tax_cofins_percent
Float
digits='Fiscal Tax Percent'
string='Tax COFINS Percent'
tax_cpp_percent
Float
digits='Fiscal Tax Percent'
string='Tax CPP Percent'
tax_csll_percent
Float
digits='Fiscal Tax Percent'
string='Tax CSLL Percent'
tax_icms_percent
Float
digits='Fiscal Tax Percent'
string='Tax ICMS Percent'
tax_ipi_percent
Float
digits='Fiscal Tax Percent'
string='Tax IPI Percent'
tax_irpj_percent
Float
digits='Fiscal Tax Percent'
string='Tax IRPJ Percent'
tax_iss_percent
Float
digits='Fiscal Tax Percent'
string='Tax ISS Percent'
tax_pis_percent
Float
digits='Fiscal Tax Percent'
string='Tax PIS Percent'
total_tax_percent
Float
digits='Fiscal Tax Percent'
string='Tax Percent'
No public methods.
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
required=True
string='Related operation'
operation_performed
Boolean
compute='_compute_operation_performed'
copy=False
default=False
string='Operation Performed'
source_document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
ondelete='cascade'
required=True
string='Source document'
subsequent_document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
copy=False
ondelete='set null'
string='Subsequent Document'
subsequent_operation_id
Many2one → l10n_br_fiscal.subsequent.operation
comodel_name='l10n_br_fiscal.subsequent.operation'
required=True
string='Subsequent Operation'
generate_subsequent_document(self)
show_source_document(self)
show_subsequent_document(self)
unlink(self)
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Origin operation'
generation_situation
Selection
default='manual'
required=True
selection=SUBSEQUENT_OPERATION
string='Generation Situation'
operation_document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Document Type'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
reference_document
Boolean
string='Referencing source document'
sequence
Integer
default=10
help='Gives the sequence order when displaying a list'
string='Sequence'
subsequent_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
string='Operation to be performed'
No public methods.
compute_sequence
Integer
help='The sequence field is used to define order in which the tax lines are applied.'
related='tax_group_id.compute_sequence'
string='Compute Sequence'
cst_in_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', ('in', 'all')), ('tax_domain', '=', tax_domain)]"
string='CST In'
cst_out_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', ('out', 'all')), ('tax_domain', '=', tax_domain)]"
string='CST Out'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
string='Currency'
icms_base_type
Selection
default=ICMS_BASE_TYPE_DEFAULT
required=True
selection=ICMS_BASE_TYPE
string='ICMS Base Type'
icmsst_base_type
Selection
default=ICMS_ST_BASE_TYPE_DEFAULT
required=True
selection=ICMS_ST_BASE_TYPE
string='ICMS ST Base Type'
icmsst_mva_percent
Float
digits='Fiscal Tax Percent'
required=True
string='MVA Percent'
icmsst_value
Float
digits='Fiscal Tax Value'
required=True
string='PFC Value'
name
Char
required=True
size=256
string='Name'
percent_amount
Float
digits='Fiscal Tax Percent'
required=True
string='Percent'
percent_debit_credit
Float
digits='Fiscal Tax Percent'
required=True
string='Percent Debit/Credit'
percent_reduction
Float
digits='Fiscal Tax Percent'
required=True
string='Percent Reduction'
sequence
Integer
help='The sequence field is used to define the order in which taxes are displayed.'
related='tax_group_id.sequence'
store=True
string='Sequence'
tax_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
required=True
selection=TAX_BASE_TYPE
string='Tax Base Type'
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
required=True
string='Fiscal Tax Group'
tax_scope
Selection
related='tax_group_id.tax_scope'
store=True
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
value_amount
Float
digits='Fiscal Tax Value'
required=True
string='Value'
compute_taxes(self, **kwargs)
cst_from_tax(self, fiscal_operation_type=FISCAL_OUT)
fiscal_operation_line_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
string='Operation Line'
No public methods.
No new fields.
Public methods (0)No public methods.
icms_regulation_id
Many2one → l10n_br_fiscal.icms.regulation
comodel_name='l10n_br_fiscal.icms.regulation'
string='ICMS Regulation'
No public methods.
fiscal_profile_id
Many2one → l10n_br_fiscal.partner.profile
comodel_name='l10n_br_fiscal.partner.profile'
string='Partner Profile'
No public methods.
cfop_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
string='CFOP'
No public methods.
cest_ids
Many2many → l10n_br_fiscal.cest
column1='tax_definition_id'
column2='cest_id'
comodel_name='l10n_br_fiscal.cest'
readonly=True
relation='tax_definition_cest_rel'
string='CESTs'
cests
Text
readonly=True
states={'draft': [('readonly', False)]}
string='CEST List'
company_id
Many2one → res.company
comodel_name='res.company'
readonly=True
states={'draft': [('readonly', False)]}
string='Company'
cst_code
Char
readonly=True
related='cst_id.code'
states={'draft': [('readonly', False)]}
string='CST Code'
cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', (type_in_out, 'all')), ('tax_domain', '=', tax_domain)]"
readonly=True
states={'draft': [('readonly', False)]}
string='CST'
custom_tax
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Custom Tax'
date_end
Datetime
readonly=True
states={'draft': [('readonly', False)]}
string='End Date'
date_start
Datetime
readonly=True
states={'draft': [('readonly', False)]}
string='Start Date'
ipi_guideline_id
Many2one → l10n_br_fiscal.tax.ipi.guideline
comodel_name='l10n_br_fiscal.tax.ipi.guideline'
domain="['|', ('cst_in_id', '=', cst_id),('cst_out_id', '=', cst_id)]"
string='IPI Guideline'
is_debit_credit
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Debit/Credit?'
is_taxed
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Taxed?'
nbm_ids
Many2many → l10n_br_fiscal.nbm
column1='tax_definition_id'
column2='nbm_id'
comodel_name='l10n_br_fiscal.nbm'
readonly=True
relation='tax_definition_nbm_rel'
string='NBMs'
nbms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NBM List'
ncm_exception
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NCM Exeption'
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='tax_definition_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
readonly=True
relation='tax_definition_ncm_rel'
string='NCMs'
ncms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NCM List'
not_in_nbms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='Not in NBMs'
not_in_ncms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='Not in NCMs'
product_ids
Many2many → product.product
column1='tax_definition_id'
column2='product_id'
comodel_name='product.product'
relation='tax_definition_product_rel'
string='Products'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
string='State'
track_visibility='onchange'
state_from_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='From State'
state_to_ids
Many2many → res.country.state
column1='tax_definition_id'
column2='state_id'
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
relation='tax_definition_state_to_rel'
string='To States'
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
states={'draft': [('readonly', False)]}
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Tax Group'
tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain="[('tax_group_id', '=', tax_group_id)]"
readonly=True
states={'draft': [('readonly', False)]}
string='Tax'
type_in_out
Selection
default=FISCAL_OUT
readonly=True
required=True
selection=FISCAL_IN_OUT
states={'draft': [('readonly', False)]}
string='Type'
action_approve(self)
action_draft(self)
action_review(self)
action_search_cests(self)
action_search_nbms(self)
action_search_ncms(self)
create(self, values)
map_tax_definition(self, company, partner, product, ncm=None, nbm=None, nbs=None, cest=None)
unlink(self)
write(self, values)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
create_date
Datetime
readonly=True
string='Create Date'
federal_taxes_import
Float
digits='Fiscal Tax Percent'
string='Impostos Federais Importado'
federal_taxes_national
Float
digits='Fiscal Tax Percent'
string='Impostos Federais Nacional'
key
Char
size=32
string='Key'
municipal_taxes
Float
digits='Fiscal Tax Percent'
string='Impostos Municipais Nacional'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
string='NCM'
origin
Char
size=32
string='Source'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
required=True
string='State'
state_taxes
Float
digits='Fiscal Tax Percent'
string='Impostos Estaduais Nacional'
No public methods.
base_without_icms
Boolean
default=False
string='Remove ICMS value from Base'
compute_sequence
Integer
default=10
help='The sequence field is used to define order in which the tax lines are applied.'
required=True
string='Compute Sequence'
cst_ids
One2many → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
inverse_name='tax_group_id'
string='CSTs'
name
Char
required=True
string='Name'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='WH Partner'
sequence
Integer
default=10
help='The sequence field is used to define the order in which taxes are displayed.'
required=True
string='Sequence'
tax_domain
Selection
required=True
selection=TAX_DOMAIN
string='Tax Domain'
tax_ids
One2many → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
inverse_name='tax_group_id'
string='Taxes'
tax_include
Boolean
default=False
string='Tax Included in Price'
tax_scope
Selection
required=True
selection=[('city', _('City')), ('state', _('State')), ('federal', _('Federal')), ('other', _('Other'))]
string='Tax Scope'
tax_withholding
Boolean
default=False
string='Tax Withholding'
wh_due_day
Integer
string='Due Day'
No public methods.
No new fields.
Public methods (0)No public methods.
code
Char
size=3
cst_group
Selection
required=True
selection=IPI_GUIDELINE_GROUP
string='Group'
cst_in_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain=[('domain', '=', TAX_DOMAIN_IPI), ('cst_type', '=', FISCAL_IN)]
string='CST In'
cst_out_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain=[('domain', '=', TAX_DOMAIN_IPI), ('cst_type', '=', FISCAL_OUT)]
string='CST Out'
No public methods.
No new fields.
Public methods (0)No public methods.
code
Char
required=True
string='Code'
name
Text
index=True
required=True
string='Name'
ncm_exception
Char
string='NCM Exeption'
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='piscofins_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
compute='_compute_ncms'
readonly=True
relation='fiscal_pis_cofins_ncm_rel'
store=True
string='NCMs'
ncms
Char
string='NCM'
not_in_ncms
Char
string='Not in NCM'
piscofins_type
Selection
default='ncm'
index=True
required=True
selection=[('ncm', _('NCM')), ('product', _('Product')), ('company', _('Company'))]
string='Type'
tax_cofins_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS)]
string='Tax COFINS'
tax_cofins_st_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_ST)]
string='Tax COFINS ST'
tax_pis_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS)]
string='Tax PIS'
tax_pis_st_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_ST)]
string='Tax PIS ST'
No public methods.
code
Char
size=2
No public methods.
code
Char
size=3
No public methods.
No new fields.
Public methods (0)No public methods.
cest_id
Many2one → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='CEST'
city_taxation_code_id
Many2many → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
string='City Taxation Code'
fiscal_genre_code
Char
related='fiscal_genre_id.code'
store=True
string='Fiscal Product Genre Code'
fiscal_genre_id
Many2one → l10n_br_fiscal.product.genre
comodel_name='l10n_br_fiscal.product.genre'
string='Fiscal Product Genre'
fiscal_type
Selection
selection=PRODUCT_FISCAL_TYPE
string='Fiscal Type'
icms_origin
Selection
default=ICMS_ORIGIN_DEFAULT
selection=ICMS_ORIGIN
string='ICMS Origin'
ipi_control_seal_id
Many2one → l10n_br_fiscal.tax.ipi.control.seal
comodel_name='l10n_br_fiscal.tax.ipi.control.seal'
string='IPI Control Seal'
ipi_guideline_class_id
Many2one → l10n_br_fiscal.tax.ipi.guideline.class
comodel_name='l10n_br_fiscal.tax.ipi.guideline.class'
string='IPI Guideline Class'
nbm_id
Many2one → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
index=True
string='NBM'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
index=True
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
default=_get_default_ncm_id
index=True
string='NCM'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain="[('internal_type', '=', 'normal')]"
string='Service Type LC 166'
tax_icms_or_issqn
Selection
default=TAX_DOMAIN_ICMS
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
uoe_factor
Float
default=1.0
string='Export UoM Factor'
uoe_id
Many2one → uom.uom
comodel_name='uom.uom'
related='ncm_id.uoe_id'
store=True
string='Export UoM'
uot_factor
Float
string='Tax UoM Factor'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
accountant_id
Many2one → res.partner
comodel_name='res.partner'
string='Accountant'
annual_revenue
Monetary
currency_field='currency_id'
digits='Fiscal Documents'
string='Annual Revenue'
certificate_ecnpj_id
Many2one → l10n_br_fiscal.certificate
comodel_name='l10n_br_fiscal.certificate'
domain="[('type', '=', 'e-cnpj')]"
string='E-CNPJ'
certificate_nfe_id
Many2one → l10n_br_fiscal.certificate
comodel_name='l10n_br_fiscal.certificate'
domain="[('type', '=', 'nf-e')]"
string='NFe'
cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
compute='_compute_address'
domain="[('internal_type', '=', 'normal'), ('id', 'not in', cnae_secondary_ids)]"
inverse='_inverse_cnae_main_id'
string='Main CNAE'
cnae_secondary_ids
Many2many → l10n_br_fiscal.cnae
column1='company_id'
column2='cnae_id'
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal'), ('id', '!=', cnae_main_id)]"
relation='res_company_fiscal_cnae_rel'
string='Secondary CNAE'
coefficient_r
Boolean
compute='_compute_simplifed_tax'
readonly=True
store=True
string='Coefficient R'
coefficient_r_percent
Float
compute='_compute_simplifed_tax'
readonly=True
store=True
string='Coefficient R (%)'
document_email_ids
One2many → l10n_br_fiscal.document.email
comodel_name='l10n_br_fiscal.document.email'
inverse_name='company_id'
string='Email Template Definition'
document_save_disk
Boolean
default=True
string='Save Documents to disk'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Default Document Type'
fiscal_dummy_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
default=_default_fiscal_dummy_id
ondelete='restrict'
required=True
string='Fiscal Dummy Document'
ibpt_api
Boolean
default=False
string='Use IBPT API'
ibpt_token
Char
string='IBPT Token'
ibpt_update_days
Integer
default=15
string='IBPT Token Updates'
icms_regulation_id
Many2one → l10n_br_fiscal.icms.regulation
comodel_name='l10n_br_fiscal.icms.regulation'
string='ICMS Regulation'
industry_type
Selection
default=INDUSTRY_TYPE_TRANSFORMATION
selection=INDUSTRY_TYPE
string='Industry Type'
is_industry
Boolean
default=False
help='If your company is industry or ......'
string='Is Industry'
payroll_amount
Monetary
currency_field='currency_id'
digits='Fiscal Documents'
string='Last Period Payroll Amount'
piscofins_id
Many2one → l10n_br_fiscal.tax.pis.cofins
comodel_name='l10n_br_fiscal.tax.pis.cofins'
domain="[('piscofins_type', '=', 'company')]"
string='PIS/COFINS'
processador_edoc
Selection
default=PROCESSADOR_NENHUM
selection=PROCESSADOR
string='Processador documentos eletrônicos'
profit_calculation
Selection
default=PROFIT_CALCULATION_PRESUMED
selection=PROFIT_CALCULATION
string='Profit Calculation'
ripi
Boolean
string='RIPI'
simplifed_tax_id
Many2one → l10n_br_fiscal.simplified.tax
comodel_name='l10n_br_fiscal.simplified.tax'
compute='_compute_simplifed_tax'
readonly=True
store=True
string='Simplified Tax'
simplifed_tax_percent
Float
compute='_compute_simplifed_tax'
digits='Fiscal Tax Percent'
store=True
string='Simplifed Tax Percent'
simplifed_tax_range_id
Many2one → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
compute='_compute_simplifed_tax'
readyonly=True
store=True
string='Simplified Tax Range'
tax_cofins_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_WH)]
string='Default COFINS RET'
tax_csll_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL)]
string='Default CSLL'
tax_csll_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL_WH)]
string='Default CSLL RET'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='company_id'
string='Tax Definition'
tax_framework
Selection
compute='_compute_address'
default=TAX_FRAMEWORK_NORMAL
inverse='_inverse_tax_framework'
selection=TAX_FRAMEWORK
string='Tax Framework'
tax_icms_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', 'in', (TAX_DOMAIN_ICMS, TAX_DOMAIN_ICMS_SN))]
string='Default ICMS'
tax_inss_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS)]
string='Default INSS'
tax_inss_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS_WH)]
string='Default INSS RET'
tax_ipi_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Default IPI'
tax_irpj_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ)]
string='Default IRPJ'
tax_irpj_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ_WH)]
string='Default IRPJ RET'
tax_issqn_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN)]
string='Default ISSQN'
tax_issqn_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN_WH)]
string='Default ISSQN RET'
tax_pis_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_WH)]
string='Default PIS RET'
technical_support_id
Many2one → res.partner
comodel_name='res.partner'
string='Technical Support'
No public methods.
cert_expired_alert
Integer
config_parameter='l10n_br_fiscal_cert_expired_alert'
default=30
required=True
string='Certificate Expired Alert'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
related='company_id.document_type_id'
string='Default Document Type'
ibpt_api
Boolean
readonly=False
related='company_id.ibpt_api'
string='Use IBPT API'
ibpt_token
Char
readonly=False
related='company_id.ibpt_token'
string='IBPT Token'
ibpt_update_days
Integer
readonly=False
related='company_id.ibpt_update_days'
string='IBPT Update'
module_l10n_br_cte
Boolean
string='CT-e'
module_l10n_br_mdfe
Boolean
string='MDF-e'
module_l10n_br_nfe
Boolean
string='NF-e/NFC-e'
module_l10n_br_nfse
Boolean
string='NFS-e'
No public methods.
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain="['|', ('state_from_ids', '=', id), ('state_to_ids', '=', id)]"
string='Tax Definitions'
No public methods.
city_id
Many2one
track_visibility='onchange'
cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain=[('internal_type', '=', 'normal')]
string='Main CNAE'
cnpj_cpf
Char
track_visibility='onchange'
fiscal_profile_id
Many2one → l10n_br_fiscal.partner.profile
comodel_name='l10n_br_fiscal.partner.profile'
default=_default_fiscal_profile_id
domain="[('is_company', '=', is_company)]"
inverse='_inverse_fiscal_profile'
string='Fiscal Partner Profile'
track_visibility='onchange'
ind_ie_dest
Selection
default=NFE_IND_IE_DEST_DEFAULT
required=True
selection=NFE_IND_IE_DEST
string='Contribuinte do ICMS'
track_visibility='onchange'
inscr_est
Char
track_visibility='onchange'
inscr_mun
Char
track_visibility='onchange'
is_company
Boolean
track_visibility='onchange'
state_id
Many2one
track_visibility='onchange'
tax_framework
Selection
default=TAX_FRAMEWORK_NORMAL
selection=TAX_FRAMEWORK
string='Tax Framework'
track_visibility='onchange'
No public methods.
measure_type
Selection
selection_add=[('area', 'Àrea / Superfície')]
No public methods.
alternative_ids
One2many → uom.uom.alternative
comodel_name='uom.uom.alternative'
inverse_name='uom_id'
string='Alternative names'
code
Char
size=6
string='Code'
search(self, domain, *args, **kwargs)
code
Char
string='Code'
uom_id
Many2one → uom.uom
comodel_name='uom.uom'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-brazil |
| GIT | |
| GIT | https://github.com/OCA/l10n-brazil.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-brazil/tree/12.0/l10n_br_fiscal |
| VERSION | |
| VERSION | 35.8.0 |
| CATEGORY | |
| CATEGORY | Localisation |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | Yes |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Raphaël Valyi, Renato Lima, GitHub, Luis Felipe Mileo, OCA Transbot, Luis Felipe Miléo, oca-travis, Weblate, OCA-git-bot, Hendrix Costa, clementmbr, Magno Costa, Gabriel Cardoso de Faria, oca-ci, Marcel Savegnago, Diego Paradeda, Luis Malta, Neto, felipemotter, netosjb, Renan Hiroki Bastos, Odoo Dev Jung, Ygor Carvalho, Antônio Neto, Akretion, niledbr |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/l10n-brazil |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:29:15 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/l10n-brazil: - l10n_br_base odoo/odoo: - uom - base - decimal_precision - product - base_setup - web - bus - web_tour - base_address_city - base_address_extended |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
erpbrasil.assinatura erpbrasil.base num2words |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
certificate_form |
l10n_br_fiscal.certificate.form | l10n_br_fiscal.certificate | form | New |
certificate_search |
l10n_br_fiscal.certificate.search | l10n_br_fiscal.certificate | search | New |
certificate_tree |
l10n_br_fiscal.certificate.tree | l10n_br_fiscal.certificate | tree | New |
cest_form |
l10n_br_fiscal.cest.form | l10n_br_fiscal.cest | form | New |
cest_search |
l10n_br_fiscal.cest.search | l10n_br_fiscal.cest | search | New |
cest_tree |
l10n_br_fiscal.cest.tree | l10n_br_fiscal.cest | tree | New |
cfop_form |
l10n_br_fiscal.cfop.form | l10n_br_fiscal.cfop | form | New |
cfop_search |
l10n_br_fiscal.cfop.search | l10n_br_fiscal.cfop | search | New |
cfop_tree |
l10n_br_fiscal.cfop.tree | l10n_br_fiscal.cfop | tree | New |
city_taxation_code_form_view |
city.taxation.code.form (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | form | New |
city_taxation_code_search_view |
city.taxation.code.search (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | search | New |
city_taxation_code_tree_view |
city.taxation.code.tree (in l10n_br_fiscal) | l10n_br_fiscal.city.taxation.code | tree | New |
cnae_form |
l10n_br_fiscal.cnae.form | l10n_br_fiscal.cnae | form | New |
cnae_search |
l10n_br_fiscal.cnae.search | l10n_br_fiscal.cnae | search | New |
cnae_tree |
l10n_br_fiscal.cnae.tree | l10n_br_fiscal.cnae | tree | New |
comment_form |
l10n_br_fiscal.comment.form | l10n_br_fiscal.comment | form | New |
comment_search |
l10n_br_fiscal.comment.search | l10n_br_fiscal.comment | search | New |
comment_tree |
l10n_br_fiscal.comment.tree | l10n_br_fiscal.comment | tree | New |
cst_form |
l10n_br_fiscal.cst.form | l10n_br_fiscal.cst | form | New |
cst_search |
l10n_br_fiscal.cst.search | l10n_br_fiscal.cst | search | New |
cst_tree |
l10n_br_fiscal.cst.tree | l10n_br_fiscal.cst | tree | New |
dfe_documents_tree |
l10n_br_fiscal.dfe.nfe.tree | l10n_br_fiscal.document | tree | Inherits l10n_br_fiscal.document_tree |
dfe_form |
l10n_br_fiscal.dfe.form | l10n_br_fiscal.dfe | form | New |
dfe_manifestacao_tree |
l10n_br_fiscal.dfe.manifestacao.tree | l10n_br_fiscal.mdfe | field | Inherits l10n_br_fiscal.view_l10n_br_fiscal_mdfe_tree |
dfe_search |
l10n_br_fiscal.dfe.search | l10n_br_fiscal.dfe | search | New |
dfe_tree |
l10n_br_fiscal.dfe.tree | l10n_br_fiscal.dfe | tree | New |
document_cancel_wizard_form |
l10n_br_fiscal.document.cancel.wizard | l10n_br_fiscal.document.cancel.wizard | form | New |
document_correction_wizard_form |
l10n_br_fiscal.document.correction.wizard.form | l10n_br_fiscal.document.correction.wizard | form | New |
document_email_form |
l10n_br_fiscal.document.email.form | l10n_br_fiscal.document.email | form | New |
document_email_tree |
l10n_br_fiscal.document.email.tree | l10n_br_fiscal.document.email | tree | New |
document_fiscal_line_mixin_form |
l10n_br_fiscal.document.line.mixin.form | l10n_br_fiscal.document.line | form | New |
document_fiscal_mixin_form |
l10n_br_fiscal.document.mixin.form | l10n_br_fiscal.document.mixin | form | New |
document_form |
l10n_br_fiscal.document.form | l10n_br_fiscal.document | form | New |
document_line_form |
l10n_br_fiscal.document.line.form | l10n_br_fiscal.document.line | form | New |
document_related_form |
l10n_br_fiscal.document.related.form | l10n_br_fiscal.document.related | form | New |
document_related_tree |
l10n_br_fiscal.document.related.tree | l10n_br_fiscal.document.related | tree | New |
document_search |
l10n_br_fiscal.document.search | l10n_br_fiscal.document | search | New |
document_serie_form |
l10n_br_fiscal.document.serie.form | l10n_br_fiscal.document.serie | form | New |
document_serie_tree |
l10n_br_fiscal.document.serie.tree | l10n_br_fiscal.document.serie | tree | New |
document_tree |
l10n_br_fiscal.document.tree | l10n_br_fiscal.document | tree | New |
document_type_form |
l10n_br_fiscal.document.type.form | l10n_br_fiscal.document.type | form | New |
document_type_tree |
l10n_br_fiscal.document.type.tree | l10n_br_fiscal.document.type | tree | New |
event_form |
l10n_br_fiscal.event.form | l10n_br_fiscal.event | form | New |
event_search |
l10n_br_fiscal.event.search | l10n_br_fiscal.event | search | New |
event_tree |
l10n_br_fiscal.event.tree | l10n_br_fiscal.event | tree | New |
fiscal_res_company_form |
l10n_br_fiscal.res.company.form | res.company | notebook | Inherits base.view_company_form |
invalidate_number_form |
l10n_br_fiscal.invalidate.number.form | l10n_br_fiscal.invalidate.number | form | New |
invalidate_number_search |
l10n_br_fiscal.invalidate.number.search | l10n_br_fiscal.invalidate.number | search | New |
invalidate_number_tree |
l10n_br_fiscal.invalidate.number.tree | l10n_br_fiscal.invalidate.number | tree | New |
invalidate_number_wizard |
l10n_br_fiscal.invalidate.number.wizard | l10n_br_fiscal.invalidate.number.wizard | form | New |
l10n_br_fiscal_res_config_settings_form |
l10n_br_fiscal.res.config.settings.view.form | res.config.settings | xpath | Inherits base.res_config_settings_view_form |
nbm_form |
l10n_br_fiscal.nbm.form | l10n_br_fiscal.nbm | form | New |
nbm_kanban |
l10n_br_fiscal.nbm.kanban | l10n_br_fiscal.ncm | kanban | New |
nbm_search |
l10n_br_fiscal.nbm.search | l10n_br_fiscal.nbm | search | New |
nbm_tree |
l10n_br_fiscal.nbm.tree | l10n_br_fiscal.nbm | tree | New |
nbs_form |
l10n_br_fiscal.nbs.form | l10n_br_fiscal.nbs | form | New |
nbs_kanban |
l10n_br_fiscal.nbs.kanban | l10n_br_fiscal.nbs | kanban | New |
nbs_search |
l10n_br_fiscal.nbs.search | l10n_br_fiscal.nbs | search | New |
nbs_tree |
l10n_br_fiscal.nbs.tree | l10n_br_fiscal.nbs | tree | New |
ncm_form |
l10n_br_fiscal.ncm.form | l10n_br_fiscal.ncm | form | New |
ncm_kanban |
l10n_br_fiscal.ncm.kanban | l10n_br_fiscal.ncm | kanban | New |
ncm_search |
l10n_br_fiscal.ncm.search | l10n_br_fiscal.ncm | search | New |
ncm_tree |
l10n_br_fiscal.ncm.tree | l10n_br_fiscal.ncm | tree | New |
operation_dashboard_kanban |
l10n_br_fiscal.operation.dashboard.kanban | l10n_br_fiscal.operation | kanban | New |
operation_form |
l10n_br_fiscal.operation.form | l10n_br_fiscal.operation | form | New |
operation_line_form |
l10n_br_fiscal.operation.line.form | l10n_br_fiscal.operation.line | form | New |
operation_line_tree |
l10n_br_fiscal.operation.line.tree | l10n_br_fiscal.operation.line | tree | New |
operation_search |
l10n_br_fiscal.operation.search | l10n_br_fiscal.operation | search | New |
operation_tree |
l10n_br_fiscal.operation.tree | l10n_br_fiscal.operation | tree | New |
partner_form |
l10n_br_fiscal.partner.form | res.partner | group | Inherits l10n_br_base.l10n_br_base_partner_form |
partner_profile_form |
l10n_br_fiscal.partner.profile.form | l10n_br_fiscal.partner.profile | form | New |
partner_profile_search |
l10n_br_fiscal.partner.profile.search | l10n_br_fiscal.partner.profile | search | New |
partner_profile_tree |
l10n_br_fiscal.partner.profile.tree | l10n_br_fiscal.partner.profile | tree | New |
product_form |
l10n_br_fiscal.product.product.form | product.product | xpath | Inherits product.product_normal_form_view |
product_genre_form |
l10n_br_fiscal.product.genre.form | l10n_br_fiscal.product.genre | form | New |
product_genre_search |
l10n_br_fiscal.product.genre.search | l10n_br_fiscal.product.genre | search | New |
product_genre_tree |
l10n_br_fiscal.product.genre.tree | l10n_br_fiscal.product.genre | tree | New |
product_search |
l10n_br_fiscal.product.product.search | product.product | field | Inherits product.product_search_form_view |
product_template_form |
l10n_br_fiscal.product.template.form | product.template | xpath | Inherits product.product_template_only_form_view |
product_template_search |
l10n_br_fiscal.product.template.search | product.template | field | Inherits product.product_template_search_view |
product_template_tree |
product.template.tree | product.template | tree | New |
product_tree |
product.product.tree | product.product | tree | New |
service_type_form |
l10n_br_fiscal.service.type.form | l10n_br_fiscal.service.type | form | New |
service_type_kanban |
l10n_br_fiscal.service.type.kanban | l10n_br_fiscal.service.type | kanban | New |
service_type_search |
l10n_br_fiscal.service.type.search | l10n_br_fiscal.service.type | search | New |
service_type_tree |
l10n_br_fiscal.service.type.tree | l10n_br_fiscal.service.type | tree | New |
simplified_tax_form |
l10n_br_fiscal.simplified.tax.form | l10n_br_fiscal.simplified.tax | form | New |
simplified_tax_range_tree |
l10n_br_fiscal.simplified.tax.range.tree | l10n_br_fiscal.simplified.tax.range | tree | New |
simplified_tax_tree |
l10n_br_fiscal.simplified.tax.tree | l10n_br_fiscal.simplified.tax | tree | New |
source_document_tree |
source.document.tree | l10n_br_fiscal.subsequent.document | tree | New |
subsequent_document_tree |
l10n_br_fiscal.subsequent.document.tree | l10n_br_fiscal.subsequent.document | tree | New |
subsequent_operation_tree |
l10n_br_fiscal.subsequent.operation.tree | l10n_br_fiscal.subsequent.operation | tree | New |
tax_definition_form |
l10n_br_fiscal.tax.definition.form | l10n_br_fiscal.tax.definition | form | New |
tax_definition_icms_tree |
l10n_br_fiscal.tax.definition.icms.tree | l10n_br_fiscal.tax.definition | tree | New |
tax_definition_tree |
l10n_br_fiscal.tax.definition.tree | l10n_br_fiscal.tax.definition | tree | New |
tax_estimate_tree |
l10n_br_fiscal.tax.estimate.tree | l10n_br_fiscal.tax.estimate | tree | New |
tax_form |
l10n_br_fiscal.tax.form | l10n_br_fiscal.tax | form | New |
tax_group_form |
l10n_br_fiscal.tax.group.form | l10n_br_fiscal.tax.group | form | New |
tax_group_search |
l10n_br_fiscal.tax.group.search | l10n_br_fiscal.tax.group | search | New |
tax_group_tree |
l10n_br_fiscal.tax.group.tree | l10n_br_fiscal.tax.group | tree | New |
tax_icms_regulation_form |
l10n_br_fiscal.icms.regulation.form | l10n_br_fiscal.icms.regulation | form | New |
tax_icms_regulation_search |
l10n_br_fiscal.icms.regulation.search | l10n_br_fiscal.icms.regulation | search | New |
tax_icms_regulation_tree |
l10n_br_fiscal.icms.regulation.tree | l10n_br_fiscal.icms.regulation | tree | New |
tax_icms_relief_form |
l10n_br_fiscal.icms.relief.form | l10n_br_fiscal.icms.relief | form | New |
tax_icms_relief_search |
l10n_br_fiscal.icms.relief.search | l10n_br_fiscal.icms.relief | search | New |
tax_icms_relief_tree |
l10n_br_fiscal.icms.relief.tree | l10n_br_fiscal.icms.relief | tree | New |
tax_ipi_control_seal_form |
l10n_br_fiscal.tax.ipi.control.seal.form | l10n_br_fiscal.tax.ipi.control.seal | form | New |
tax_ipi_control_seal_search |
l10n_br_fiscal.tax.ipi.control.seal.search | l10n_br_fiscal.tax.ipi.guideline.class | search | New |
tax_ipi_control_seal_tree |
l10n_br_fiscal.tax.ipi.control.seal.tree | l10n_br_fiscal.tax.ipi.control.seal | tree | New |
tax_ipi_guideline_class_form |
l10n_br_fiscal.tax.ipi.guideline.class.form | l10n_br_fiscal.tax.ipi.guideline.class | form | New |
tax_ipi_guideline_class_search |
l10n_br_fiscal.tax.ipi.guideline.class.search | l10n_br_fiscal.tax.ipi.guideline.class | search | New |
tax_ipi_guideline_class_tree |
l10n_br_fiscal.tax.ipi.guideline.class.tree | l10n_br_fiscal.tax.ipi.guideline.class | tree | New |
tax_ipi_guideline_form |
l10n_br_fiscal.tax.ipi.guideline.form | l10n_br_fiscal.tax.ipi.guideline | form | New |
tax_ipi_guideline_search |
l10n_br_fiscal.tax.ipi.guideline.search | l10n_br_fiscal.tax.ipi.guideline | search | New |
tax_ipi_guideline_tree |
l10n_br_fiscal.tax.ipi.guideline.tree | l10n_br_fiscal.tax.ipi.guideline | tree | New |
tax_pis_cofins_base_form |
l10n_br_fiscal.tax.pis.cofins.base.form | l10n_br_fiscal.tax.pis.cofins.base | form | New |
tax_pis_cofins_base_search |
l10n_br_fiscal.tax.pis.cofins.base.search | l10n_br_fiscal.tax.pis.cofins.base | search | New |
tax_pis_cofins_base_tree |
l10n_br_fiscal.tax.pis.cofins.base.tree | l10n_br_fiscal.tax.pis.cofins.base | tree | New |
tax_pis_cofins_credit_form |
l10n_br_fiscal.tax.pis.cofins.credit.form | l10n_br_fiscal.tax.pis.cofins.credit | form | New |
tax_pis_cofins_credit_search |
l10n_br_fiscal.tax.pis.cofins.credit.search | l10n_br_fiscal.tax.pis.cofins.credit | search | New |
tax_pis_cofins_credit_tree |
l10n_br_fiscal.tax.pis.cofins.credit.tree | l10n_br_fiscal.tax.pis.cofins.credit | tree | New |
tax_pis_cofins_form |
l10n_br_fiscal.pis.cofins.tax.form | l10n_br_fiscal.tax.pis.cofins | form | New |
tax_pis_cofins_search |
l10n_br_fiscal.tax.search | l10n_br_fiscal.tax.pis.cofins | search | New |
tax_pis_cofins_tree |
l10n_br_fiscal.tax.pis.cofins.tree | l10n_br_fiscal.tax.pis.cofins | tree | New |
tax_search |
l10n_br_fiscal.tax.search | l10n_br_fiscal.tax | search | New |
tax_tree |
l10n_br_fiscal.tax.tree | l10n_br_fiscal.tax | tree | New |
uom_uom_form_view |
uom.uom.form (in l10n_br_fiscal) | uom.uom | field | Inherits uom.product_uom_form_view |
uom_uom_tree_view |
uom.uom.tree (in l10n_br_fiscal) | uom.uom | field | Inherits uom.product_uom_tree_view |
view_dfe_xml_tree |
dfe.xml.tree | l10n_br_fiscal.dfe_xml | tree | New |
view_l10n_br_fiscal_mdfe_filter |
l10n_br_fiscal_mdfe.select | l10n_br_fiscal.mdfe | search | New |
view_l10n_br_fiscal_mdfe_form |
l10n_br_fiscal_mdfe.form | l10n_br_fiscal.mdfe | form | New |
view_l10n_br_fiscal_mdfe_tree |
l10n_br_fiscal_mdfe.tree | l10n_br_fiscal.mdfe | tree | New |
wizard_document_status_form |
wizard.l10n_br_fiscal.base.wizard.mixin (in l10n_br_fiscal) | l10n_br_fiscal.document.status.wizard | form | New |
amount_freight_value
Float
amount_insurance_value
Float
amount_other_value
Float
set_invoice_costs_ratio(self)
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
string='Fiscal Document'
document_key
Char
string='Document Key'
document_number
Char
string='Document Number'
document_serie
Char
string='Document Serie'
document_status
Text
readonly=True
string='Status'
document_type
Char
related='document_type_id.code'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Document Type'
event_id
Many2one → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
string='Fiscal Event'
justification
Text
string='Justification'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
rps_number
Char
string='RPS Number'
state
Selection
default='init'
readonly=True
selection=[('init', 'init'), ('confirm', 'confirm'), ('done', 'done')]
string='State'
button_back(self)
default_get(self, fields_list)
active
Boolean
default=True
string='Active'
date_expiration
Datetime
readonly=True
store=True
string='Expiration Date'
date_start
Datetime
readonly=True
store=True
string='Start Date'
file
Binary
prefetch=True
required=True
string='file'
file_name
Char
compute='_compute_name'
size=255
string='File Name'
is_valid
Boolean
compute='_compute_is_valid'
string='Is Valid?'
issuer_name
Char
readonly=True
size=120
store=True
string='Issuer'
name
Char
compute='_compute_name'
readonly=True
string='Name'
owner_cnpj_cpf
Char
readonly=True
size=18
store=True
string='CNPJ/CPF'
owner_name
Char
readonly=True
size=120
store=True
string='Owner'
password
Char
required=True
string='Password'
subtype
Selection
default=CERTIFICATE_SUBTYPE_DEFAULT
required=True
selection=CERTIFICATE_SUBTYPE
string='Document SubType'
type
Selection
default=CERTIFICATE_TYPE_DEFAULT
required=True
selection=CERTIFICATE_TYPE
string='Certificate Type'
create(self, values)
update_certificate_data(self, values)
write(self, values)
code
Char
size=9
code_unmasked
Char
size=7
item
Char
required=True
string='Item'
name
Text
index=True
required=True
string='Name'
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='cest_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
readonly=True
relation='fiscal_cest_ncm_rel'
string='NCMs'
ncms
Char
string='NCM'
product_tmpl_ids
One2many
inverse_name='cest_id'
segment
Selection
required=True
selection=CEST_SEGMENT
string='Segment'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='cest_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_cest_rel'
string='Tax Definition'
action_search_ncms(self)
create(self, values)
write(self, values)
account_move
Boolean
default=True
string='Account Move?'
assent_move
Boolean
default=False
string='Assent Move?'
cfop_inverse_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('destination', '=', destination),('type_in_out', '!=', type_in_out)]"
string='Inverse CFOP'
cfop_return_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('destination', '=', destination),('type_in_out', '!=', type_in_out),('type_move', 'in', ('sale_refund', 'purchase_refund', 'return_out', 'return_in'))]"
string='Return CFOP'
code
Char
size=4
destination
Selection
compute='_compute_destination'
help='Identifies the operation destination.'
selection=CFOP_DESTINATION
store=True
finance_move
Boolean
default=True
string='Finance Moves?'
ind_anula
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Revocation?'
ind_comb
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes - Without mandatory transportation information'), ('2', '2 - Yes - With mandatory transportation information')]
string='Fuel?'
ind_comunica
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Communication?'
ind_cte
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Used in CTe'
ind_devol
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Return?'
ind_nfe
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Used in NFe'
ind_remes
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Shipment?'
ind_retor
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Regress?'
ind_transp
Selection
default='0'
required=True
selection=[('0', '0 - No'), ('1', '1 - Yes')]
string='Transport?'
is_import
Boolean
compute='_compute_is_import'
string='Is Import?'
small_name
Char
required=True
size=32
string='Small Name'
stock_move
Boolean
default=True
string='Stock Moves?'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='cfop_id'
string='Tax Definition'
type_in_out
Selection
default=FISCAL_OUT
required=True
selection=FISCAL_IN_OUT
string='Type'
type_move
Selection
default=CFOP_TYPE_MOVE_DEFAULT
required=True
selection=CFOP_TYPE_MOVE
string='Type Move'
No public methods.
city_id
Many2one → res.city
comodel_name='res.city'
domain="[('state_id', '=', state_id)]"
string='City'
cnae_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='CNAE Code'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain=[('internal_type', '=', 'normal')]
string='Service Type'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='State'
No public methods.
child_ids
One2many → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
inverse_name='parent_id'
string='Children CNAEs'
code
Char
size=16
internal_type
Selection
default='normal'
required=True
selection=[('view', 'View'), ('normal', 'Normal')]
string='Internal Type'
parent_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='Parent CNAE'
version
Char
required=True
size=16
string='Version'
No public methods.
comment
Text
required=True
string='Comment'
comment_type
Selection
default=COMMENT_TYPE_COMMERCIAL
required=True
selection=COMMENT_TYPE
string='Comment Type'
date_begin
Date
string='Initial Date'
date_end
Date
string='Final Date'
name
Char
required=True
string='Name'
object
Selection
required=True
selection=FISCAL_COMMENT_OBJECTS
string='Object'
object_id
Reference
ondelete='set null'
selection=FISCAL_COMMENT_OBJECTS
string='Reference'
sequence
Integer
default=10
string='Sequence'
test_comment
Text
string='Test Comment'
action_test_message(self)
compute_message(self, vals, manual_comment=None)
format_amount(self, env, amount, currency)
name_get(self)
code
Char
size=4
cst_type
Selection
required=True
selection=FISCAL_IN_OUT_ALL
string='Type'
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
required=True
string='Fiscal Tax Group'
No public methods.
active
Boolean
default=True
code
Char
index=True
required=True
string='Code'
code_unmasked
Char
compute='_compute_code_unmasked'
index=True
store=True
string='Unmasked Code'
name
Text
index=True
required=True
string='Name'
action_archive(self)
action_unarchive(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
name_get(self)
estimate_tax_imported
Float
compute='_compute_amount'
digits=dp.get_precision('Fiscal Tax Percent')
readonly=True
store=True
string='Estimate Tax Imported Percent'
estimate_tax_national
Float
compute='_compute_amount'
digits=dp.get_precision('Fiscal Tax Percent')
readonly=True
store=True
string='Estimate Tax Nacional Percent'
tax_estimate_ids
One2many → l10n_br_fiscal.tax.estimate
comodel_name='l10n_br_fiscal.tax.estimate'
readonly=True
string='Estimate Taxes'
action_ibpt_inquiry(self)
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
product_tmpl_ids
One2many → product.template
comodel_name='product.template'
readonly=True
string='Products'
product_tmpl_qty
Integer
compute='_compute_product_tmpl_infos'
string='Products Quantity'
No public methods.
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
imported_dfe_ids
One2many → l10n_br_fiscal.mdfe
comodel_name='l10n_br_fiscal.mdfe'
inverse_name='dfe_id'
string='Manifestações do Destinatário Importadas'
imported_document_ids
One2many → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
inverse_name='dfe_id'
string='Imported Documents'
last_nsu
Char
default='0'
size=25
string='Last NSU'
last_query
Datetime
string='Last query'
recipient_xml_ids
One2many → l10n_br_fiscal.dfe_xml
comodel_name='l10n_br_fiscal.dfe_xml'
inverse_name='dfe_id'
string='XML Documents'
use_cron
Boolean
default=False
help='If activated, allows new manifestations to be automatically searched with a Cron'
string='Download new documents automatically'
action_manage_manifestations(self)
name_get(self)
dfe_id
Many2one → l10n_br_fiscal.dfe
comodel_name='l10n_br_fiscal.dfe'
string='DF-e Consult'
xml
Char
size=5000
string='XML'
xml_type
Selection
string='XML Type'
args: [('0', 'Envio'), ('1', 'Resposta'), ('2', 'Resposta-LoteDistDFeInt'), ('3', 'Resposta-LoteDistDFeInt-DocZip(NFe)')]
No public methods.
active
Boolean
default=True
string='Active'
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
correction_event_ids
One2many → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
copy=False
domain=[('type', '=', '14')]
inverse_name='document_id'
readonly=True
string='Correction Events'
date_in_out
Datetime
copy=False
string='Date IN/OUT'
dfe_id
Many2one → l10n_br_fiscal.dfe
comodel_name='l10n_br_fiscal.dfe'
string='DF-e Consult'
document_date
Datetime
copy=False
string='Document Date'
document_electronic
Boolean
related='document_type_id.electronic'
store=True
string='Electronic?'
document_key
Char
copy=False
index=True
string='Key'
document_number
Char
copy=False
index=True
string='Document Number'
document_related_ids
One2many → l10n_br_fiscal.document.related
comodel_name='l10n_br_fiscal.document.related'
inverse_name='document_id'
string='Fiscal Document Related'
document_serie
Char
string='Serie Number'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
domain="[('active', '=', True),('document_type_id', '=', document_type_id)]"
document_subsequent_generated
Boolean
compute='_compute_document_subsequent_generated'
default=False
string='Subsequent documents generated?'
document_subsequent_ids
One2many → l10n_br_fiscal.subsequent.document
comodel_name='l10n_br_fiscal.subsequent.document'
copy=True
inverse_name='source_document_id'
document_type
Char
related='document_type_id.code'
store=True
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
edoc_purpose
Selection
default=EDOC_PURPOSE_NORMAL
selection=EDOC_PURPOSE
string='Finalidade'
event_ids
One2many → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
copy=False
inverse_name='document_id'
readonly=True
string='Events'
fiscal_operation_id
Many2one
domain="[('state', '=', 'approved'), '|', ('fiscal_operation_type', '=', fiscal_operation_type), ('fiscal_operation_type', '=', 'all')]"
fiscal_operation_type
Selection
store=True
line_ids
One2many → l10n_br_fiscal.document.line
comodel_name='l10n_br_fiscal.document.line'
copy=True
inverse_name='document_id'
string='Document Lines'
name
Char
compute='_compute_name'
index=True
store=True
operation_name
Char
copy=False
string='Operation Name'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
partner_shipping_id
Many2one → res.partner
comodel_name='res.partner'
string='Shipping Address'
rps_number
Char
copy=False
index=True
string='RPS Number'
state
Selection
related='state_edoc'
string='State'
user_id
Many2one → res.users
comodel_name='res.users'
default=<expr>
index=True
string='User'
xml_error_message
Text
copy=False
readonly=True
string='XML validation errors'
action_create_return(self)
action_send_email(self)
cancel_edoc(self)
create(self, values)
name_get(self)
send_email(self, state)
unlink(self)
No new fields.
Public methods (2)do_cancel(self)
doit(self)
No new fields.
Public methods (1)doit(self)
authorization_date
Datetime
readonly=True
related='authorization_event_id.protocol_date'
string='Authorization Date'
authorization_event_id
Many2one → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
copy=False
readonly=True
string='Authorization Event'
authorization_file_id
Many2one → ir.attachment
comodel_name='ir.attachment'
ondelete='restrict'
readonly=True
related='authorization_event_id.file_response_id'
string='Authorization File XML'
authorization_protocol
Char
readonly=True
related='authorization_event_id.protocol_number'
string='Authorization Protocol'
cancel_date
Datetime
readonly=True
related='cancel_event_id.protocol_date'
string='Cancel Date'
cancel_event_id
Many2one → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
copy=False
string='Cancel Event'
cancel_file_id
Many2one → ir.attachment
comodel_name='ir.attachment'
ondelete='restrict'
readonly=True
related='cancel_event_id.file_response_id'
string='Cancel File XML'
cancel_protocol_number
Char
readonly=True
related='cancel_event_id.protocol_number'
string='Cancel Protocol Number'
document_version
Char
default='4.00'
readonly=True
string='Version'
file_report_id
Many2one → ir.attachment
comodel_name='ir.attachment'
copy=False
ondelete='restrict'
readonly=True
string='Document Report'
invalidate_date
Datetime
readonly=True
related='invalidate_event_id.protocol_date'
string='Invalidate Date'
invalidate_event_id
Many2one → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
copy=False
string='Invalidate Event'
invalidate_file_id
Many2one → ir.attachment
comodel_name='ir.attachment'
ondelete='restrict'
readonly=True
related='invalidate_event_id.file_response_id'
string='Invalidate File XML'
invalidate_protocol_number
Char
readonly=True
related='invalidate_event_id.protocol_number'
string='Invalidate Protocol Number'
is_edoc_printed
Boolean
readonly=True
string='Is Printed?'
issuer
Selection
default=DOCUMENT_ISSUER_COMPANY
required=True
selection=DOCUMENT_ISSUER
string='Issuer'
send_file_id
Many2one → ir.attachment
comodel_name='ir.attachment'
ondelete='restrict'
readonly=True
related='authorization_event_id.file_request_id'
string='Send Document File XML'
status_code
Char
copy=False
string='Status Code'
status_description
Char
compute='_compute_status_description'
copy=False
string='Status Description'
status_name
Char
copy=False
string='Status Name'
make_pdf(self)
serialize(self)
view_pdf(self)
view_xml(self)
active
Boolean
default=True
string='Active'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
help='Select the type of document that will be applied to the email templates definitions.'
string='Fiscal Document Type'
email_template_id
Many2one → mail.template
comodel_name='mail.template'
domain=[('model', '=', 'l10n_br_fiscal.document')]
help='Select the email template that will be sent when this document state change.'
required=True
string='Fiscal Document E-mail Template'
issuer
Selection
default=DOCUMENT_ISSUER_COMPANY
required=True
selection=DOCUMENT_ISSUER
string='Issuer'
name
Char
compute='_compute_name'
copy=False
readonly=True
store=True
string='Name'
state_edoc
Selection
copy=False
index=True
selection=SITUACAO_EDOC
string='Situação e-doc'
No public methods.
company_city_id
Many2one → res.city
comodel_name='res.city'
related='company_id.city_id'
string='Company City'
company_cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
related='company_id.cnae_main_id'
string='Company Main CNAE'
company_cnpj_cpf
Char
related='company_id.cnpj_cpf'
string='Company CNPJ'
company_country_id
Many2one → res.country
comodel_name='res.country'
related='company_id.country_id'
string='Company Country'
company_district
Char
related='company_id.district'
string='Company District'
company_id
Many2one → res.company
comodel_name='res.company'
company_inscr_est
Char
related='company_id.inscr_est'
string='Company State Tax Number'
company_inscr_mun
Char
related='company_id.inscr_mun'
string='Company Municipal Tax Number'
company_legal_name
Char
related='company_id.legal_name'
string='Company Legal Name'
company_name
Char
related='company_id.name'
size=128
string='Company Name'
company_number
Char
related='company_id.street_number'
string='Company Number'
company_phone
Char
related='company_id.phone'
string='Company Phone'
company_state_id
Many2one → res.country.state
comodel_name='res.country.state'
related='company_id.state_id'
string='Company State'
company_street
Char
related='company_id.street_name'
string='Company Street'
company_street2
Char
related='company_id.street2'
string='Company Street2'
company_suframa
Char
related='company_id.suframa'
string='Company Suframa'
company_tax_framework
Selection
related='company_id.tax_framework'
string='Company Tax Framework'
company_zip
Char
related='company_id.zip'
string='Company ZIP'
partner_city_id
Many2one → res.city
comodel_name='res.city'
related='partner_id.city_id'
string='Partner City'
partner_cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
related='partner_id.cnae_main_id'
string='Main CNAE'
partner_cnpj_cpf
Char
related='partner_id.cnpj_cpf'
string='CNPJ'
partner_country_id
Many2one → res.country
comodel_name='res.country'
related='partner_id.country_id'
string='Partner Country'
partner_district
Char
related='partner_id.district'
string='Partner District'
partner_id
Many2one → res.partner
comodel_name='res.partner'
partner_ind_ie_dest
Selection
related='partner_id.ind_ie_dest'
string='Contribuinte do ICMS'
partner_inscr_est
Char
related='partner_id.inscr_est'
string='State Tax Number'
partner_inscr_mun
Char
related='partner_id.inscr_mun'
string='Municipal Tax Number'
partner_is_company
Boolean
related='partner_id.is_company'
string='Partner Is Company?'
partner_legal_name
Char
related='partner_id.legal_name'
string='Legal Name'
partner_name
Char
related='partner_id.name'
string='Partner Name'
partner_number
Char
related='partner_id.street_number'
string='Partner Number'
partner_phone
Char
related='partner_id.phone'
string='Partner Phone'
partner_state_id
Many2one → res.country.state
comodel_name='res.country.state'
related='partner_id.state_id'
string='Partner State'
partner_street
Char
related='partner_id.street_name'
string='Partner Street'
partner_street2
Char
related='partner_id.street2'
string='Partner Street2'
partner_suframa
Char
related='partner_id.suframa'
string='Suframa'
partner_tax_framework
Selection
related='partner_id.tax_framework'
string='Tax Framework'
partner_zip
Char
related='partner_id.zip'
string='Partner Zip'
processador_edoc
Selection
related='company_id.processador_edoc'
No public methods.
active
Boolean
default=True
string='Active'
amount_fiscal
Monetary
compute='_compute_amounts'
string='Amount Fiscal'
amount_tax
Monetary
compute='_compute_amounts'
string='Amount Tax'
amount_total
Monetary
compute='_compute_amounts'
string='Amount Total'
amount_untaxed
Monetary
compute='_compute_amounts'
string='Amount Untaxed'
company_id
Many2one → res.company
comodel_name='res.company'
related='document_id.company_id'
store=True
string='Company'
currency_id
Many2one → res.currency
comodel_name='res.currency'
related='company_id.currency_id'
string='Currency'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
ondelete='cascade'
string='Document'
fiscal_operation_id
Many2one
domain=<expr>
ind_final
Selection
related='document_id.ind_final'
name
Text
string='Name'
partner_id
Many2one
related='document_id.partner_id'
store=True
product_id
Many2one → product.product
comodel_name='product.product'
string='Product'
tax_framework
Selection
related='company_id.tax_framework'
string='Tax Framework'
unlink(self)
additional_data
Char
string='Additional Data'
allow_csll_irpj
Boolean
compute='_compute_allow_csll_irpj'
help="Indicates potential 'CSLL' and 'IRPJ' tax charges."
amount_fiscal
Monetary
compute='_compute_amounts'
string='Amount Fiscal'
amount_tax
Monetary
compute='_compute_amounts'
string='Amount Tax'
amount_tax_included
Monetary
string='Amount Tax Included'
amount_tax_not_included
Monetary
string='Amount Tax not Included'
amount_tax_withholding
Monetary
string='(-) Amount Tax Withholding'
amount_taxed
Monetary
compute='_compute_amounts'
string='Amount Taxed'
amount_total
Monetary
compute='_compute_amounts'
string='Amount Total'
amount_untaxed
Monetary
compute='_compute_amounts'
string='Amount Untaxed'
cest_id
Many2one → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='CEST'
cfop_destination
Selection
related='cfop_id.destination'
string='CFOP Destination'
cfop_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type)]"
string='CFOP'
city_taxation_code_id
Many2one → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
string='City Taxation Code'
cnae_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
string='CNAE Code'
cofins_base
Monetary
string='COFINS Base'
cofins_base_id
Many2one → l10n_br_fiscal.tax.pis.cofins.base
comodel_name='l10n_br_fiscal.tax.pis.cofins.base'
string='COFINS Base Code'
cofins_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='COFINS Base Type'
cofins_credit_id
Many2one → l10n_br_fiscal.tax.pis.cofins.credit
comodel_name='l10n_br_fiscal.tax.pis.cofins.credit'
string='COFINS Credit Code'
cofins_cst_code
Char
related='cofins_cst_id.code'
store=True
string='COFINS CST Code'
cofins_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'cofins')]"
string='CST COFINS'
cofins_percent
Float
string='COFINS %'
cofins_reduction
Float
string='COFINS % Reduction'
cofins_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS)]
string='Tax COFINS'
cofins_value
Monetary
string='COFINS Value'
cofins_wh_base
Monetary
string='COFINS RET Base'
cofins_wh_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='COFINS WH Base Type'
cofins_wh_percent
Float
string='COFINS RET %'
cofins_wh_reduction
Float
string='COFINS RET % Reduction'
cofins_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_WH)]
string='Tax COFINS RET'
cofins_wh_value
Monetary
string='COFINS RET Value'
cofinsst_base
Monetary
string='COFINS ST Base'
cofinsst_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='COFINS ST Base Type'
cofinsst_cst_code
Char
related='cofinsst_cst_id.code'
store=True
string='COFINS ST CST Code'
cofinsst_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'cofinsst')]"
string='CST COFINS ST'
cofinsst_percent
Float
string='COFINS ST %'
cofinsst_reduction
Float
string='COFINS ST % Reduction'
cofinsst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_ST)]
string='Tax COFINS ST'
cofinsst_value
Monetary
string='COFINS ST Value'
comment_ids
Many2many → l10n_br_fiscal.comment
column1='document_line_mixin_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_LINE)]
relation='l10n_br_fiscal_document_line_mixin_comment_rel'
string='Comments'
csll_base
Monetary
string='CSLL Base'
csll_percent
Float
string='CSLL %'
csll_reduction
Float
string='CSLL % Reduction'
csll_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL)]
string='Tax CSLL'
csll_value
Monetary
string='CSLL Value'
csll_wh_base
Monetary
string='CSLL RET Base'
csll_wh_percent
Float
string='CSLL RET %'
csll_wh_reduction
Float
string='CSLL RET % Reduction'
csll_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL_WH)]
string='Tax CSLL RET'
csll_wh_value
Monetary
string='CSLL RET Value'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
string='Currency'
discount_value
Monetary
string='Discount Value'
estimate_tax
Monetary
string='Estimate Tax'
financial_discount_value
Monetary
compute='_compute_amounts'
string='Financial Discount Value'
financial_total
Monetary
compute='_compute_amounts'
string='Amount Financial'
financial_total_gross
Monetary
compute='_compute_amounts'
string='Amount Financial Gross'
fiscal_genre_code
Char
related='fiscal_genre_id.code'
string='Fiscal Product Genre Code'
fiscal_genre_id
Many2one → l10n_br_fiscal.product.genre
comodel_name='l10n_br_fiscal.product.genre'
string='Fiscal Product Genre'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
default=_default_operation
domain=<expr>
string='Operation'
fiscal_operation_line_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
domain="[('fiscal_operation_id', '=', fiscal_operation_id), ('state', '=', 'approved')]"
string='Operation Line'
fiscal_operation_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_operation_type'
string='Fiscal Operation Type'
fiscal_price
Float
digits=dp.get_precision('Product Price')
string='Fiscal Price'
fiscal_quantity
Float
digits=dp.get_precision('Product Unit of Measure')
string='Fiscal Quantity'
fiscal_tax_ids
Many2many → l10n_br_fiscal.tax
column1='document_id'
column2='fiscal_tax_id'
comodel_name='l10n_br_fiscal.tax'
relation='fiscal_tax_rel'
string='Fiscal Taxes'
fiscal_type
Selection
selection=PRODUCT_FISCAL_TYPE
string='Fiscal Type'
freight_value
Monetary
string='Freight Value'
icms_base
Monetary
string='ICMS Base'
icms_base_type
Selection
default=ICMS_BASE_TYPE_DEFAULT
selection=ICMS_BASE_TYPE
string='ICMS Base Type'
icms_cst_code
Char
related='icms_cst_id.code'
store=True
string='ICMS CST Code'
icms_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('tax_domain', '=', {'1': 'icmssn', '2': 'icmssn', '3': 'icms'}.get(tax_framework))]"
string='CST ICMS'
icms_destination_base
Monetary
string='ICMS Destination Base'
icms_destination_percent
Float
string='ICMS External %'
icms_destination_value
Monetary
string='ICMS Dest. Value'
icms_effective_base
Monetary
string='ICMS Effective Base'
icms_effective_percent
Float
string='ICMS Effective %'
icms_effective_reduction
Float
string='ICMS Effective % Reduction'
icms_effective_value
Monetary
string='ICMS Effective'
icms_origin
Selection
default=ICMS_ORIGIN_DEFAULT
selection=ICMS_ORIGIN
string='ICMS Origin'
icms_origin_percent
Float
string='ICMS Internal %'
icms_origin_value
Monetary
string='ICMS Origin Value'
icms_percent
Float
string='ICMS %'
icms_reduction
Float
string='ICMS % Reduction'
icms_relief_id
Many2one → l10n_br_fiscal.icms.relief
comodel_name='l10n_br_fiscal.icms.relief'
string='ICMS Relief'
icms_relief_value
Monetary
string='ICMS Relief Value'
icms_sharing_percent
Float
string='ICMS Sharing %'
icms_substitute
Monetary
help='Valor do ICMS Próprio do Substituto cobrado em operação anterior'
string='ICMS Substitute'
icms_tax_benefit_code
Char
related='icms_tax_benefit_id.code'
store=True
string='Tax Benefit Code'
icms_tax_benefit_id
Many2one → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('is_benefit', '=', True), ('tax_domain', '=', TAX_DOMAIN_ICMS)]
string='Tax Benefit'
icms_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS)]
string='Tax ICMS'
icms_value
Monetary
string='ICMS Value'
icmsfcp_base
Monetary
string='ICMS FCP Base'
icmsfcp_base_wh
Monetary
string='FCP WH Base'
icmsfcp_percent
Float
string='ICMS FCP %'
icmsfcp_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_FCP)]
string='Tax ICMS FCP'
icmsfcp_value
Monetary
string='ICMS FCP Value'
icmsfcp_value_wh
Monetary
string='FCP WH'
icmsfcp_wh_percent
Float
string='FCP WH %'
icmsfcpst_value
Monetary
string='ICMS FCP ST Value'
icmssn_base
Monetary
string='ICMS SN Base'
icmssn_credit_value
Monetary
string='ICMS SN Credit'
icmssn_percent
Float
string='ICMS SN %'
icmssn_range_id
Many2one → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
default=_default_icmssn_range_id
string='Simplified Range Tax'
icmssn_reduction
Monetary
string='ICMS SN Reduction'
icmssn_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_SN)]
string='Tax ICMS SN'
icmsst_base
Monetary
string='ICMS ST Base'
icmsst_base_type
Selection
default=ICMS_ST_BASE_TYPE_DEFAULT
selection=ICMS_ST_BASE_TYPE
string='ICMS ST Base Type'
icmsst_mva_percent
Float
string='ICMS ST MVA %'
icmsst_percent
Float
string='ICMS ST %'
icmsst_reduction
Float
string='ICMS ST % Reduction'
icmsst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ICMS_ST)]
string='Tax ICMS ST'
icmsst_value
Monetary
string='ICMS ST Value'
icmsst_wh_base
Monetary
string='ICMS ST WH Base'
icmsst_wh_percent
Float
string='ICMS ST WH %'
icmsst_wh_value
Monetary
string='ICMS ST WH Value'
ii_base
Monetary
string='II Base'
ii_customhouse_charges
Monetary
string='Despesas Aduaneiras'
ii_iof_value
Monetary
string='IOF Value'
ii_percent
Float
string='II %'
ii_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_II)]
string='Tax II'
ii_value
Monetary
string='II Value'
inss_base
Monetary
string='INSS Base'
inss_percent
Float
string='INSS %'
inss_reduction
Float
string='INSS % Reduction'
inss_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS)]
string='Tax INSS'
inss_value
Monetary
string='INSS Value'
inss_wh_base
Monetary
string='INSS RET Base'
inss_wh_percent
Float
string='INSS RET %'
inss_wh_reduction
Float
string='INSS RET % Reduction'
inss_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS_WH)]
string='Tax INSS RET'
inss_wh_value
Monetary
string='INSS RET Value'
insurance_value
Monetary
string='Insurance Value'
ipi_base
Monetary
string='IPI Base'
ipi_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='IPI Base Type'
ipi_cst_code
Char
related='ipi_cst_id.code'
store=True
string='IPI CST Code'
ipi_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', '=', fiscal_operation_type),('tax_domain', '=', 'ipi')]"
string='CST IPI'
ipi_guideline_id
Many2one → l10n_br_fiscal.tax.ipi.guideline
comodel_name='l10n_br_fiscal.tax.ipi.guideline'
domain="['|', ('cst_in_id', '=', ipi_cst_id),('cst_out_id', '=', ipi_cst_id)]"
string='IPI Guideline'
ipi_percent
Float
string='IPI %'
ipi_reduction
Float
string='IPI % Reduction'
ipi_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Tax IPI'
ipi_value
Monetary
string='IPI Value'
irpj_base
Monetary
string='IRPJ Base'
irpj_percent
Float
string='IRPJ %'
irpj_reduction
Float
string='IRPJ % Reduction'
irpj_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ)]
string='Tax IRPJ'
irpj_value
Monetary
string='IRPJ Value'
irpj_wh_base
Monetary
string='RPJ RET Base'
irpj_wh_percent
Float
string='IRPJ RET %'
irpj_wh_reduction
Float
string='IRPJ RET % Reduction'
irpj_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ_WH)]
string='Tax IRPJ RET'
irpj_wh_value
Monetary
string='IRPJ RET Value'
issqn_base
Monetary
string='ISSQN Base'
issqn_deduction_amount
Monetary
string='ISSQN Deduction Value'
issqn_desc_cond_amount
Monetary
string='ISSQN Discount Cond'
issqn_desc_incond_amount
Monetary
string='ISSQN Discount Incond'
issqn_eligibility
Selection
default=ISSQN_ELIGIBILITY_DEFAULT
selection=ISSQN_ELIGIBILITY
string='ISSQN Eligibility'
issqn_fg_city_id
Many2one → res.city
comodel_name='res.city'
string='ISSQN City'
issqn_incentive
Selection
default=ISSQN_INCENTIVE_DEFAULT
selection=ISSQN_INCENTIVE
string='ISSQN Incentive'
issqn_other_amount
Monetary
string='ISSQN Other Value'
issqn_percent
Float
string='ISSQN %'
issqn_reduction
Float
string='ISSQN % Reduction'
issqn_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN)]
string='Tax ISSQN'
issqn_value
Monetary
string='SSQN Value'
issqn_wh_base
Monetary
string='ISSQN RET Base'
issqn_wh_percent
Float
string='ISSQN RET %'
issqn_wh_reduction
Float
string='ISSQN RET % Reduction'
issqn_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN_WH)]
string='Tax ISSQN RET'
issqn_wh_value
Monetary
string='ISSQN RET Value'
manual_additional_data
Char
help='Additional data manually entered by user'
string='Manual Additional Data'
nbm_id
Many2one → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='NBM'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
index=True
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
index=True
string='NCM'
other_value
Monetary
string='Other Costs'
partner_company_type
Selection
related='partner_id.company_type'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
partner_is_public_entity
Boolean
related='partner_id.is_public_entity'
partner_order
Char
size=15
string='Partner Order (xPed)'
partner_order_line
Char
size=6
string='Partner Order Line (nItemPed)'
pis_base
Monetary
string='PIS Base'
pis_base_id
Many2one → l10n_br_fiscal.tax.pis.cofins.base
comodel_name='l10n_br_fiscal.tax.pis.cofins.base'
string='PIS Base Code'
pis_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='PIS Base Type'
pis_credit_id
Many2one → l10n_br_fiscal.tax.pis.cofins.credit
comodel_name='l10n_br_fiscal.tax.pis.cofins.credit'
string='PIS Credit'
pis_cst_code
Char
related='pis_cst_id.code'
store=True
string='PIS CST Code'
pis_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'pis')]"
string='CST PIS'
pis_percent
Float
string='PIS %'
pis_reduction
Float
string='PIS % Reduction'
pis_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS)]
string='Tax PIS'
pis_value
Monetary
string='PIS Value'
pis_wh_base
Monetary
string='PIS RET Base'
pis_wh_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='PIS WH Base Type'
pis_wh_percent
Float
string='PIS RET %'
pis_wh_reduction
Float
string='PIS RET % Reduction'
pis_wh_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_WH)]
string='Tax PIS RET'
pis_wh_value
Monetary
string='PIS RET Value'
pisst_base
Monetary
string='PIS ST Base'
pisst_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
selection=TAX_BASE_TYPE
string='PIS ST Base Type'
pisst_cst_code
Char
related='pisst_cst_id.code'
store=True
string='PIS ST CST Code'
pisst_cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="['|', ('cst_type', '=', fiscal_operation_type),('cst_type', '=', 'all'),('tax_domain', '=', 'pisst')]"
string='CST PIS ST'
pisst_percent
Float
string='PIS ST %'
pisst_reduction
Float
string='PIS ST % Reduction'
pisst_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_ST)]
string='Tax PIS ST'
pisst_value
Monetary
string='PIS ST Value'
price_gross
Monetary
compute='_compute_amounts'
help='Amount without discount.'
string='Amount Gross'
price_unit
Float
digits=dp.get_precision('Product Price')
string='Price Unit'
product_id
Many2one → product.product
comodel_name='product.product'
index=True
string='Product'
quantity
Float
default=1.0
digits=dp.get_precision('Product Unit of Measure')
string='Quantity'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain="[('internal_type', '=', 'normal')]"
string='Service Type LC 166'
simple_value
Monetary
string='National Simple Taxes'
simple_without_icms_value
Monetary
string='National Simple Taxes without ICMS'
tax_icms_or_issqn
Selection
default=TAX_DOMAIN_ICMS
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
uom_id
Many2one → uom.uom
comodel_name='uom.uom'
string='UOM'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
No new fields.
Public methods (2)fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
fiscal_form_view(self, form_view_arch)
amount_cofins_base
Monetary
compute='_compute_amount'
store=True
string='COFINS Base'
amount_cofins_value
Monetary
compute='_compute_amount'
store=True
string='COFINS Value'
amount_cofins_wh_base
Monetary
compute='_compute_amount'
store=True
string='COFINS Ret Base'
amount_cofins_wh_value
Monetary
compute='_compute_amount'
store=True
string='COFINS Ret Value'
amount_csll_base
Monetary
compute='_compute_amount'
store=True
string='CSLL Base'
amount_csll_value
Monetary
compute='_compute_amount'
store=True
string='CSLL Value'
amount_csll_wh_base
Monetary
compute='_compute_amount'
store=True
string='CSLL Ret Base'
amount_csll_wh_value
Monetary
compute='_compute_amount'
store=True
string='CSLL Ret Value'
amount_discount_value
Monetary
compute='_compute_amount'
store=True
string='Amount Discount'
amount_estimate_tax
Monetary
compute='_compute_amount'
store=True
string='Amount Estimate Tax'
amount_financial_discount_value
Monetary
compute='_compute_amount'
store=True
string='Financial Discount Value'
amount_financial_total
Monetary
compute='_compute_amount'
store=True
string='Amount Financial'
amount_financial_total_gross
Monetary
compute='_compute_amount'
store=True
string='Amount Financial Gross'
amount_freight_value
Monetary
compute='_compute_amount'
store=True
string='Freight Value'
amount_icms_base
Monetary
compute='_compute_amount'
store=True
string='ICMS Base'
amount_icms_destination_value
Monetary
compute='_compute_amount'
store=True
string='ICMS Destination Value'
amount_icms_origin_value
Monetary
compute='_compute_amount'
store=True
string='ICMS Origin Value'
amount_icms_value
Monetary
compute='_compute_amount'
store=True
string='ICMS Value'
amount_icmsfcp_base
Monetary
compute='_compute_amount'
store=True
string='ICMS FCP Base'
amount_icmsfcp_value
Monetary
compute='_compute_amount'
store=True
string='ICMS FCP Value'
amount_icmssn_credit_value
Monetary
compute='_compute_amount'
store=True
string='ICMSSN Credit Value'
amount_icmsst_base
Monetary
compute='_compute_amount'
store=True
string='ICMS ST Base'
amount_icmsst_value
Monetary
compute='_compute_amount'
store=True
string='ICMS ST Value'
amount_ii_base
Monetary
compute='_compute_amount'
store=True
string='II Base'
amount_ii_customhouse_charges
Monetary
compute='_compute_amount'
store=True
string='Customhouse Charges'
amount_ii_value
Monetary
compute='_compute_amount'
store=True
string='II Value'
amount_inss_base
Monetary
compute='_compute_amount'
store=True
string='INSS Base'
amount_inss_value
Monetary
compute='_compute_amount'
store=True
string='INSS Value'
amount_inss_wh_base
Monetary
compute='_compute_amount'
store=True
string='INSS Ret Base'
amount_inss_wh_value
Monetary
compute='_compute_amount'
store=True
string='INSS Ret Value'
amount_insurance_value
Monetary
compute='_compute_amount'
store=True
string='Insurance Value'
amount_ipi_base
Monetary
compute='_compute_amount'
store=True
string='IPI Base'
amount_ipi_value
Monetary
compute='_compute_amount'
store=True
string='IPI Value'
amount_irpj_base
Monetary
compute='_compute_amount'
store=True
string='IRPJ Base'
amount_irpj_value
Monetary
compute='_compute_amount'
store=True
string='IRPJ Value'
amount_irpj_wh_base
Monetary
compute='_compute_amount'
store=True
string='IRPJ Ret Base'
amount_irpj_wh_value
Monetary
compute='_compute_amount'
store=True
string='IRPJ Ret Value'
amount_issqn_base
Monetary
compute='_compute_amount'
store=True
string='ISSQN Base'
amount_issqn_value
Monetary
compute='_compute_amount'
store=True
string='ISSQN Value'
amount_issqn_wh_base
Monetary
compute='_compute_amount'
store=True
string='ISSQN Ret Base'
amount_issqn_wh_value
Monetary
compute='_compute_amount'
store=True
string='ISSQN Ret Value'
amount_other_value
Monetary
compute='_compute_amount'
store=True
string='Other Costs'
amount_pis_base
Monetary
compute='_compute_amount'
store=True
string='PIS Base'
amount_pis_value
Monetary
compute='_compute_amount'
store=True
string='PIS Value'
amount_pis_wh_base
Monetary
compute='_compute_amount'
store=True
string='PIS Ret Base'
amount_pis_wh_value
Monetary
compute='_compute_amount'
store=True
string='PIS Ret Value'
amount_price_gross
Monetary
compute='_compute_amount'
help='Amount without discount.'
readonly=True
store=True
string='Amount Gross'
amount_tax
Monetary
compute='_compute_amount'
store=True
string='Amount Tax'
amount_tax_withholding
Monetary
compute='_compute_amount'
store=True
string='Amount Tax Withholding'
amount_total
Monetary
compute='_compute_amount'
store=True
string='Amount Total'
amount_untaxed
Monetary
compute='_compute_amount'
store=True
string='Amount Untaxed'
comment_ids
Many2many → l10n_br_fiscal.comment
column1='document_mixin_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_DOCUMENT)]
relation='l10n_br_fiscal_document_mixin_comment_rel'
string='Comments'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
readonly=True
store=True
customer_additional_data
Text
string='Customer Additional Data'
fiscal_additional_data
Text
string='Fiscal Additional Data'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
default=_default_operation
domain=<expr>
string='Operation'
fiscal_operation_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_operation_type'
string='Fiscal Operation Type'
ind_final
Selection
default=FINAL_CUSTOMER_YES
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
ind_pres
Selection
default=NFE_IND_PRES_DEFAULT
selection=NFE_IND_PRES
string='Buyer Presence'
manual_customer_additional_data
Char
help='Customer Additional data manually entered by user'
string='Manual Customer Additional Data'
manual_fiscal_additional_data
Char
help='Fiscal Additional data manually entered by user'
string='Manual Fiscal Additional Data'
partner_id
Many2one → res.partner
comodel_name='res.partner'
index=True
No public methods.
No new fields.
Public methods (0)No public methods.
cnpj_cpf
Char
size=18
string='CNPJ/CPF'
cpfcnpj_type
Selection
default='cnpj'
selection=[('cpf', 'CPF'), ('cnpj', 'CNPJ')]
string='Type Doc Number'
document_date
Date
string='Data'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document'
document_key
Char
size=44
string='Document Key'
document_number
Char
size=32
string='Number'
document_related_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document Related'
document_serie
Char
size=12
string='Serie'
document_type_code
Char
related='document_type_id.code'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Fiscal Document Type'
inscr_est
Char
size=16
string='Inscr. Estadual/RG'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='State'
No public methods.
active
Boolean
default=True
string='Active'
code
Char
size=3
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
required=True
string='Fiscal Document'
fiscal_type
Selection
default=FISCAL_IN_OUT_DEFAULT
selection=FISCAL_IN_OUT
string='Type'
internal_sequence_id
Many2one → ir.sequence
comodel_name='ir.sequence'
domain="[('company_id', '=', company_id)]"
string='Sequence'
invalidate_number_id
One2many → l10n_br_fiscal.invalidate.number
comodel_name='l10n_br_fiscal.invalidate.number'
inverse_name='document_serie_id'
string='Invalidate Number Range'
name
Char
required=True
string='Name'
sequence_number_next
Integer
related='internal_sequence_id.number_next'
check_number_in_use(self, document_number)
create(self, values)
name_get(self)
next_seq_number(self)
No new fields.
Public methods (2)doit(self)
get_document_status(self)
code
Char
size=8
document_email_ids
One2many → l10n_br_fiscal.document.email
comodel_name='l10n_br_fiscal.document.email'
inverse_name='document_type_id'
string='Email Template Definition'
document_serie_ids
One2many → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
inverse_name='document_type_id'
string='Document Series'
electronic
Boolean
string='Is Electronic?'
name
Char
size=128
prefix
Char
string='Prefix'
sufix
Char
string='Sufix'
type
Selection
required=True
selection=DOCUMENT_TYPE
string='Document Type'
get_document_serie(self, company, fiscal_operation)
cancel_reason
Char
string='Cancel Reason'
correction_reason
Char
string='Correction Reason'
state_edoc
Selection
copy=False
default=SITUACAO_EDOC_EM_DIGITACAO
index=True
readonly=True
required=True
selection=SITUACAO_EDOC
string='Situação e-doc'
track_visibility='onchange'
state_fiscal
Selection
copy=False
index=True
selection=SITUACAO_FISCAL
string='Situação Fiscal'
track_visibility='onchange'
action_document_back2draft(self)
action_document_cancel(self)
action_document_confirm(self)
action_document_correction(self)
action_document_invalidate(self)
action_document_send(self)
company_id
Many2one → res.company
comodel_name='res.company'
index=True
required=True
string='Company'
create_date
Datetime
default=fields.Datetime.now
index=True
readonly=True
string='Create Date'
display_name
Char
compute='_compute_display_name'
store=True
string='name'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
index=True
string='Fiscal Document'
document_number
Char
required=True
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
required=True
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
index=True
required=True
string='Fiscal Document Type'
environment
Selection
selection=EVENT_ENVIRONMENT
file_path
Char
readonly=True
string='File Path'
file_request_id
Many2one → ir.attachment
comodel_name='ir.attachment'
copy=False
readonly=True
string='XML'
file_response_id
Many2one → ir.attachment
comodel_name='ir.attachment'
copy=False
readonly=True
string='XML Response'
invalidate_number_id
Many2one → l10n_br_fiscal.invalidate.number
comodel_name='l10n_br_fiscal.invalidate.number'
index=True
string='Invalidate Number'
justification
Char
string='Justification'
message
Char
readonly=True
string='Message'
origin
Char
help='Document reference that generated this event.'
readonly=True
string='Source Document'
partner_id
Many2one → res.partner
comodel_name='res.partner'
index=True
string='Partner'
protocol_date
Datetime
index=True
readonly=True
string='Protocol Date'
protocol_number
Char
string='Protocol Number'
response
Char
readonly=True
string='Response Message'
sequence
Char
help='Fiscal Document Event Sequence'
string='Sequence'
state
Selection
default='draft'
index=True
readonly=True
selection=[('draft', _('Draft')), ('send', _('Sending')), ('wait', _('Waiting Response')), ('done', _('Response received'))]
string='Status'
status_code
Char
readonly=True
string='Status Code'
type
Selection
selection=[('-1', 'Exception'), ('0', 'Envio Lote'), ('1', 'Consulta Recibo'), ('2', 'Cancelamento'), ('3', 'Inutilização'), ('4', 'Consulta NFE'), ('5', 'Consulta Situação'), ('6', 'Consulta Cadastro'), ('7', 'DPEC Recepção'), ('8', 'DPEC Consulta'), ('9', 'Recepção Evento'), ('10', 'Download'), ('11', 'Consulta Destinadas'), ('12', 'Distribuição DFe'), ('13', 'Manifestação'), ('14', 'Carta de Correção')]
string='Service'
write_date
Datetime
index=True
readonly=True
string='Write Date'
create_event_save_xml(self, company_id, environment, event_type, xml_file, document_id=False, invalidate_number_id=False, sequence=False, justification=False)
set_done(self, status_code, response, protocol_date, protocol_number, file_response_xml)
icms_external_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '!=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AC'
icms_external_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '!=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AL'
icms_external_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '!=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AM'
icms_external_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '!=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External AP'
icms_external_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '!=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External BA'
icms_external_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '!=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External CE'
icms_external_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '!=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External DF'
icms_external_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '!=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External ES'
icms_external_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '!=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External GO'
icms_external_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '!=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MA'
icms_external_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '!=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MG'
icms_external_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '!=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MS'
icms_external_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '!=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External MT'
icms_external_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '!=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PA'
icms_external_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '!=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PB'
icms_external_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '!=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PE'
icms_external_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '!=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PI'
icms_external_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '!=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External PR'
icms_external_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '!=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RJ'
icms_external_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '!=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RN'
icms_external_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '!=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RO'
icms_external_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '!=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RR'
icms_external_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '!=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External RS'
icms_external_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '!=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SC'
icms_external_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '!=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SE'
icms_external_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '!=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External SP'
icms_external_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '!=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS External TO'
icms_fcp_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AC'
icms_fcp_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AL'
icms_fcp_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AM'
icms_fcp_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP AP'
icms_fcp_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP BA'
icms_fcp_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP CE'
icms_fcp_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP DF'
icms_fcp_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP ES'
icms_fcp_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP GO'
icms_fcp_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MA'
icms_fcp_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MG'
icms_fcp_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MS'
icms_fcp_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP MT'
icms_fcp_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PA'
icms_fcp_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PB'
icms_fcp_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PE'
icms_fcp_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PI'
icms_fcp_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP PR'
icms_fcp_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RJ'
icms_fcp_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RN'
icms_fcp_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RO'
icms_fcp_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RR'
icms_fcp_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP RS'
icms_fcp_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SC'
icms_fcp_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SE'
icms_fcp_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP SP'
icms_fcp_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_FCP), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS FCP TO'
icms_imported_tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS)]
string='ICMS Tax Imported'
icms_internal_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('state_to_ids.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AC'
icms_internal_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('state_to_ids.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AL'
icms_internal_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('state_to_ids.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AM'
icms_internal_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('state_to_ids.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal AP'
icms_internal_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal BA'
icms_internal_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal CE'
icms_internal_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal DF'
icms_internal_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal ES'
icms_internal_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal GO'
icms_internal_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MA'
icms_internal_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MG'
icms_internal_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MS'
icms_internal_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal MT'
icms_internal_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PA'
icms_internal_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PB'
icms_internal_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PE'
icms_internal_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PI'
icms_internal_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal PR'
icms_internal_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RJ'
icms_internal_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RN'
icms_internal_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='ICMS Internal RO'
icms_internal_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RR'
icms_internal_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal RS'
icms_internal_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SC'), ('state_to_ids.code', '=', 'SC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SC'
icms_internal_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SE'
icms_internal_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('state_to_ids.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal SP'
icms_internal_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS Internal TO'
icms_st_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AC'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AC'
icms_st_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AL'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AL'
icms_st_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AM'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AM'
icms_st_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'AP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST AP'
icms_st_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'BA'), ('state_to_ids.code', '=', 'BA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST BA'
icms_st_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'CE'), ('state_to_ids.code', '=', 'CE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST CE'
icms_st_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'DF'), ('state_to_ids.code', '=', 'DF'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST DF'
icms_st_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'ES'), ('state_to_ids.code', '=', 'ES'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST ES'
icms_st_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'GO'), ('state_to_ids.code', '=', 'GO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST GO'
icms_st_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MA'), ('state_to_ids.code', '=', 'MA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MA'
icms_st_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MG'), ('state_to_ids.code', '=', 'MG'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MG'
icms_st_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MS'), ('state_to_ids.code', '=', 'MS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MS'
icms_st_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'MT'), ('state_to_ids.code', '=', 'MT'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST MT'
icms_st_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PA'), ('state_to_ids.code', '=', 'PA'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PA'
icms_st_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PB'), ('state_to_ids.code', '=', 'PB'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PB'
icms_st_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PE'), ('state_to_ids.code', '=', 'PE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PE'
icms_st_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PI'), ('state_to_ids.code', '=', 'PI'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PI'
icms_st_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'PR'), ('state_to_ids.code', '=', 'PR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST PR'
icms_st_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RJ'), ('state_to_ids.code', '=', 'RJ'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RJ'
icms_st_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RN'), ('state_to_ids.code', '=', 'RN'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RN'
icms_st_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RO'), ('state_to_ids.code', '=', 'RO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RO'
icms_st_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RR'), ('state_to_ids.code', '=', 'RR'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RR'
icms_st_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'RS'), ('state_to_ids.code', '=', 'RS'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST RS'
icms_st_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SC', False)), ('state_to_ids.code', 'in', ('SC', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SC'
icms_st_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SE'), ('state_to_ids.code', '=', 'SE'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SE'
icms_st_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'SP'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST SP'
icms_st_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', '=', 'TO'), ('state_to_ids.code', '=', 'TO'), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS_ST), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='ICMS ST TO'
name
Text
index=True
required=True
string='Name'
tax_benefit_ac_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AC', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AC'
tax_benefit_al_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AL', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AL'
tax_benefit_am_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AM', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AM'
tax_benefit_ap_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('AP', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit AP'
tax_benefit_ba_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('BA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit BA'
tax_benefit_ce_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('CE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit CE'
tax_benefit_df_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('DF', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit DF'
tax_benefit_es_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('ES', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit ES'
tax_benefit_go_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('GO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit GO'
tax_benefit_ma_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MA'
tax_benefit_mg_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MG', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MG'
tax_benefit_ms_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MS', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MS'
tax_benefit_mt_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('MT', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit MT'
tax_benefit_pa_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PA', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PA'
tax_benefit_pb_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PB', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PB'
tax_benefit_pe_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PE'
tax_benefit_pi_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PI', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PI'
tax_benefit_pr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('PR', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit PR'
tax_benefit_rj_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RJ', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', False)]
inverse_name='icms_regulation_id'
string='Tax Benefit RJ'
tax_benefit_rn_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RN', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RN'
tax_benefit_ro_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RO'
tax_benefit_rr_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RR', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RR'
tax_benefit_rs_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('RS', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit RS'
tax_benefit_sc_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SC', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SC'
tax_benefit_se_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SE', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SE'
tax_benefit_sp_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('SP', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit SP'
tax_benefit_to_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain=[('state_from_id.code', 'in', ('TO', False)), ('tax_group_id.tax_domain', '=', TAX_DOMAIN_ICMS), ('is_benefit', '=', True)]
inverse_name='icms_regulation_id'
string='Tax Benefit TO'
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
map_tax(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None)
map_tax_def_icms_difal(self, company, partner, product, ncm=None, nbm=None, cest=None, operation_line=None)
No new fields.
Public methods (0)No public methods.
authorization_date
Datetime
readonly=True
related='authorization_event_id.protocol_date'
string='Authorization Date'
authorization_event_id
Many2one → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
copy=False
readonly=True
string='Authorization Event'
authorization_file_id
Many2one → ir.attachment
comodel_name='ir.attachment'
ondelete='restrict'
readonly=True
related='authorization_event_id.file_response_id'
string='Authorization File XML'
authorization_protocol
Char
readonly=True
related='authorization_event_id.protocol_number'
string='Authorization Protocol'
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
readonly=True
required=True
states={'draft': [('readonly', False)]}
date
Date
default=fields.Date.today
readonly=True
string='Date'
document_electronic
Boolean
readonly=True
related='document_type_id.electronic'
string='Electronic?'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
domain="[('active', '=', True),\n ('document_type_id', '=', document_type_id),\n ('company_id', '=', company_id)]"
readonly=True
required=True
states={'draft': [('readonly', False)]}
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
readonly=True
required=True
states={'draft': [('readonly', False)]}
event_ids
One2many → l10n_br_fiscal.event
comodel_name='l10n_br_fiscal.event'
inverse_name='invalidate_number_id'
readonly=True
states={'done': [('readonly', True)]}
string='Events'
justification
Char
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Justification'
name
Char
compute='_compute_name'
index=True
store=True
number_end
Integer
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='End Number'
number_start
Integer
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Initial Number'
send_file_id
Many2one → ir.attachment
comodel_name='ir.attachment'
ondelete='restrict'
readonly=True
related='authorization_event_id.file_request_id'
string='Send Document File XML'
state
Selection
default='draft'
readonly=True
selection=[('draft', _('Draft')), ('done', _('Done'))]
string='Status'
action_invalidate(self)
unlink(self)
No new fields.
Public methods (2)do_invalidate(self)
doit(self)
authorization_datetime
Datetime
index=True
string='Authorization Date'
authorization_protocol
Char
size=60
string='Authorization protocol'
cancellation_datetime
Datetime
index=True
string='Cancellation Date'
cancellation_protocol
Char
size=60
string='Cancellation protocol'
cnpj_cpf
Char
size=18
string='CNPJ/CPF'
company_id
Many2one → res.company
comodel_name='res.company'
string='Company'
dfe_id
Many2one → l10n_br_fiscal.dfe
comodel_name='l10n_br_fiscal.dfe'
string='DF-e'
digest_value
Char
size=28
string='Digest Value'
document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
string='Fiscal Document'
document_key
Char
size=44
string='Access Key'
document_number
Float
digits=(18, 0)
index=True
string='Document Number'
document_state
Selection
index=True
selection=SITUACAO_NFE
string='Document State'
document_value
Float
digits=(18, 2)
readonly=True
string='Document Total Value'
emission_datetime
Datetime
default=fields.Datetime.now
index=True
string='Emission Date'
emitter
Char
size=60
string='Emitter'
ie
Char
size=18
string='Inscrição estadual'
inclusion_datetime
Datetime
default=fields.Datetime.now
index=True
string='Inclusion Date'
inclusion_mode
Char
size=255
string='Inclusion Mode'
nsu
Char
index=True
size=25
string='NSU'
operation_type
Selection
selection=OPERATION_TYPE
string='Operation Type'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Supplier (partner)'
serie
Char
index=True
size=3
string='Serie'
state
Selection
index=True
selection=SITUACAO_MANIFESTACAO
string='Manifestation State'
supplier
Char
index=True
size=60
string='Supplier'
cria_wizard_gerenciamento(self, state='')
download_attachment(self, attachment_id=None)
name_get(self)
code
Char
size=12
code_unmasked
Char
size=10
name
Text
index=True
required=True
string='Name'
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='nbm_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
readonly=True
relation='fiscal_nbm_ncm_rel'
string='NCMs'
ncms
Char
string='NCM'
product_tmpl_ids
One2many
inverse_name='nbm_id'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='nbm_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_nbm_rel'
string='Tax Definition'
action_search_ncms(self)
create(self, values)
write(self, values)
code
Char
size=12
code_unmasked
Char
size=10
product_tmpl_ids
One2many
inverse_name='nbs_id'
tax_estimate_ids
One2many
inverse_name='nbs_id'
No public methods.
piscofins_ids
Many2many → l10n_br_fiscal.tax.pis.cofins
column1='ncm_id'
column2='piscofins_id'
comodel_name='l10n_br_fiscal.tax.pis.cofins'
readonly=True
relation='fiscal_pis_cofins_ncm_rel'
string='PIS/COFINS'
No public methods.
cest_ids
Many2many → l10n_br_fiscal.cest
column1='ncm_id'
column2='cest_id'
comodel_name='l10n_br_fiscal.cest'
readonly=True
relation='fiscal_cest_ncm_rel'
string='CESTs'
No public methods.
code
Char
size=10
code_unmasked
Char
size=8
exception
Char
size=2
string='Exception'
product_tmpl_ids
One2many
inverse_name='ncm_id'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='ncm_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_ncm_rel'
string='Tax Definition'
tax_estimate_ids
One2many
inverse_name='ncm_id'
tax_ii_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_II)]
string='Tax II'
tax_ipi_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Tax IPI'
uoe_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Export UoM'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
nbm_ids
Many2many → l10n_br_fiscal.nbm
column1='ncm_id'
column2='nbm_id'
comodel_name='l10n_br_fiscal.nbm'
readonly=True
relation='fiscal_nbm_ncm_rel'
string='NBMs'
No public methods.
code
Char
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Code'
track_visibility='onchange'
comment_ids
Many2many → l10n_br_fiscal.comment
column1='fiscal_operation_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_DOCUMENT)]
relation='l10n_br_fiscal_operation_comment_rel'
string='Comment'
company_id
Many2one → res.company
comodel_name='res.company'
readonly=True
states={'draft': [('readonly', False)]}
string='Company'
track_visibility='onchange'
default_price_unit
Selection
default='sale_price'
readonly=True
selection=[('sale_price', _('Sale Price')), ('cost_price', _('Cost Price'))]
states={'draft': [('readonly', False)]}
string='Default Price Unit?'
track_visibility='onchange'
document_type_ids
One2many → l10n_br_fiscal.operation.document.type
comodel_name='l10n_br_fiscal.operation.document.type'
inverse_name='fiscal_operation_id'
readonly=True
states={'draft': [('readonly', False)]}
string='Operation Document Types'
edoc_purpose
Selection
default=EDOC_PURPOSE_NORMAL
readonly=True
selection=EDOC_PURPOSE
states={'draft': [('readonly', False)]}
string='Finalidade'
track_visibility='onchange'
fiscal_operation_type
Selection
readonly=True
required=True
selection=FISCAL_IN_OUT_ALL
states={'draft': [('readonly', False)]}
string='Type'
track_visibility='onchange'
fiscal_type
Selection
default=OPERATION_FISCAL_TYPE_DEFAULT
readonly=True
required=True
selection=OPERATION_FISCAL_TYPE
states={'draft': [('readonly', False)]}
string='Fiscal Type'
track_visibility='onchange'
inverse_fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
readonly=True
states={'draft': [('readonly', False)]}
string='Inverse Operation'
track_visibility='onchange'
line_ids
One2many → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
inverse_name='fiscal_operation_id'
readonly=True
states={'draft': [('readonly', False)]}
string='Operation Line'
name
Char
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Name'
track_visibility='onchange'
operation_subsequent_ids
One2many → l10n_br_fiscal.subsequent.operation
comodel_name='l10n_br_fiscal.subsequent.operation'
inverse_name='fiscal_operation_id'
string='Subsequent Operation'
return_fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
domain="[('fiscal_operation_type', '!=', fiscal_operation_type), ('fiscal_type', 'in', {'sale': ['sale_refund'], 'purchase': ['purchase_refund'], 'other': ['return_in', 'return_out'],'return_in': ['return_out'], 'return_out': ['return_in']}.get(fiscal_type, []))]"
readonly=True
states={'draft': [('readonly', False)]}
string='Return Operation'
track_visibility='onchange'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
string='State'
track_visibility='onchange'
action_approve(self)
action_draft(self)
action_review(self)
get_document_serie(self, company, document_type)
line_definition(self, company, partner, product)
unlink(self)
color
Integer
default=0
string='Color Index'
kanban_dashboard
Text
compute='_compute_kanban_dashboard'
action_create_new(self)
get_operation_dashboard_data(self)
open_action(self)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
required=True
string='Company'
document_electronic
Boolean
related='document_type_id.electronic'
string='Electronic?'
document_serie_id
Many2one → l10n_br_fiscal.document.serie
comodel_name='l10n_br_fiscal.document.serie'
company_dependent=True
domain="[('active', '=', True),('document_type_id', '=', document_type_id)]"
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
required=True
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Operation'
name
Char
compute='_compute_name'
string='Name'
No public methods.
add_to_amount
Boolean
default=True
string='Add to Document Amount?'
cfop_export_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('type_move', '=ilike', fiscal_type + '%'), ('destination', '=', '3')]"
string='CFOP Export'
cfop_external_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('type_move', '=ilike', fiscal_type + '%'), ('destination', '=', '2')]"
string='CFOP External'
cfop_internal_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
domain="[('type_in_out', '=', fiscal_operation_type), ('destination', '=', '1'),('type_move', '=ilike', fiscal_type + '%')]"
string='CFOP Internal'
comment_ids
Many2many → l10n_br_fiscal.comment
column1='fiscal_operation_line_id'
column2='comment_id'
comodel_name='l10n_br_fiscal.comment'
domain=[('object', '=', FISCAL_COMMENT_LINE)]
relation='l10n_br_fiscal_operation_line_comment_rel'
string='Comment'
company_tax_framework
Selection
selection=TAX_FRAMEWORK
string='Company Tax Framework'
date_end
Datetime
string='End Date'
date_start
Datetime
string='Start Date'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Operation'
fiscal_operation_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_operation_type'
store=True
string='Fiscal Operation Type'
fiscal_type
Selection
readonly=True
related='fiscal_operation_id.fiscal_type'
store=True
string='Fiscal Type'
icms_origin
Selection
selection=ICMS_ORIGIN
string='Origin'
ind_ie_dest
Selection
selection=NFE_IND_IE_DEST
string='ICMS Taxpayer'
line_inverse_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=False
domain="[('fiscal_operation_type', '!=', fiscal_operation_type)]"
string='Operation Line Inverse'
line_refund_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
copy=False
domain="[('fiscal_operation_type', '!=', fiscal_operation_type)]"
string='Operation Line Refund'
name
Char
required=True
string='Name'
partner_tax_framework
Selection
selection=TAX_FRAMEWORK
string='Partner Tax Framework'
product_type
Selection
selection=PRODUCT_FISCAL_TYPE
string='Product Fiscal Type'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
string='State'
track_visibility='onchange'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='fiscal_operation_line_id'
string='Tax Definition'
tax_icms_or_issqn
Selection
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
action_review(self)
get_document_type(self, company)
map_fiscal_taxes(self, company, partner, product=None, fiscal_price=None, fiscal_quantity=None, ncm=None, nbm=None, nbs=None, cest=None)
unlink(self)
code
Char
required=True
size=16
string='Code'
default
Boolean
default=True
string='Default Profile'
ind_ie_dest
Selection
default=NFE_IND_IE_DEST_DEFAULT
required=True
selection=NFE_IND_IE_DEST
string='Contribuinte do ICMS'
is_company
Boolean
string='Is Company?'
is_public_entity
Boolean
help='Indicates whether the entity in question is a public organization or government-related entity. It encompasses a range of entities such as municipal governments, state-owned enterprises (where the government is the largest shareholder), and other government-controlled organizations.'
string='Public Entity'
name
Char
size=64
string='Name'
partner_ids
One2many → res.partner
comodel_name='res.partner'
compute='_compute_partner_info'
string='Partner'
partner_qty
Integer
compute='_compute_partner_info'
string='Partner Quantity'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='fiscal_profile_id'
string='Tax Definition'
tax_framework
Selection
default=TAX_FRAMEWORK_NORMAL
selection=TAX_FRAMEWORK
string='Tax Framework'
action_view_partners(self)
product_tmpl_ids
One2many
inverse_name='fiscal_genre_id'
No public methods.
No new fields.
Public methods (0)No public methods.
child_ids
One2many → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
inverse_name='parent_id'
string='Service Type Child'
internal_type
Selection
default='normal'
required=True
selection=[('view', 'View'), ('normal', 'Normal')]
string='Internal Type'
parent_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
string='Parent Service Type'
product_tmpl_ids
One2many
inverse_name='service_type_id'
withholding_at_place
Boolean
help='The tax is due at the location of the provider establishment, except in the cases that this field is true, where it will be due at the place of provision.'
string='Tax Retention at place of provision'
withholding_possible
Boolean
string='Subject to withholding tax'
No public methods.
cnae_ids
Many2many → l10n_br_fiscal.cnae
column1='simplified_tax_id'
column2='cnae_id'
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal')]"
relation='fiscal_simplified_tax_cnae_rel'
string='CNAEs'
coefficient_r
Boolean
readonly=True
string='Coefficient R'
name
Char
required=True
string='Name'
simplified_tax_range_ids
One2many → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
copy=False
inverse_name='simplified_tax_id'
string='Simplified Tax Range'
No public methods.
amount_deduced
Monetary
currency_field='currency_id'
required=True
string='Amount to be Deducted'
currency_id
Many2one → res.currency
comodel_name='res.currency'
required=True
string='Currency'
final_revenue
Monetary
currency_field='currency_id'
string='Final Revenue'
inital_revenue
Monetary
currency_field='currency_id'
string='Initial Revenue'
name
Char
required=True
string='Name'
simplified_tax_id
Many2one → l10n_br_fiscal.simplified.tax
comodel_name='l10n_br_fiscal.simplified.tax'
string='Simplified Tax ID'
tax_cofins_percent
Float
digits=dp.get_precision('Fiscal Tax Percent')
string='Tax COFINS Percent'
tax_cpp_percent
Float
digits=dp.get_precision('Fiscal Tax Percent')
string='Tax CPP Percent'
tax_csll_percent
Float
digits=dp.get_precision('Fiscal Tax Percent')
string='Tax CSLL Percent'
tax_icms_percent
Float
digits=dp.get_precision('Fiscal Tax Percent')
string='Tax ICMS Percent'
tax_ipi_percent
Float
digits=dp.get_precision('Fiscal Tax Percent')
string='Tax IPI Percent'
tax_irpj_percent
Float
digits=dp.get_precision('Fiscal Tax Percent')
string='Tax IRPJ Percent'
tax_iss_percent
Float
digits=dp.get_precision('Fiscal Tax Percent')
string='Tax ISS Percent'
tax_pis_percent
Float
digits=dp.get_precision('Fiscal Tax Percent')
string='Tax PIS Percent'
total_tax_percent
Float
digits=dp.get_precision('Fiscal Tax Percent')
string='Tax Percent'
No public methods.
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
required=True
string='Related operation'
operation_performed
Boolean
compute='_compute_operation_performed'
copy=False
default=False
string='Operation Performed'
source_document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
ondelete='cascade'
required=True
string='Source document'
subsequent_document_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
copy=False
ondelete='set null'
string='Subsequent Document'
subsequent_operation_id
Many2one → l10n_br_fiscal.subsequent.operation
comodel_name='l10n_br_fiscal.subsequent.operation'
required=True
string='Subsequent Operation'
generate_subsequent_document(self)
show_source_document(self)
show_subsequent_document(self)
unlink(self)
fiscal_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
ondelete='cascade'
required=True
string='Origin operation'
generation_situation
Selection
default='manual'
required=True
selection=SUBSEQUENT_OPERATION
string='Generation Situation'
operation_document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Document Type'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='Partner'
reference_document
Boolean
string='Referencing source document'
sequence
Integer
default=10
help='Gives the sequence order when displaying a list'
string='Sequence'
subsequent_operation_id
Many2one → l10n_br_fiscal.operation
comodel_name='l10n_br_fiscal.operation'
string='Operation to be performed'
No public methods.
compute_sequence
Integer
help='The sequence field is used to define order in which the tax lines are applied.'
related='tax_group_id.compute_sequence'
string='Compute Sequence'
cst_in_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', ('in', 'all')), ('tax_domain', '=', tax_domain)]"
string='CST In'
cst_out_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', ('out', 'all')), ('tax_domain', '=', tax_domain)]"
string='CST Out'
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
string='Currency'
icms_base_type
Selection
default=ICMS_BASE_TYPE_DEFAULT
required=True
selection=ICMS_BASE_TYPE
string='ICMS Base Type'
icmsst_base_type
Selection
default=ICMS_ST_BASE_TYPE_DEFAULT
required=True
selection=ICMS_ST_BASE_TYPE
string='ICMS ST Base Type'
icmsst_mva_percent
Float
digits=dp.get_precision('Fiscal Tax Percent')
required=True
string='MVA Percent'
icmsst_value
Float
digits=dp.get_precision('Fiscal Tax Value')
required=True
string='PFC Value'
name
Char
required=True
size=256
string='Name'
percent_amount
Float
digits=dp.get_precision('Fiscal Tax Percent')
required=True
string='Percent'
percent_debit_credit
Float
digits=dp.get_precision('Fiscal Tax Percent')
required=True
string='Percent Debit/Credit'
percent_reduction
Float
digits=dp.get_precision('Fiscal Tax Percent')
required=True
string='Percent Reduction'
sequence
Integer
help='The sequence field is used to define the order in which taxes are displayed.'
related='tax_group_id.sequence'
store=True
string='Sequence'
tax_base_type
Selection
default=TAX_BASE_TYPE_PERCENT
required=True
selection=TAX_BASE_TYPE
string='Tax Base Type'
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
required=True
string='Fiscal Tax Group'
tax_scope
Selection
related='tax_group_id.tax_scope'
store=True
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
value_amount
Float
digits=dp.get_precision('Fiscal Tax Value')
required=True
string='Value'
compute_taxes(self, **kwargs)
cst_from_tax(self, fiscal_operation_type=FISCAL_OUT)
fiscal_operation_line_id
Many2one → l10n_br_fiscal.operation.line
comodel_name='l10n_br_fiscal.operation.line'
string='Operation Line'
No public methods.
No new fields.
Public methods (0)No public methods.
benefit_type
Selection
selection=ICMS_TAX_BENEFIT_TYPE
states={'draft': [('readonly', False)]}
code
Char
size=8
states={'draft': [('readonly', False)]}
string='Code'
description
Text
states={'draft': [('readonly', False)]}
string='Description'
is_benefit
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Benefit?'
name
Char
states={'draft': [('readonly', False)]}
string='Name'
No public methods.
icms_regulation_id
Many2one → l10n_br_fiscal.icms.regulation
comodel_name='l10n_br_fiscal.icms.regulation'
string='ICMS Regulation'
No public methods.
fiscal_profile_id
Many2one → l10n_br_fiscal.partner.profile
comodel_name='l10n_br_fiscal.partner.profile'
string='Partner Profile'
No public methods.
cfop_id
Many2one → l10n_br_fiscal.cfop
comodel_name='l10n_br_fiscal.cfop'
string='CFOP'
No public methods.
cest_ids
Many2many → l10n_br_fiscal.cest
column1='tax_definition_id'
column2='cest_id'
comodel_name='l10n_br_fiscal.cest'
readonly=True
relation='tax_definition_cest_rel'
string='CESTs'
cests
Text
readonly=True
states={'draft': [('readonly', False)]}
string='CEST List'
company_id
Many2one → res.company
comodel_name='res.company'
readonly=True
states={'draft': [('readonly', False)]}
string='Company'
cst_code
Char
readonly=True
related='cst_id.code'
string='CST Code'
cst_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain="[('cst_type', 'in', (type_in_out, 'all')), ('tax_group_id', '=', tax_group_id)]"
readonly=True
string='CST'
custom_tax
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Custom Tax'
date_end
Datetime
readonly=True
states={'draft': [('readonly', False)]}
string='End Date'
date_start
Datetime
readonly=True
states={'draft': [('readonly', False)]}
string='Start Date'
display_name
Char
compute='_compute_display_name'
store=True
ipi_guideline_id
Many2one → l10n_br_fiscal.tax.ipi.guideline
comodel_name='l10n_br_fiscal.tax.ipi.guideline'
domain="['|', ('cst_in_id', '=', cst_id), ('cst_out_id', '=', cst_id)]"
string='IPI Guideline'
is_debit_credit
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Debit/Credit?'
is_taxed
Boolean
readonly=True
states={'draft': [('readonly', False)]}
string='Taxed?'
nbm_ids
Many2many → l10n_br_fiscal.nbm
column1='tax_definition_id'
column2='nbm_id'
comodel_name='l10n_br_fiscal.nbm'
readonly=True
relation='tax_definition_nbm_rel'
string='NBMs'
nbms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NBM List'
ncm_exception
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NCM Exeption'
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='tax_definition_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
readonly=True
relation='tax_definition_ncm_rel'
string='NCMs'
ncms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='NCM List'
not_in_nbms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='Not in NBMs'
not_in_ncms
Text
readonly=True
states={'draft': [('readonly', False)]}
string='Not in NCMs'
product_ids
Many2many → product.product
column1='tax_definition_id'
column2='product_id'
comodel_name='product.product'
relation='tax_definition_product_rel'
string='Products'
state
Selection
copy=False
default=OPERATION_STATE_DEFAULT
index=True
readonly=True
selection=OPERATION_STATE
string='State'
track_visibility='onchange'
state_from_id
Many2one → res.country.state
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
string='From State'
state_to_ids
Many2many → res.country.state
column1='tax_definition_id'
column2='state_id'
comodel_name='res.country.state'
domain=[('country_id.code', '=', 'BR')]
relation='tax_definition_state_to_rel'
string='To States'
tax_domain
Selection
readonly=True
related='tax_group_id.tax_domain'
states={'draft': [('readonly', False)]}
store=True
string='Tax Domain'
tax_group_id
Many2one → l10n_br_fiscal.tax.group
comodel_name='l10n_br_fiscal.tax.group'
readonly=True
required=True
states={'draft': [('readonly', False)]}
string='Tax Group'
tax_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain="[('tax_group_id', '=', tax_group_id)]"
readonly=True
states={'draft': [('readonly', False)]}
string='Tax'
type_in_out
Selection
default=FISCAL_OUT
readonly=True
required=True
selection=FISCAL_IN_OUT
states={'draft': [('readonly', False)]}
string='Type'
action_approve(self)
action_draft(self)
action_review(self)
action_search_cests(self)
action_search_nbms(self)
action_search_ncms(self)
create(self, values)
map_tax_definition(self, company, partner, product, ncm=None, nbm=None, nbs=None, cest=None)
name_get(self)
unlink(self)
write(self, values)
company_id
Many2one → res.company
comodel_name='res.company'
default=<expr>
string='Company'
create_date
Datetime
readonly=True
string='Create Date'
federal_taxes_import
Float
digits=dp.get_precision('Fiscal Tax Percent')
string='Impostos Federais Importado'
federal_taxes_national
Float
digits=dp.get_precision('Fiscal Tax Percent')
string='Impostos Federais Nacional'
key
Char
size=32
string='Key'
municipal_taxes
Float
digits=dp.get_precision('Fiscal Tax Percent')
string='Impostos Municipais Nacional'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
string='NCM'
origin
Char
size=32
string='Source'
state_id
Many2one → res.country.state
comodel_name='res.country.state'
required=True
string='State'
state_taxes
Float
digits=dp.get_precision('Fiscal Tax Percent')
string='Impostos Estaduais Nacional'
No public methods.
base_with_additional_values
Boolean
default=True
string='Add the value of freight, insurance and others to the Base'
base_without_icms
Boolean
default=False
string='Remove ICMS value from Base'
compute_sequence
Integer
default=10
help='The sequence field is used to define order in which the tax lines are applied.'
required=True
string='Compute Sequence'
cst_ids
One2many → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
inverse_name='tax_group_id'
string='CSTs'
name
Char
required=True
string='Name'
partner_id
Many2one → res.partner
comodel_name='res.partner'
string='WH Partner'
sequence
Integer
default=10
help='The sequence field is used to define the order in which taxes are displayed.'
required=True
string='Sequence'
tax_domain
Selection
required=True
selection=TAX_DOMAIN
string='Tax Domain'
tax_ids
One2many → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
inverse_name='tax_group_id'
string='Taxes'
tax_include
Boolean
default=False
string='Tax Included in Price'
tax_scope
Selection
required=True
selection=[('city', _('City')), ('state', _('State')), ('federal', _('Federal')), ('other', _('Other'))]
string='Tax Scope'
tax_withholding
Boolean
default=False
string='Tax Withholding'
wh_due_day
Integer
string='Due Day'
No public methods.
No new fields.
Public methods (0)No public methods.
code
Char
size=3
cst_group
Selection
required=True
selection=IPI_GUIDELINE_GROUP
string='Group'
cst_in_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain=[('domain', '=', TAX_DOMAIN_IPI), ('cst_type', '=', FISCAL_IN)]
string='CST In'
cst_out_id
Many2one → l10n_br_fiscal.cst
comodel_name='l10n_br_fiscal.cst'
domain=[('domain', '=', TAX_DOMAIN_IPI), ('cst_type', '=', FISCAL_OUT)]
string='CST Out'
No public methods.
No new fields.
Public methods (0)No public methods.
code
Char
required=True
string='Code'
name
Text
index=True
required=True
string='Name'
ncm_exception
Char
string='NCM Exeption'
ncm_ids
Many2many → l10n_br_fiscal.ncm
column1='piscofins_id'
column2='ncm_id'
comodel_name='l10n_br_fiscal.ncm'
compute='_compute_ncms'
readonly=True
relation='fiscal_pis_cofins_ncm_rel'
store=True
string='NCMs'
ncms
Char
string='NCM'
not_in_ncms
Char
string='Not in NCM'
piscofins_type
Selection
default='ncm'
index=True
required=True
selection=[('ncm', _('NCM')), ('product', _('Product')), ('company', _('Company'))]
string='Type'
tax_cofins_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS)]
string='Tax COFINS'
tax_cofins_st_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_ST)]
string='Tax COFINS ST'
tax_pis_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS)]
string='Tax PIS'
tax_pis_st_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_ST)]
string='Tax PIS ST'
No public methods.
code
Char
size=2
No public methods.
code
Char
size=3
No public methods.
No new fields.
Public methods (0)No public methods.
cest_id
Many2one → l10n_br_fiscal.cest
comodel_name='l10n_br_fiscal.cest'
domain="[('ncm_ids', '=', ncm_id)]"
index=True
string='CEST'
city_taxation_code_id
Many2many → l10n_br_fiscal.city.taxation.code
comodel_name='l10n_br_fiscal.city.taxation.code'
string='City Taxation Code'
fiscal_genre_code
Char
related='fiscal_genre_id.code'
store=True
string='Fiscal Product Genre Code'
fiscal_genre_id
Many2one → l10n_br_fiscal.product.genre
comodel_name='l10n_br_fiscal.product.genre'
string='Fiscal Product Genre'
fiscal_type
Selection
company_dependent=True
selection=PRODUCT_FISCAL_TYPE
string='Fiscal Type'
icms_origin
Selection
company_dependent=True
default=ICMS_ORIGIN_DEFAULT
selection=ICMS_ORIGIN
string='ICMS Origin'
ipi_control_seal_id
Many2one → l10n_br_fiscal.tax.ipi.control.seal
comodel_name='l10n_br_fiscal.tax.ipi.control.seal'
string='IPI Control Seal'
ipi_guideline_class_id
Many2one → l10n_br_fiscal.tax.ipi.guideline.class
comodel_name='l10n_br_fiscal.tax.ipi.guideline.class'
string='IPI Guideline Class'
nbm_id
Many2one → l10n_br_fiscal.nbm
comodel_name='l10n_br_fiscal.nbm'
index=True
string='NBM'
nbs_id
Many2one → l10n_br_fiscal.nbs
comodel_name='l10n_br_fiscal.nbs'
index=True
string='NBS'
ncm_id
Many2one → l10n_br_fiscal.ncm
comodel_name='l10n_br_fiscal.ncm'
default=_get_default_ncm_id
index=True
string='NCM'
service_type_id
Many2one → l10n_br_fiscal.service.type
comodel_name='l10n_br_fiscal.service.type'
domain="[('internal_type', '=', 'normal')]"
string='Service Type LC 166'
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
column1='product_id'
column2='tax_definition_id'
comodel_name='l10n_br_fiscal.tax.definition'
readonly=True
relation='tax_definition_product_rel'
string='Tax Definition'
tax_icms_or_issqn
Selection
default=TAX_DOMAIN_ICMS
selection=TAX_ICMS_OR_ISSQN
string='ICMS or ISSQN Tax'
uoe_factor
Float
default=1.0
string='Export UoM Factor'
uoe_id
Many2one → uom.uom
comodel_name='uom.uom'
related='ncm_id.uoe_id'
store=True
string='Export UoM'
uot_factor
Float
string='Tax UoM Factor'
uot_id
Many2one → uom.uom
comodel_name='uom.uom'
string='Tax UoM'
No public methods.
accountant_id
Many2one → res.partner
comodel_name='res.partner'
string='Accountant'
annual_revenue
Monetary
currency_field='currency_id'
string='Annual Revenue'
certificate_ecnpj_id
Many2one → l10n_br_fiscal.certificate
comodel_name='l10n_br_fiscal.certificate'
domain="[('type', '=', 'e-cnpj')]"
string='E-CNPJ'
certificate_nfe_id
Many2one → l10n_br_fiscal.certificate
comodel_name='l10n_br_fiscal.certificate'
domain="[('type', '=', 'nf-e')]"
string='NFe'
cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
compute='_compute_address'
domain="[('internal_type', '=', 'normal'), ('id', 'not in', cnae_secondary_ids)]"
inverse='_inverse_cnae_main_id'
string='Main CNAE'
cnae_secondary_ids
Many2many → l10n_br_fiscal.cnae
column1='company_id'
column2='cnae_id'
comodel_name='l10n_br_fiscal.cnae'
domain="[('internal_type', '=', 'normal'), ('id', '!=', cnae_main_id)]"
relation='res_company_fiscal_cnae_rel'
string='Secondary CNAE'
coefficient_r
Boolean
compute='_compute_simplified_tax'
readonly=True
store=True
coefficient_r_percent
Float
compute='_compute_simplified_tax'
readonly=True
store=True
string='Coefficient R (%)'
document_email_ids
One2many → l10n_br_fiscal.document.email
comodel_name='l10n_br_fiscal.document.email'
inverse_name='company_id'
string='Email Template Definition'
document_save_disk
Boolean
default=True
string='Save Documents to disk'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
string='Default Document Type'
fiscal_dummy_id
Many2one → l10n_br_fiscal.document
comodel_name='l10n_br_fiscal.document'
ondelete='restrict'
string='Fiscal Dummy Document'
ibpt_api
Boolean
default=False
string='Use IBPT API'
ibpt_token
Char
string='IBPT Token'
ibpt_update_days
Integer
default=15
string='IBPT Token Updates'
icms_regulation_id
Many2one → l10n_br_fiscal.icms.regulation
comodel_name='l10n_br_fiscal.icms.regulation'
string='ICMS Regulation'
industry_type
Selection
default=INDUSTRY_TYPE_TRANSFORMATION
selection=INDUSTRY_TYPE
string='Industry Type'
is_industry
Boolean
default=False
help='If your company is industry or ......'
string='Is Industry'
payroll_amount
Monetary
currency_field='currency_id'
string='Last Period Payroll Amount'
piscofins_id
Many2one → l10n_br_fiscal.tax.pis.cofins
comodel_name='l10n_br_fiscal.tax.pis.cofins'
domain="[('piscofins_type', '=', 'company')]"
string='PIS/COFINS'
processador_edoc
Selection
default=PROCESSADOR_NENHUM
selection=PROCESSADOR
string='Processador documentos eletrônicos'
profit_calculation
Selection
default=PROFIT_CALCULATION_PRESUMED
selection=PROFIT_CALCULATION
string='Profit Calculation'
ripi
Boolean
string='RIPI'
simplified_tax_id
Many2one → l10n_br_fiscal.simplified.tax
comodel_name='l10n_br_fiscal.simplified.tax'
compute='_compute_simplified_tax'
readonly=True
string='Simplified Tax'
simplified_tax_percent
Float
compute='_compute_simplified_tax'
digits=dp.get_precision('Fiscal Tax Percent')
store=True
simplified_tax_range_id
Many2one → l10n_br_fiscal.simplified.tax.range
comodel_name='l10n_br_fiscal.simplified.tax.range'
compute='_compute_simplified_tax'
readonly=True
store=True
string='Simplified Tax Range'
tax_cofins_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_COFINS_WH)]
string='Default COFINS RET'
tax_csll_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL)]
string='Default CSLL'
tax_csll_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_CSLL_WH)]
string='Default CSLL RET'
tax_definition_ids
One2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
inverse_name='company_id'
string='Tax Definition'
tax_framework
Selection
compute='_compute_address'
default=TAX_FRAMEWORK_NORMAL
inverse='_inverse_tax_framework'
selection=TAX_FRAMEWORK
string='Tax Framework'
tax_icms_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', 'in', (TAX_DOMAIN_ICMS, TAX_DOMAIN_ICMS_SN))]
string='Default ICMS'
tax_inss_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS)]
string='Default INSS'
tax_inss_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_INSS_WH)]
string='Default INSS RET'
tax_ipi_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IPI)]
string='Default IPI'
tax_irpj_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ)]
string='Default IRPJ'
tax_irpj_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_IRPJ_WH)]
string='Default IRPJ RET'
tax_issqn_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN)]
string='Default ISSQN'
tax_issqn_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_ISSQN_WH)]
string='Default ISSQN RET'
tax_pis_wh_id
Many2one → l10n_br_fiscal.tax
comodel_name='l10n_br_fiscal.tax'
domain=[('tax_domain', '=', TAX_DOMAIN_PIS_WH)]
string='Default PIS RET'
technical_support_id
Many2one → res.partner
comodel_name='res.partner'
string='Technical Support'
default_get(self, fields)
cert_expired_alert
Integer
config_parameter='l10n_br_fiscal_cert_expired_alert'
default=30
required=True
string='Certificate Expired Alert'
document_type_id
Many2one → l10n_br_fiscal.document.type
comodel_name='l10n_br_fiscal.document.type'
related='company_id.document_type_id'
string='Default Document Type'
ibpt_api
Boolean
readonly=False
related='company_id.ibpt_api'
string='Use IBPT API'
ibpt_token
Char
readonly=False
related='company_id.ibpt_token'
string='IBPT Token'
ibpt_update_days
Integer
readonly=False
related='company_id.ibpt_update_days'
string='IBPT Update'
module_l10n_br_cte
Boolean
string='CT-e'
module_l10n_br_mdfe
Boolean
string='MDF-e'
module_l10n_br_nfe
Boolean
string='NF-e/NFC-e'
module_l10n_br_nfse
Boolean
string='NFS-e'
module_l10n_br_stock_account_report
Boolean
string='Brazilian Stock Account Report - P7 Model'
No public methods.
tax_definition_ids
Many2many → l10n_br_fiscal.tax.definition
comodel_name='l10n_br_fiscal.tax.definition'
domain="['|', ('state_from_ids', '=', id), ('state_to_ids', '=', id)]"
string='Tax Definitions'
No public methods.
city_id
Many2one
track_visibility='onchange'
cnae_main_id
Many2one → l10n_br_fiscal.cnae
comodel_name='l10n_br_fiscal.cnae'
domain=[('internal_type', '=', 'normal')]
string='Main CNAE'
cnpj_cpf
Char
track_visibility='onchange'
fiscal_profile_id
Many2one → l10n_br_fiscal.partner.profile
comodel_name='l10n_br_fiscal.partner.profile'
default=_default_fiscal_profile_id
domain="[('is_company', '=', is_company)]"
inverse='_inverse_fiscal_profile'
string='Fiscal Partner Profile'
track_visibility='onchange'
ind_final
Selection
default=FINAL_CUSTOMER_NO
selection=FINAL_CUSTOMER
string='Final Consumption Operation'
track_visibility='onchange'
ind_ie_dest
Selection
default=NFE_IND_IE_DEST_DEFAULT
required=True
selection=NFE_IND_IE_DEST
string='Contribuinte do ICMS'
track_visibility='onchange'
inscr_est
Char
track_visibility='onchange'
inscr_mun
Char
track_visibility='onchange'
is_company
Boolean
track_visibility='onchange'
is_public_entity
Boolean
help='Indicates whether the entity in question is a public organization or government-related entity. It encompasses a range of entities such as municipal governments, state-owned enterprises (where the government is the largest shareholder), and other government-controlled organizations.'
string='Public Entity'
state_id
Many2one
track_visibility='onchange'
tax_framework
Selection
default=TAX_FRAMEWORK_NORMAL
selection=TAX_FRAMEWORK
string='Tax Framework'
track_visibility='onchange'
No public methods.
measure_type
Selection
selection_add=[('area', 'Àrea / Superfície')]
No public methods.
alternative_ids
One2many → uom.uom.alternative
comodel_name='uom.uom.alternative'
inverse_name='uom_id'
string='Alternative names'
code
Char
size=6
string='Code'
search(self, domain, *args, **kwargs)
code
Char
string='Code'
uom_id
Many2one → uom.uom
comodel_name='uom.uom'
No public methods.
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/l10n-brazil |
| PULL REQUEST | |
| PULL REQUEST | [19.0][MIG] l10n_br_fiscal: Migration to 19.0 (#4552) |