odoo-addon-l10n-br-fiscal 16.0.2.12.1__py3-none-any.whl → 16.0.2.14.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of odoo-addon-l10n-br-fiscal might be problematic. Click here for more details.

Files changed (34) hide show
  1. odoo/addons/l10n_br_fiscal/README.rst +1 -1
  2. odoo/addons/l10n_br_fiscal/__init__.py +70 -2
  3. odoo/addons/l10n_br_fiscal/__manifest__.py +32 -5
  4. odoo/addons/l10n_br_fiscal/data/l10n_br_fiscal.ncm.csv +1 -1
  5. odoo/addons/l10n_br_fiscal/data/l10n_br_fiscal_cfop_data.xml +0 -1
  6. odoo/addons/l10n_br_fiscal/data/l10n_br_fiscal_icms_tax_definition_data.xml +0 -1
  7. odoo/addons/l10n_br_fiscal/data/l10n_br_fiscal_tax_icms_data.xml +0 -1
  8. odoo/addons/l10n_br_fiscal/data/operation_data.xml +14 -14
  9. odoo/addons/l10n_br_fiscal/data/simplified_tax_data.xml +1 -2
  10. odoo/addons/l10n_br_fiscal/demo/__init__.py +218 -0
  11. odoo/addons/l10n_br_fiscal/demo/city_taxation_code_demo.xml +0 -1
  12. odoo/addons/l10n_br_fiscal/demo/company_demo.xml +0 -1
  13. odoo/addons/l10n_br_fiscal/demo/fiscal_document_demo.xml +1 -1
  14. odoo/addons/l10n_br_fiscal/demo/fiscal_document_nfse_demo.xml +0 -1
  15. odoo/addons/l10n_br_fiscal/demo/fiscal_operation_demo.xml +0 -1
  16. odoo/addons/l10n_br_fiscal/demo/icms_tax_definition_demo.xml +0 -1
  17. odoo/addons/l10n_br_fiscal/demo/l10n_br_fiscal_document_email.xml +0 -1
  18. odoo/addons/l10n_br_fiscal/demo/partner_demo.xml +0 -15
  19. odoo/addons/l10n_br_fiscal/demo/product_demo.xml +0 -9
  20. odoo/addons/l10n_br_fiscal/demo/res_users_demo.xml +0 -1
  21. odoo/addons/l10n_br_fiscal/demo/subsequent_operation_demo.xml +0 -1
  22. odoo/addons/l10n_br_fiscal/i18n/l10n_br_fiscal.pot +0 -36
  23. odoo/addons/l10n_br_fiscal/static/description/index.html +1 -1
  24. odoo/addons/l10n_br_fiscal/tests/test_fiscal_document_generic.py +6 -8
  25. odoo/addons/l10n_br_fiscal/views/operation_view.xml +1 -6
  26. {odoo_addon_l10n_br_fiscal-16.0.2.12.1.dist-info → odoo_addon_l10n_br_fiscal-16.0.2.14.0.dist-info}/METADATA +2 -2
  27. {odoo_addon_l10n_br_fiscal-16.0.2.12.1.dist-info → odoo_addon_l10n_br_fiscal-16.0.2.14.0.dist-info}/RECORD +29 -33
  28. odoo/addons/l10n_br_fiscal/demo/l10n_br_fiscal.cest-demo.csv +0 -33
  29. odoo/addons/l10n_br_fiscal/demo/l10n_br_fiscal.nbm-demo.csv +0 -302
  30. odoo/addons/l10n_br_fiscal/demo/l10n_br_fiscal.nbs-demo.csv +0 -32
  31. odoo/addons/l10n_br_fiscal/demo/l10n_br_fiscal.ncm-demo.csv +0 -306
  32. odoo/addons/l10n_br_fiscal/hooks.py +0 -159
  33. {odoo_addon_l10n_br_fiscal-16.0.2.12.1.dist-info → odoo_addon_l10n_br_fiscal-16.0.2.14.0.dist-info}/WHEEL +0 -0
  34. {odoo_addon_l10n_br_fiscal-16.0.2.12.1.dist-info → odoo_addon_l10n_br_fiscal-16.0.2.14.0.dist-info}/top_level.txt +0 -0
@@ -7,7 +7,7 @@ Módulo fiscal brasileiro
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:840f76f5d956d8c62612aa462714c15a3286bd7c53eaa70673222a47aa92c366
10
+ !! source digest: sha256:56fdc209f90971bb35a433356bdad2a52e104e42d9d3ffc6e5854d1fe2e0d60f
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -1,6 +1,74 @@
1
+ # Copyright 2025 - TODAY Akretion - Raphael Valyi <raphael.valyi@akretion.com.br>
1
2
  # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
2
3
 
3
- from .hooks import post_init_hook
4
-
5
4
  from . import models
6
5
  from . import wizards
6
+
7
+ import csv
8
+ from io import StringIO
9
+ import logging
10
+ import os
11
+ from odoo import SUPERUSER_ID, api
12
+ from odoo.tools import convert
13
+ from .demo import DEMO_NCM, DEMO_NBM, DEMO_NBS, DEMO_CEST
14
+
15
+ _logger = logging.getLogger(__name__)
16
+
17
+
18
+ def convert_csv_import(
19
+ cr, module, fname, csvcontent, idref=None, mode="init", noupdate=False
20
+ ):
21
+ """
22
+ This is a monkey patch allowing filtering for faster demo/test loading
23
+ and allowing to force noupdate=True for some key fiscal data.
24
+ """
25
+ filename, _ext = os.path.splitext(os.path.basename(fname))
26
+ model = filename.split("-")[0]
27
+ # is is one of the very large fiscal CSV data files?
28
+ if model in (
29
+ "l10n_br_fiscal.ncm",
30
+ "l10n_br_fiscal.nbm",
31
+ "l10n_br_fiscal.nbs",
32
+ "l10n_br_fiscal.cest",
33
+ ):
34
+ noupdate = True
35
+ # now we will figure out if we are in demo/test mode
36
+ # at this early stage of data module loading, the demo flag of the fiscal module
37
+ # can still be False, that's why we will consider it's the demo/test mode
38
+ # if the demo flag is set for the l10n_br_base module.
39
+ env = api.Environment(cr, SUPERUSER_ID, {})
40
+ modules = env["ir.module.module"].search(
41
+ [("name", "in", ("l10n_br_base", "l10n_br_fiscal"))]
42
+ )
43
+ if any(module.demo for module in modules):
44
+ # Then we will filter and load only the demo records:
45
+ input_stream = StringIO(csvcontent.decode())
46
+ output_stream = StringIO()
47
+ csv_reader = csv.reader(input_stream)
48
+ csv_writer = csv.writer(output_stream)
49
+ header = next(csv_reader)
50
+ csv_writer.writerow(header)
51
+
52
+ # Filter and write rows matching the IDs
53
+ id_column_values = globals().get(f"DEMO_{model.split('.')[-1].upper()}")
54
+ line_count = 0
55
+ for row in csv_reader:
56
+ if row[0].replace('"', "") in id_column_values:
57
+ csv_writer.writerow(row)
58
+ line_count += 1
59
+
60
+ _logger.info(
61
+ f"(faster demo/test mode: loading only {line_count} demo lines)"
62
+ )
63
+
64
+ # Get the filtered content as a string
65
+ output_stream.seek(0)
66
+ csvcontent = output_stream.getvalue().encode()
67
+
68
+ return convert.convert_csv_import._original_method(
69
+ cr, module, fname, csvcontent, idref, mode, noupdate
70
+ )
71
+
72
+
73
+ convert_csv_import._original_method = convert.convert_csv_import
74
+ convert.convert_csv_import = convert_csv_import
@@ -10,17 +10,16 @@
10
10
  "maintainers": ["renatonlima"],
11
11
  "website": "https://github.com/OCA/l10n-brazil",
12
12
  "development_status": "Production/Stable",
13
- "version": "16.0.2.12.1",
13
+ "version": "16.0.2.14.0",
14
14
  "depends": [
15
15
  "product",
16
16
  "l10n_br_base",
17
17
  ],
18
18
  "data": [
19
- # security
19
+ # Security
20
20
  "security/fiscal_security.xml",
21
21
  "security/ir.model.access.csv",
22
22
  # Data
23
- # Some data is being loaded via post_init_hook in hook file
24
23
  "data/l10n_br_fiscal_email_template.xml",
25
24
  "data/l10n_br_fiscal_data.xml",
26
25
  "data/uom_data.xml",
@@ -38,6 +37,25 @@
38
37
  "data/l10n_br_fiscal_server_action.xml",
39
38
  "data/ir_cron.xml",
40
39
  "data/l10n_br_fiscal_comment_data.xml",
40
+ "data/l10n_br_fiscal.cnae.csv",
41
+ "data/l10n_br_fiscal.cfop.csv",
42
+ "data/l10n_br_fiscal_cfop_data.xml",
43
+ "data/l10n_br_fiscal.tax.ipi.control.seal.csv",
44
+ "data/l10n_br_fiscal.tax.ipi.guideline.csv",
45
+ "data/l10n_br_fiscal.tax.ipi.guideline.class.csv",
46
+ "data/l10n_br_fiscal.tax.pis.cofins.base.csv",
47
+ "data/l10n_br_fiscal.tax.pis.cofins.credit.csv",
48
+ "data/l10n_br_fiscal.service.type.csv",
49
+ "data/simplified_tax_data.xml",
50
+ "data/operation_data.xml",
51
+ "data/l10n_br_fiscal_tax_icms_data.xml",
52
+ # the following csv data files will be loaded as noupdate=True
53
+ # and will be trimmed down when demo mode is True (faster):
54
+ "data/l10n_br_fiscal.ncm.csv",
55
+ "data/l10n_br_fiscal.nbm.csv",
56
+ "data/l10n_br_fiscal.nbs.csv",
57
+ "data/l10n_br_fiscal.cest.csv",
58
+ "data/l10n_br_fiscal_icms_tax_definition_data.xml",
41
59
  # Views
42
60
  "views/cnae_view.xml",
43
61
  "views/cfop_view.xml",
@@ -90,9 +108,18 @@
90
108
  "views/l10n_br_fiscal_menu.xml",
91
109
  ],
92
110
  "demo": [
93
- # Some demo data is being loaded via post_init_hook in hook file
111
+ "demo/city_taxation_code_demo.xml",
112
+ "demo/company_demo.xml",
113
+ "demo/product_demo.xml",
114
+ "demo/partner_demo.xml",
115
+ "demo/fiscal_document_nfse_demo.xml",
116
+ "demo/fiscal_operation_demo.xml",
117
+ "demo/subsequent_operation_demo.xml",
118
+ "demo/l10n_br_fiscal_document_email.xml",
119
+ "demo/res_users_demo.xml",
120
+ "demo/icms_tax_definition_demo.xml",
121
+ "demo/fiscal_document_demo.xml",
94
122
  ],
95
- "post_init_hook": "post_init_hook",
96
123
  "installable": True,
97
124
  "application": True,
98
125
  "auto_install": False,
@@ -11891,7 +11891,7 @@ e suas partes (exceto ampolas de vidro). Partes","tax_ipi_15","tax_ii_0","uom.pr
11891
11891
  "ncm_93063000_02","9306.30.00","02","Ex 02 - Para pistolas de rebitar ou de usos semelhantes ou para pistolas de êmbolo cativo para abate de animais","tax_ipi_10","tax_ii_0","uom.product_uom_kgm","False"
11892
11892
  "ncm_93069000","9306.90.00","","Bombas, granadas, torpedos, minas, mísseis, cartuchos e outras munições e projéteis, e suas partes, incluindo os zagalotes, chumbos de caça e buchas para cartuchos. - Outros","tax_ipi_45","tax_ii_0","uom.product_uom_kgm","False"
11893
11893
  "ncm_94013010","9401.30.10","","Assentos (exceto os da posição 94.02), mesmo transformáveis em camas, e suas partes. - Assentos giratórios de altura ajustável","tax_ipi_5","tax_ii_0","uom.product_uom_unit","False"
11894
- "ncm_94013090","9401.30.90","","Assentos (exceto os da posição 94.02), mesmo transformáveis em camas, e suas partes. - Assentos giratórios de altura ajustável","tax_ipi_5","tax_ii_0","uom.product_uom_unit","False"
11894
+ "ncm_94013090","9401.30.90","","Assentos (exceto os da posição 94.02), mesmo transformáveis em camas, e suas partes. - Assentos giratórios de altura ajustável","tax_ipi_5","tax_ii_0","uom.product_uom_unit",True
11895
11895
  "ncm_94014010","9401.40.10","","Assentos (exceto os da posição 94.02), mesmo transformáveis em camas, e suas partes. - Assentos (exceto de jardim ou de acampamento) transformáveis em camas","tax_ipi_5","tax_ii_0","uom.product_uom_unit","False"
11896
11896
  "ncm_94014090","9401.40.90","","Assentos (exceto os da posição 94.02), mesmo transformáveis em camas, e suas partes. - Assentos (exceto de jardim ou de acampamento) transformáveis em camas","tax_ipi_5","tax_ii_0","uom.product_uom_unit","False"
11897
11897
  "ncm_94019010","9401.90.10","","Assentos (exceto os da posição 94.02), mesmo transformáveis em camas, e suas partes. - Partes","tax_ipi_5","tax_ii_0","uom.product_uom_kgm","False"
@@ -1,5 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
3
2
  <odoo noupdate="1">
4
3
 
5
4
  <record id="cfop_5101" model="l10n_br_fiscal.cfop">
@@ -1,5 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
3
2
  <odoo noupdate="True">
4
3
 
5
4
  <!-- ICMS -->
@@ -1,5 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
3
2
  <odoo noupdate="True">
4
3
 
5
4
  <record id="tax_icms_regulation" model="l10n_br_fiscal.icms.regulation">
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
2
+ <!-- pylint:disable=xml-duplicate-record-id -->
3
3
  <odoo noupdate="1">
4
4
 
5
5
  <record id="document_55_serie_1" model="l10n_br_fiscal.document.serie">
@@ -12,7 +12,7 @@
12
12
 
13
13
  <!-- l10n_br_fiscal.operation -->
14
14
  <record id="fo_venda" model="l10n_br_fiscal.operation">
15
- <field name="code">Venda</field>
15
+ <field name="code">VD</field>
16
16
  <field name="name">Venda</field>
17
17
  <field name="fiscal_operation_type">out</field>
18
18
  <field name="fiscal_type">sale</field>
@@ -110,7 +110,7 @@
110
110
  </record>
111
111
 
112
112
  <record id="fo_bonificacao" model="l10n_br_fiscal.operation">
113
- <field name="code">Bonificação</field>
113
+ <field name="code">BNF</field>
114
114
  <field name="name">Bonificação</field>
115
115
  <field name="fiscal_operation_type">out</field>
116
116
  <field name="fiscal_type">other</field>
@@ -127,7 +127,7 @@
127
127
  </record>
128
128
 
129
129
  <record id="fo_devolucao_venda" model="l10n_br_fiscal.operation">
130
- <field name="code">Devolução de Venda</field>
130
+ <field name="code">DVV</field>
131
131
  <field name="name">Devolução de Venda</field>
132
132
  <field name="fiscal_operation_type">in</field>
133
133
  <field name="fiscal_type">sale_refund</field>
@@ -163,7 +163,7 @@
163
163
  </record>
164
164
 
165
165
  <record id="fo_compras" model="l10n_br_fiscal.operation">
166
- <field name="code">Compras</field>
166
+ <field name="code">CP</field>
167
167
  <field name="name">Compras</field>
168
168
  <field name="fiscal_operation_type">in</field>
169
169
  <field name="fiscal_type">purchase</field>
@@ -236,7 +236,7 @@
236
236
  </record>
237
237
 
238
238
  <record id="fo_devolucao_compras" model="l10n_br_fiscal.operation">
239
- <field name="code">Devolução de Compras</field>
239
+ <field name="code">DVC</field>
240
240
  <field name="name">Devolução de Compras</field>
241
241
  <field name="fiscal_operation_type">out</field>
242
242
  <field name="fiscal_type">purchase_refund</field>
@@ -294,7 +294,7 @@
294
294
  </record>
295
295
 
296
296
  <record id="fo_entrada_remessa" model="l10n_br_fiscal.operation">
297
- <field name="code">Entrada de Remessa</field>
297
+ <field name="code">ER</field>
298
298
  <field name="name">Entrada de Remessa</field>
299
299
  <field name="fiscal_operation_type">in</field>
300
300
  <field name="fiscal_type">other</field>
@@ -315,7 +315,7 @@
315
315
  </record>
316
316
 
317
317
  <record id="fo_simples_remessa" model="l10n_br_fiscal.operation">
318
- <field name="code">Simples Remessa</field>
318
+ <field name="code">SR</field>
319
319
  <field name="name">Simples Remessa</field>
320
320
  <field name="fiscal_operation_type">out</field>
321
321
  <field name="fiscal_type">other</field>
@@ -336,7 +336,7 @@
336
336
  </record>
337
337
 
338
338
  <record id="fo_simples_faturamento" model="l10n_br_fiscal.operation">
339
- <field name="code">Simples Faturamento</field>
339
+ <field name="code">SF</field>
340
340
  <field name="name">Simples Faturamento</field>
341
341
  <field name="fiscal_operation_type">out</field>
342
342
  <field name="fiscal_type">other</field>
@@ -356,7 +356,7 @@
356
356
  </record>
357
357
 
358
358
  <record id="fo_entrega_futura" model="l10n_br_fiscal.operation">
359
- <field name="code">Venda - Entrega Futura</field>
359
+ <field name="code">VEF</field>
360
360
  <field name="name">Venda - Entrega Futura</field>
361
361
  <field name="fiscal_operation_type">out</field>
362
362
  <field name="fiscal_type">sale</field>
@@ -373,7 +373,7 @@
373
373
  </record>
374
374
 
375
375
  <record id="fo_remessa_industrializacao" model="l10n_br_fiscal.operation">
376
- <field name="code">Remessa - Industrialização</field>
376
+ <field name="code">RI</field>
377
377
  <field name="name">Remessa para industrialização por encomenda</field>
378
378
  <field name="fiscal_operation_type">out</field>
379
379
  <field name="fiscal_type">return_out</field>
@@ -396,7 +396,7 @@
396
396
  </record>
397
397
 
398
398
  <record id="fo_entrada_industrializacao" model="l10n_br_fiscal.operation">
399
- <field name="code">Entrada - Industrialização</field>
399
+ <field name="code">EI</field>
400
400
  <field name="name">Entrada para industrialização por encomenda</field>
401
401
  <field name="fiscal_operation_type">in</field>
402
402
  <field name="fiscal_type">other</field>
@@ -419,7 +419,7 @@
419
419
  </record>
420
420
 
421
421
  <record id="fo_retorno_reparo" model="l10n_br_fiscal.operation">
422
- <field name="code">Retorno - Reparo</field>
422
+ <field name="code">RR</field>
423
423
  <field
424
424
  name="name"
425
425
  >Retorno de mercadoria ou bem remetido para conserto ou reparo</field>
@@ -440,7 +440,7 @@
440
440
  </record>
441
441
 
442
442
  <record id="fo_entrada_reparo" model="l10n_br_fiscal.operation">
443
- <field name="code">Entrada - Reparo</field>
443
+ <field name="code">EMR</field>
444
444
  <field
445
445
  name="name"
446
446
  >Entrada de mercadoria ou bem remetido para conserto ou reparo</field>
@@ -1,6 +1,5 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
3
- <odoo>
2
+ <odoo noupdate="1">
4
3
 
5
4
  <record id="simplefied_tax_anexo1" model="l10n_br_fiscal.simplified.tax">
6
5
  <field name="name">Anexo 1 - Comércio</field>
@@ -0,0 +1,218 @@
1
+ # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
2
+
3
+ DEMO_NCM = [
4
+ # NCMs used in demo products and tests:
5
+ "ncm_00000000",
6
+ "ncm_94013090",
7
+ "ncm_94052000",
8
+ "ncm_94033000",
9
+ "ncm_73269090",
10
+ "ncm_73239900",
11
+ "ncm_94031000",
12
+ "ncm_96100000",
13
+ "ncm_94016100",
14
+ "ncm_72132000",
15
+ "ncm_48191000",
16
+ "ncm_85030010",
17
+ "ncm_27160000",
18
+ "ncm_85014029",
19
+ "ncm_94012000",
20
+ "ncm_22030000",
21
+ "ncm_22040000",
22
+ "ncm_22050000",
23
+ "ncm_22060000",
24
+ "ncm_22080000",
25
+ "ncm_24020000",
26
+ "ncm_24030000",
27
+ "ncm_33030000",
28
+ "ncm_33040000",
29
+ "ncm_33050000",
30
+ "ncm_33070000",
31
+ "ncm_43000000",
32
+ "ncm_93000000",
33
+ "ncm_24010000",
34
+ "ncm_72131000",
35
+ "ncm_72132000",
36
+ "ncm_72142000",
37
+ "ncm_72149100",
38
+ "ncm_72149910",
39
+ "ncm_72149990",
40
+ "ncm_72161000",
41
+ "ncm_72162100",
42
+ "ncm_72162200",
43
+ "ncm_72163100",
44
+ "ncm_72163200",
45
+ "ncm_72171090",
46
+ "ncm_73084000",
47
+ "ncm_73142000",
48
+ "ncm_73143100",
49
+ "ncm_73143900",
50
+ "ncm_73144100",
51
+ "ncm_73144200",
52
+ "ncm_72172090",
53
+ "ncm_72179000",
54
+ "ncm_73130000",
55
+ "ncm_73170020",
56
+ "ncm_73170090",
57
+ "ncm_73262000",
58
+ "ncm_32149000",
59
+ "ncm_69049000",
60
+ "ncm_69051000",
61
+ "ncm_68101900",
62
+ "ncm_68109100",
63
+ "ncm_68109900",
64
+ "ncm_68101100",
65
+ "ncm_68111000",
66
+ "ncm_68112000",
67
+ "ncm_68119000",
68
+ "ncm_69101000",
69
+ "ncm_69109000",
70
+ "ncm_94010000",
71
+ "ncm_94030000",
72
+ "ncm_69060000",
73
+ "ncm_39181000",
74
+ "ncm_44101900",
75
+ "ncm_44111100",
76
+ "ncm_44111900",
77
+ "ncm_44112100",
78
+ "ncm_44112900",
79
+ "ncm_940100000",
80
+ "ncm_940300000",
81
+ "ncm_940410000",
82
+ "ncm_940420000",
83
+ "ncm_392190100",
84
+ "ncm_190520000",
85
+ "ncm_190590900",
86
+ "ncm_190540000",
87
+ "ncm_36041000",
88
+ "ncm_85093000",
89
+ "ncm_90051000",
90
+ "ncm_95044000",
91
+ "ncm_95065100",
92
+ "ncm_95066100",
93
+ "ncm_95063100",
94
+ "ncm_95063200",
95
+ "ncm_96142000",
96
+ "ncm_96159000",
97
+ "ncm_95066100",
98
+ "ncm_24011010",
99
+ "ncm_24011020",
100
+ "ncm_24011030",
101
+ "ncm_24011040",
102
+ "ncm_24011090",
103
+ "ncm_24012010",
104
+ "ncm_24012020",
105
+ "ncm_24012030",
106
+ "ncm_24012040",
107
+ "ncm_24012090",
108
+ "ncm_24013000",
109
+ "ncm_24021000",
110
+ "ncm_24021000_01",
111
+ "ncm_24022000",
112
+ "ncm_24022000_01",
113
+ "ncm_24029000",
114
+ "ncm_24029000_01",
115
+ "ncm_24031100",
116
+ "ncm_24031900",
117
+ "ncm_24039100",
118
+ "ncm_24039910",
119
+ "ncm_24039990",
120
+ "ncm_84714900",
121
+ "ncm_10085090",
122
+ # some other common NCMs:
123
+ "ncm_85171231",
124
+ "ncm_85287200",
125
+ "ncm_84182100",
126
+ "ncm_84151090",
127
+ "ncm_87032100",
128
+ "ncm_09012100",
129
+ "ncm_17019900",
130
+ "ncm_10063021",
131
+ "ncm_33051000",
132
+ "ncm_34022000",
133
+ "ncm_22011000",
134
+ ]
135
+
136
+ DEMO_NBM = [ # some common NBMs:
137
+ "nbm_8703210100",
138
+ "nbm_8703210100",
139
+ "nbm_8471490100",
140
+ "nbm_8517120100",
141
+ "nbm_8471500100",
142
+ "nbm_8471500100",
143
+ "nbm_8471600100",
144
+ "nbm_8703400100",
145
+ "nbm_8517690100",
146
+ ]
147
+
148
+
149
+ DEMO_NBS = [
150
+ "nbs_114021100",
151
+ "nbs_101011000",
152
+ "nbs_101012000",
153
+ "nbs_101021000",
154
+ "nbs_101022000",
155
+ "nbs_101029000",
156
+ "nbs_101031000",
157
+ "nbs_101032000",
158
+ "nbs_101261000",
159
+ "nbs_101262000",
160
+ "nbs_101263000",
161
+ "nbs_101264000",
162
+ "nbs_101269000",
163
+ "nbs_101271000",
164
+ "nbs_101272000",
165
+ "nbs_101281000",
166
+ "nbs_103011000",
167
+ "nbs_103012100",
168
+ "nbs_103012200",
169
+ "nbs_103012900",
170
+ "nbs_103013100",
171
+ "nbs_103013200",
172
+ "nbs_103013900",
173
+ "nbs_103019000",
174
+ "nbs_103020000",
175
+ "nbs_103031100",
176
+ "nbs_115069000",
177
+ "nbs_119031100",
178
+ "nbs_119031200",
179
+ "nbs_120013912",
180
+ "nbs_124043300",
181
+ ]
182
+
183
+
184
+ DEMO_CEST = [
185
+ "cest_2112400",
186
+ "cest_2106500",
187
+ "cest_2106600",
188
+ "cest_2106700",
189
+ "cest_2106701",
190
+ "cest_2106800",
191
+ "cest_2106900",
192
+ "cest_2107000",
193
+ "cest_2107100",
194
+ "cest_2107200",
195
+ "cest_2107300",
196
+ "cest_2107400",
197
+ "cest_2107500",
198
+ "cest_0112500",
199
+ "cest_0112600",
200
+ "cest_0112700",
201
+ "cest_0112800",
202
+ "cest_0199900",
203
+ "cest_0200100",
204
+ "cest_0200200",
205
+ "cest_0200300",
206
+ "cest_0200400",
207
+ "cest_0200500",
208
+ "cest_0200600",
209
+ "cest_0200700",
210
+ "cest_0200800",
211
+ "cest_0200900",
212
+ "cest_0201000",
213
+ "cest_0100100",
214
+ "cest_1703000",
215
+ "cest_1705602",
216
+ "cest_1709700",
217
+ "cest_2112300",
218
+ ]
@@ -1,5 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
3
2
  <odoo noupdate="1">
4
3
 
5
4
  <!-- City Taxation Code -->
@@ -1,5 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
3
2
  <odoo noupdate="1">
4
3
 
5
4
  <!-- Sua Empresa -->
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
2
+ <!-- pylint:disable=xml-duplicate-record-id -->
3
3
  <odoo noupdate="1">
4
4
 
5
5
  <record id="dummy_file_1" model="ir.attachment">
@@ -1,5 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
3
2
  <odoo noupdate="1">
4
3
  <!-- NFSe Test - Empresa Contribuinte - Mesmo Estado -->
5
4
  <record id="demo_nfse_same_state" model="l10n_br_fiscal.document">
@@ -1,5 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
3
2
  <odoo noupdate="0">
4
3
 
5
4
  <record id="fo_venda" model="l10n_br_fiscal.operation">
@@ -1,5 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
3
2
  <odoo noupdate="1">
4
3
 
5
4
  <!-- ICMS 18% with a reduction of 51.11% for NCM 17029000-->
@@ -1,5 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
3
2
  <odoo noupdate="1">
4
3
 
5
4
  <record
@@ -1,5 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
3
2
  <odoo noupdate="1">
4
3
 
5
4
  <!-- Resource: res.partner -->
@@ -145,13 +144,6 @@
145
144
  ref="l10n_br_fiscal.partner_fiscal_profile_snc"
146
145
  />
147
146
  </record>
148
- <record id="l10n_br_base.res_partner_cliente2_sp_end_entrega" model="res.partner">
149
- <!-- Endereço de Entrega -->
150
- <field
151
- name="fiscal_profile_id"
152
- ref="l10n_br_fiscal.partner_fiscal_profile_snc"
153
- />
154
- </record>
155
147
 
156
148
  <!-- Cliente 3 - Z/F Manaus - Contribuinte -->
157
149
  <record id="l10n_br_base.res_partner_cliente3_am" model="res.partner">
@@ -199,13 +191,6 @@
199
191
  ref="l10n_br_fiscal.partner_fiscal_profile_cnt"
200
192
  />
201
193
  </record>
202
- <record id="l10n_br_base.res_partner_cliente7_rs_end_cobranca" model="res.partner">
203
- <!-- Endereço de Cobrança -->
204
- <field
205
- name="fiscal_profile_id"
206
- ref="l10n_br_fiscal.partner_fiscal_profile_cnt"
207
- />
208
- </record>
209
194
 
210
195
  <!-- Cliente 8 RS - Simples Nacional -->
211
196
  <record id="l10n_br_base.res_partner_cliente8_rs" model="res.partner">
@@ -1,5 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
3
2
  <odoo noupdate="1">
4
3
 
5
4
  <!-- Service products -->
@@ -500,14 +499,6 @@
500
499
  <field name="icms_origin">0</field>
501
500
  </record>
502
501
 
503
- <!-- FURN_0098 - Customizable Desk -->
504
- <record id="product.product_product_4c" model="product.product">
505
- <field name="ncm_id" ref="l10n_br_fiscal.ncm_94033000" />
506
- <field name="fiscal_genre_id" ref="l10n_br_fiscal.product_genre_94" />
507
- <field name="fiscal_type">04</field>
508
- <field name="icms_origin">0</field>
509
- </record>
510
-
511
502
  <!-- DESK0004 - Customizable Desk -->
512
503
  <record id="product.product_product_4c" model="product.product">
513
504
  <field name="ncm_id" ref="l10n_br_fiscal.ncm_94033000" />
@@ -1,5 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
3
2
  <odoo noupdate="1">
4
3
 
5
4
  <record id="l10n_br_base.user_demo_simples" model="res.users">
@@ -1,5 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8" ?>
2
- <!-- pylint:disable=file-not-used -->
3
2
  <odoo noupdate="1">
4
3
  <!-- Simples Faturamento -->
5
4
  <record id="so_simples_faturamento" model="l10n_br_fiscal.subsequent.operation">