odoo-addon-l10n-br-fiscal 16.0.11.1.2__py3-none-any.whl → 16.0.11.3.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.
- odoo/addons/l10n_br_fiscal/README.rst +1 -1
- odoo/addons/l10n_br_fiscal/__manifest__.py +3 -1
- odoo/addons/l10n_br_fiscal/demo/fiscal_document_demo.xml +0 -43
- odoo/addons/l10n_br_fiscal/demo/fiscal_document_nfse_demo.xml +0 -3
- odoo/addons/l10n_br_fiscal/i18n/l10n_br_fiscal.pot +78 -0
- odoo/addons/l10n_br_fiscal/models/document_line_mixin.py +30 -8
- odoo/addons/l10n_br_fiscal/models/document_line_mixin_methods.py +62 -34
- odoo/addons/l10n_br_fiscal/security/ir.model.access.csv +1 -0
- odoo/addons/l10n_br_fiscal/static/description/index.html +1 -1
- odoo/addons/l10n_br_fiscal/tests/__init__.py +1 -0
- odoo/addons/l10n_br_fiscal/tests/test_document_edition.py +117 -0
- odoo/addons/l10n_br_fiscal/tests/test_fiscal_document_generic.py +14 -34
- odoo/addons/l10n_br_fiscal/tests/test_fiscal_document_nfse.py +0 -1
- odoo/addons/l10n_br_fiscal/tests/test_tax_benefit.py +0 -1
- odoo/addons/l10n_br_fiscal/wizards/__init__.py +1 -0
- odoo/addons/l10n_br_fiscal/wizards/document_import_wizard_mixin.py +129 -0
- odoo/addons/l10n_br_fiscal/wizards/document_import_wizard_mixin.xml +44 -0
- {odoo_addon_l10n_br_fiscal-16.0.11.1.2.dist-info → odoo_addon_l10n_br_fiscal-16.0.11.3.0.dist-info}/METADATA +2 -2
- {odoo_addon_l10n_br_fiscal-16.0.11.1.2.dist-info → odoo_addon_l10n_br_fiscal-16.0.11.3.0.dist-info}/RECORD +21 -18
- {odoo_addon_l10n_br_fiscal-16.0.11.1.2.dist-info → odoo_addon_l10n_br_fiscal-16.0.11.3.0.dist-info}/WHEEL +0 -0
- {odoo_addon_l10n_br_fiscal-16.0.11.1.2.dist-info → odoo_addon_l10n_br_fiscal-16.0.11.3.0.dist-info}/top_level.txt +0 -0
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
# Magno Costa <magno.costa@akretion.com.br>
|
|
3
3
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
from odoo.tests import TransactionCase
|
|
7
6
|
|
|
8
7
|
from ..constants.icms import ICMS_ORIGIN_TAX_IMPORTED
|
|
@@ -44,17 +43,12 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
44
43
|
self.nfe_same_state._onchange_fiscal_operation_id()
|
|
45
44
|
|
|
46
45
|
for line in self.nfe_same_state.fiscal_line_ids:
|
|
47
|
-
# Save the original price_unit value of the line as defined in
|
|
48
|
-
# the NFe demo data.
|
|
49
|
-
original_price_unit = line.price_unit
|
|
50
|
-
|
|
51
46
|
line._onchange_product_id_fiscal()
|
|
52
47
|
|
|
53
48
|
# Restore the original price_unit value,
|
|
54
49
|
# as the product change might have altered it.
|
|
55
|
-
line.price_unit =
|
|
50
|
+
line.price_unit = 100
|
|
56
51
|
|
|
57
|
-
line._onchange_commercial_quantity()
|
|
58
52
|
line._onchange_fiscal_operation_id()
|
|
59
53
|
line._onchange_fiscal_taxes()
|
|
60
54
|
|
|
@@ -175,7 +169,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
175
169
|
|
|
176
170
|
for line in self.nfe_other_state.fiscal_line_ids:
|
|
177
171
|
line._onchange_product_id_fiscal()
|
|
178
|
-
line._onchange_commercial_quantity()
|
|
179
172
|
line._onchange_fiscal_operation_id()
|
|
180
173
|
line._onchange_fiscal_taxes()
|
|
181
174
|
|
|
@@ -294,7 +287,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
294
287
|
|
|
295
288
|
for line in self.nfe_not_taxpayer.fiscal_line_ids:
|
|
296
289
|
line._onchange_product_id_fiscal()
|
|
297
|
-
line._onchange_commercial_quantity()
|
|
298
290
|
line._onchange_fiscal_operation_id()
|
|
299
291
|
line._onchange_fiscal_taxes()
|
|
300
292
|
|
|
@@ -400,7 +392,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
400
392
|
|
|
401
393
|
for line in self.nfe_not_taxpayer_pf.fiscal_line_ids:
|
|
402
394
|
line._onchange_product_id_fiscal()
|
|
403
|
-
line._onchange_commercial_quantity()
|
|
404
395
|
line._onchange_fiscal_operation_id()
|
|
405
396
|
line._onchange_fiscal_taxes()
|
|
406
397
|
|
|
@@ -506,7 +497,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
506
497
|
|
|
507
498
|
for line in self.nfe_export.fiscal_line_ids:
|
|
508
499
|
line._onchange_product_id_fiscal()
|
|
509
|
-
line._onchange_commercial_quantity()
|
|
510
500
|
line._onchange_fiscal_operation_id()
|
|
511
501
|
line._onchange_fiscal_taxes()
|
|
512
502
|
|
|
@@ -573,8 +563,7 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
573
563
|
self.assertEqual(
|
|
574
564
|
line.pis_tax_id.name,
|
|
575
565
|
"PIS 0,65%",
|
|
576
|
-
"Error to mapping PIS 0,65%"
|
|
577
|
-
" for Venda de Contribuinte p/ o Exterior.",
|
|
566
|
+
"Error to mapping PIS 0,65% for Venda de Contribuinte p/ o Exterior.",
|
|
578
567
|
)
|
|
579
568
|
self.assertEqual(
|
|
580
569
|
line.pis_cst_id.code,
|
|
@@ -588,8 +577,7 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
588
577
|
self.assertEqual(
|
|
589
578
|
line.cofins_tax_id.name,
|
|
590
579
|
"COFINS 3%",
|
|
591
|
-
"Error to mapping COFINS 3%"
|
|
592
|
-
" for Venda de Contribuinte p/ o Exterior.",
|
|
580
|
+
"Error to mapping COFINS 3% for Venda de Contribuinte p/ o Exterior.",
|
|
593
581
|
)
|
|
594
582
|
self.assertEqual(
|
|
595
583
|
line.cofins_cst_id.code,
|
|
@@ -606,7 +594,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
606
594
|
|
|
607
595
|
for line in self.nfe_sn_same_state.fiscal_line_ids:
|
|
608
596
|
line._onchange_product_id_fiscal()
|
|
609
|
-
line._onchange_commercial_quantity()
|
|
610
597
|
|
|
611
598
|
# set fake estimate tax
|
|
612
599
|
line.ncm_id.tax_estimate_ids.create(
|
|
@@ -723,7 +710,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
723
710
|
|
|
724
711
|
for line in self.nfe_sn_other_state.fiscal_line_ids:
|
|
725
712
|
line._onchange_product_id_fiscal()
|
|
726
|
-
line._onchange_commercial_quantity()
|
|
727
713
|
line._onchange_fiscal_operation_id()
|
|
728
714
|
line._onchange_fiscal_taxes()
|
|
729
715
|
|
|
@@ -825,7 +811,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
825
811
|
|
|
826
812
|
for line in self.nfe_sn_not_taxpayer.fiscal_line_ids:
|
|
827
813
|
line._onchange_product_id_fiscal()
|
|
828
|
-
line._onchange_commercial_quantity()
|
|
829
814
|
line._onchange_fiscal_operation_id()
|
|
830
815
|
line._onchange_fiscal_taxes()
|
|
831
816
|
|
|
@@ -868,8 +853,7 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
868
853
|
self.assertEqual(
|
|
869
854
|
line.ipi_tax_id.name,
|
|
870
855
|
"IPI 5%",
|
|
871
|
-
"Erro ao mapear IPI 5%"
|
|
872
|
-
" para Venda de Simples Nacional Fora do Estado.",
|
|
856
|
+
"Erro ao mapear IPI 5% para Venda de Simples Nacional Fora do Estado.",
|
|
873
857
|
)
|
|
874
858
|
self.assertEqual(
|
|
875
859
|
line.ipi_cst_id.code,
|
|
@@ -915,7 +899,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
915
899
|
|
|
916
900
|
for line in self.nfe_sn_export.fiscal_line_ids:
|
|
917
901
|
line._onchange_product_id_fiscal()
|
|
918
|
-
line._onchange_commercial_quantity()
|
|
919
902
|
line._onchange_fiscal_operation_id()
|
|
920
903
|
line._onchange_fiscal_taxes()
|
|
921
904
|
|
|
@@ -1038,6 +1021,7 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
1038
1021
|
|
|
1039
1022
|
# Teste definindo os valores Por Linha
|
|
1040
1023
|
for line in self.nfe_same_state.fiscal_line_ids:
|
|
1024
|
+
line.price_unit = 100
|
|
1041
1025
|
line.freight_value = 10.0
|
|
1042
1026
|
line.insurance_value = 10.0
|
|
1043
1027
|
line.other_value = 10.0
|
|
@@ -1045,19 +1029,17 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
1045
1029
|
self.assertEqual(
|
|
1046
1030
|
self.nfe_same_state.amount_freight_value,
|
|
1047
1031
|
20.0,
|
|
1048
|
-
"Unexpected value for the field
|
|
1032
|
+
"Unexpected value for the field Amount Freight in Fiscal Document line",
|
|
1049
1033
|
)
|
|
1050
1034
|
self.assertEqual(
|
|
1051
1035
|
self.nfe_same_state.amount_insurance_value,
|
|
1052
1036
|
20.0,
|
|
1053
|
-
"Unexpected value for the field"
|
|
1054
|
-
" Amount Insurance in Fiscal Document line",
|
|
1037
|
+
"Unexpected value for the field Amount Insurance in Fiscal Document line",
|
|
1055
1038
|
)
|
|
1056
1039
|
self.assertEqual(
|
|
1057
1040
|
self.nfe_same_state.amount_other_value,
|
|
1058
1041
|
20.0,
|
|
1059
|
-
"Unexpected value for the field"
|
|
1060
|
-
" Amount Other Value in Fiscal Document line",
|
|
1042
|
+
"Unexpected value for the field Amount Other Value in Fiscal Document line",
|
|
1061
1043
|
)
|
|
1062
1044
|
|
|
1063
1045
|
# Teste definindo os valores Por Total
|
|
@@ -1073,18 +1055,17 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
1073
1055
|
self.assertEqual(
|
|
1074
1056
|
line.freight_value,
|
|
1075
1057
|
5.0,
|
|
1076
|
-
"Unexpected value for the field
|
|
1058
|
+
"Unexpected value for the field Freight in Fiscal Document line",
|
|
1077
1059
|
)
|
|
1078
1060
|
self.assertEqual(
|
|
1079
1061
|
line.insurance_value,
|
|
1080
1062
|
5.0,
|
|
1081
|
-
"Unexpected value for the field
|
|
1063
|
+
"Unexpected value for the field Insurance in Fiscal Document line",
|
|
1082
1064
|
)
|
|
1083
1065
|
self.assertEqual(
|
|
1084
1066
|
line.other_value,
|
|
1085
1067
|
5.0,
|
|
1086
|
-
"Unexpected value for the field"
|
|
1087
|
-
" Other Values in Fiscal Document line",
|
|
1068
|
+
"Unexpected value for the field Other Values in Fiscal Document line",
|
|
1088
1069
|
)
|
|
1089
1070
|
|
|
1090
1071
|
# Caso que os Campos na Linha não tem valor
|
|
@@ -1101,16 +1082,15 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
|
1101
1082
|
self.assertEqual(
|
|
1102
1083
|
line.freight_value,
|
|
1103
1084
|
10.0,
|
|
1104
|
-
"Unexpected value for the field
|
|
1085
|
+
"Unexpected value for the field Freight in Fiscal Document line",
|
|
1105
1086
|
)
|
|
1106
1087
|
self.assertEqual(
|
|
1107
1088
|
line.insurance_value,
|
|
1108
1089
|
10.0,
|
|
1109
|
-
"Unexpected value for the field
|
|
1090
|
+
"Unexpected value for the field Insurance in Fiscal Document line",
|
|
1110
1091
|
)
|
|
1111
1092
|
self.assertEqual(
|
|
1112
1093
|
line.other_value,
|
|
1113
1094
|
10.0,
|
|
1114
|
-
"Unexpected value for the field"
|
|
1115
|
-
" Other Values in Fiscal Document line",
|
|
1095
|
+
"Unexpected value for the field Other Values in Fiscal Document line",
|
|
1116
1096
|
)
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# Copyright (C) 2023 Felipe Zago Rodrigues - Kmee
|
|
2
|
+
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
|
3
|
+
|
|
4
|
+
import base64
|
|
5
|
+
import logging
|
|
6
|
+
|
|
7
|
+
from odoo import _, api, fields, models
|
|
8
|
+
from odoo.exceptions import UserError
|
|
9
|
+
|
|
10
|
+
from ..constants.fiscal import FISCAL_IN_OUT_ALL
|
|
11
|
+
|
|
12
|
+
_logger = logging.getLogger(__name__)
|
|
13
|
+
|
|
14
|
+
try:
|
|
15
|
+
from xsdata.formats.dataclass.parsers import XmlParser
|
|
16
|
+
except ImportError:
|
|
17
|
+
_logger.error(_("xsdata Python lib not installed!"))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class DocumentImportWizardMixin(models.TransientModel):
|
|
21
|
+
_name = "l10n_br_fiscal.document.import.wizard.mixin"
|
|
22
|
+
_description = "Wizard Import Document Mixin"
|
|
23
|
+
_inherit = "l10n_br_fiscal.base.wizard.mixin"
|
|
24
|
+
|
|
25
|
+
company_id = fields.Many2one(
|
|
26
|
+
comodel_name="res.company",
|
|
27
|
+
string="Company",
|
|
28
|
+
default=lambda self: self.env.company.id,
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
file = fields.Binary(string="File to Import")
|
|
32
|
+
|
|
33
|
+
fiscal_operation_id = fields.Many2one(
|
|
34
|
+
comodel_name="l10n_br_fiscal.operation",
|
|
35
|
+
string="Fiscal Operation",
|
|
36
|
+
domain="[('fiscal_operation_type', '=', fiscal_operation_type)]",
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
document_type = fields.Char()
|
|
40
|
+
|
|
41
|
+
fiscal_operation_type = fields.Selection(selection=FISCAL_IN_OUT_ALL)
|
|
42
|
+
|
|
43
|
+
def _import_edoc(self):
|
|
44
|
+
self._find_existing_document()
|
|
45
|
+
if not self.document_id:
|
|
46
|
+
binding, self.document_id = self._create_edoc_from_file()
|
|
47
|
+
else:
|
|
48
|
+
binding = self._parse_file()
|
|
49
|
+
return binding, self.document_id
|
|
50
|
+
|
|
51
|
+
def action_import_and_open_document(self):
|
|
52
|
+
self._import_edoc()
|
|
53
|
+
return self.action_open_document()
|
|
54
|
+
|
|
55
|
+
def _create_edoc_from_file(self):
|
|
56
|
+
pass # meant to be overriden
|
|
57
|
+
|
|
58
|
+
@api.onchange("file")
|
|
59
|
+
def _onchange_file(self):
|
|
60
|
+
if self.file:
|
|
61
|
+
self._fill_wizard_from_binding()
|
|
62
|
+
|
|
63
|
+
def _fill_wizard_from_binding(self):
|
|
64
|
+
pass # meant to be overriden
|
|
65
|
+
|
|
66
|
+
def action_open_document(self):
|
|
67
|
+
return {
|
|
68
|
+
"name": _("Document Imported"),
|
|
69
|
+
"type": "ir.actions.act_window",
|
|
70
|
+
"target": "current",
|
|
71
|
+
"views": [[False, "form"]],
|
|
72
|
+
"res_id": self.document_id.id,
|
|
73
|
+
"res_model": "l10n_br_fiscal.document",
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
def _document_key_from_binding(self, binding):
|
|
77
|
+
pass # meant to be overriden
|
|
78
|
+
|
|
79
|
+
def _find_existing_document(self):
|
|
80
|
+
document_key = self._document_key_from_binding(self._parse_file())
|
|
81
|
+
self.document_id = self.env["l10n_br_fiscal.document"].search(
|
|
82
|
+
[("document_key", "=", document_key.chave)],
|
|
83
|
+
limit=1,
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
def _find_document_type(self, code):
|
|
87
|
+
return self.env["l10n_br_fiscal.document.type"].search(
|
|
88
|
+
[("code", "=", code)],
|
|
89
|
+
limit=1,
|
|
90
|
+
)
|
|
91
|
+
|
|
92
|
+
def _find_fiscal_operation(self, cfop, nat_op, fiscal_operation_type):
|
|
93
|
+
"""try to find a matching fiscal operation via an operation line"""
|
|
94
|
+
operation_lines = self.env["l10n_br_fiscal.operation.line"].search(
|
|
95
|
+
[
|
|
96
|
+
("state", "=", "approved"),
|
|
97
|
+
("fiscal_type", "=", fiscal_operation_type),
|
|
98
|
+
("cfop_external_id", "=", cfop),
|
|
99
|
+
],
|
|
100
|
+
)
|
|
101
|
+
for line in operation_lines:
|
|
102
|
+
if line.fiscal_operation_id.name == nat_op:
|
|
103
|
+
return line.fiscal_operation_id
|
|
104
|
+
if operation_lines:
|
|
105
|
+
return operation_lines[0].fiscal_operation_id
|
|
106
|
+
|
|
107
|
+
def _parse_file(self):
|
|
108
|
+
return self._parse_file_data(self.file)
|
|
109
|
+
|
|
110
|
+
@api.model
|
|
111
|
+
def _parse_file_data(self, file_data):
|
|
112
|
+
# NOTE: no try and a stacktrace does help for debug/support
|
|
113
|
+
return XmlParser().from_bytes(base64.b64decode(file_data))
|
|
114
|
+
|
|
115
|
+
@api.model
|
|
116
|
+
def _detect_binding(self, binding):
|
|
117
|
+
"""
|
|
118
|
+
A pluggable method were each specialized fiscal document
|
|
119
|
+
importation wizard can register itself and return a tuple
|
|
120
|
+
with (the_fiscal_document_type_code, the_name_of_the_importation_wizard)
|
|
121
|
+
"""
|
|
122
|
+
raise UserError(
|
|
123
|
+
_("Importation not implemented for %s!")
|
|
124
|
+
% (
|
|
125
|
+
type(
|
|
126
|
+
binding,
|
|
127
|
+
)
|
|
128
|
+
)
|
|
129
|
+
)
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<!-- Copyright 2023 KMEE
|
|
3
|
+
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
|
4
|
+
<odoo>
|
|
5
|
+
|
|
6
|
+
<record id="l10n_br_fiscal_document_import_wizard_mixin_form" model="ir.ui.view">
|
|
7
|
+
<field name="name">l10n_br_fiscal.document.import.wizard.mixin.form</field>
|
|
8
|
+
<field name="model">l10n_br_fiscal.document.import.wizard.mixin</field>
|
|
9
|
+
<field name="arch" type="xml">
|
|
10
|
+
<form string="Import Document">
|
|
11
|
+
<group>
|
|
12
|
+
<field name="file" required="1" />
|
|
13
|
+
</group>
|
|
14
|
+
<separator
|
|
15
|
+
string="Preview Data"
|
|
16
|
+
attrs="{'invisible': [('file', '=', False)]}"
|
|
17
|
+
/>
|
|
18
|
+
<group id="document_info" attrs="{'invisible': [('file', '=', False)]}">
|
|
19
|
+
<group>
|
|
20
|
+
<field name="fiscal_operation_id" required="1" />
|
|
21
|
+
<field name="fiscal_operation_type" invisible="1" />
|
|
22
|
+
<field name="document_key" readonly="1" />
|
|
23
|
+
<field name="document_number" readonly="1" />
|
|
24
|
+
<field name="document_serie" readonly="1" />
|
|
25
|
+
</group>
|
|
26
|
+
|
|
27
|
+
<group>
|
|
28
|
+
<field name="partner_id" readonly="1" />
|
|
29
|
+
</group>
|
|
30
|
+
</group>
|
|
31
|
+
<footer>
|
|
32
|
+
<button
|
|
33
|
+
name="action_import_and_open_document"
|
|
34
|
+
string="Import Fiscal Document"
|
|
35
|
+
class="btn-primary"
|
|
36
|
+
type="object"
|
|
37
|
+
/>
|
|
38
|
+
<button string="Cancel" class="btn-default" special="cancel" />
|
|
39
|
+
</footer>
|
|
40
|
+
</form>
|
|
41
|
+
</field>
|
|
42
|
+
</record>
|
|
43
|
+
|
|
44
|
+
</odoo>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-l10n_br_fiscal
|
|
3
|
-
Version: 16.0.11.
|
|
3
|
+
Version: 16.0.11.3.0
|
|
4
4
|
Requires-Python: >=3.10
|
|
5
5
|
Requires-Dist: erpbrasil.base>=2.3.0
|
|
6
6
|
Requires-Dist: odoo-addon-l10n_br_base>=16.0dev,<16.1dev
|
|
@@ -31,7 +31,7 @@ Módulo fiscal brasileiro
|
|
|
31
31
|
!! This file is generated by oca-gen-addon-readme !!
|
|
32
32
|
!! changes will be overwritten. !!
|
|
33
33
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
34
|
-
!! source digest: sha256:
|
|
34
|
+
!! source digest: sha256:3612e46c6fb955a94d39c6bced2a46abadbb539336d76697fbd63869b54cdac5
|
|
35
35
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
36
36
|
|
|
37
37
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
odoo/addons/l10n_br_fiscal/README.rst,sha256=
|
|
1
|
+
odoo/addons/l10n_br_fiscal/README.rst,sha256=SNSUVGa1x5qhAzVimxpLUAu4FXRUPQP62LoW1Rq-0LQ,13957
|
|
2
2
|
odoo/addons/l10n_br_fiscal/__init__.py,sha256=BQXfCjW4ehK1W1j0z6k8xN7Q2LoZBCjjvYDkQt6nSkI,2717
|
|
3
|
-
odoo/addons/l10n_br_fiscal/__manifest__.py,sha256=
|
|
3
|
+
odoo/addons/l10n_br_fiscal/__manifest__.py,sha256=PAvQD_W6EKWV69LoL8UZg6lJ0PXQkI_-YtW6Xb2GQfk,4964
|
|
4
4
|
odoo/addons/l10n_br_fiscal/tools.py,sha256=HgaCLkPznFxgLfjb76nH36PJ7bN5W7-fdaqtBvM6XC0,4056
|
|
5
5
|
odoo/addons/l10n_br_fiscal/constants/fiscal.py,sha256=F2a4jYAk2j2Yh1Xw7WeS1GcLfW1DbjeNgEF6l7135wc,14962
|
|
6
6
|
odoo/addons/l10n_br_fiscal/constants/icms.py,sha256=rHlM6jyRvhrIm03sd6guS1xh7SptADLltPmRJ3C_Vh8,3512
|
|
@@ -45,14 +45,14 @@ odoo/addons/l10n_br_fiscal/data/uom_data.xml,sha256=bDVsZn9KA5ozkZuPC9cyylPlsBtX
|
|
|
45
45
|
odoo/addons/l10n_br_fiscal/demo/__init__.py,sha256=D9IO9xsEyTSXTF03sJ836cHDsB3snXXizs1SUA2IvwA,4420
|
|
46
46
|
odoo/addons/l10n_br_fiscal/demo/city_taxation_code_demo.xml,sha256=tVMji5bhxl7cfsf48JjtwHfVVyMOm28WA9H5K6Zr2R0,476
|
|
47
47
|
odoo/addons/l10n_br_fiscal/demo/company_demo.xml,sha256=XPZE-3nHNYdeSGkJ7XamGAWM7Vs5AwhFBl-3yZCc2fA,13429
|
|
48
|
-
odoo/addons/l10n_br_fiscal/demo/fiscal_document_demo.xml,sha256=
|
|
49
|
-
odoo/addons/l10n_br_fiscal/demo/fiscal_document_nfse_demo.xml,sha256=
|
|
48
|
+
odoo/addons/l10n_br_fiscal/demo/fiscal_document_demo.xml,sha256=fvkXSpkyMm5biaCaMAQIr-xgaJW7HbJAQN3EmNRtwG4,38140
|
|
49
|
+
odoo/addons/l10n_br_fiscal/demo/fiscal_document_nfse_demo.xml,sha256=5YGmkP1dy-Q2-ZNUDI_dcr3TVMrjxnybnUBH1EQa-Nk,1867
|
|
50
50
|
odoo/addons/l10n_br_fiscal/demo/fiscal_operation_demo.xml,sha256=Va_eLyQwHug8ZVgQ8lPkJyiU7zs8KU-ABqBk0RM4n3o,493
|
|
51
51
|
odoo/addons/l10n_br_fiscal/demo/icms_tax_definition_demo.xml,sha256=38sImUwueccEEBrTnQ8_e4f614U10DIh8r9PYEXYexg,1033
|
|
52
52
|
odoo/addons/l10n_br_fiscal/demo/partner_demo.xml,sha256=dPFBshkjUmIdkp5X4UPDVtFcDcOPHEj9VZs06SXUklE,7173
|
|
53
53
|
odoo/addons/l10n_br_fiscal/demo/product_demo.xml,sha256=xaJuXOdRp_DSWxrkoKaC6HAuMpgCGjDe9KHh_-iOxAo,83287
|
|
54
54
|
odoo/addons/l10n_br_fiscal/demo/res_users_demo.xml,sha256=zwDfPw56a3_Z181Rt4YtfVv13x_Wquo-sKjYF6SgJhE,607
|
|
55
|
-
odoo/addons/l10n_br_fiscal/i18n/l10n_br_fiscal.pot,sha256=
|
|
55
|
+
odoo/addons/l10n_br_fiscal/i18n/l10n_br_fiscal.pot,sha256=2ok4cp1488ME-q-XByR8vl83uLDm4uRCSvJHWFGqaNQ,423476
|
|
56
56
|
odoo/addons/l10n_br_fiscal/i18n/pt_BR.po,sha256=r18-H9zeX1TEwux85-Jt5CuF_l6dLpj8Ix9kPW-tjbs,496209
|
|
57
57
|
odoo/addons/l10n_br_fiscal/migrations/16.0.2.0.0/pre-migration.py,sha256=tw6d7NZrbOmjEaGHI9y-AMiNWNqf_mceTFqTFXuc6cU,687
|
|
58
58
|
odoo/addons/l10n_br_fiscal/migrations/16.0.2.15.0/pre-migration.py,sha256=5-aWMxFdyNbyw_MJbfyiSFHnm9zxWKYHibOW5GNauWc,517
|
|
@@ -71,8 +71,8 @@ odoo/addons/l10n_br_fiscal/models/data_ncm_nbs_abstract.py,sha256=a0K-32ockgmQV5
|
|
|
71
71
|
odoo/addons/l10n_br_fiscal/models/data_product_abstract.py,sha256=wbc3exJQp33aYK8IOJ490JvDWBPCpU0NEkMR6YjaLfQ,793
|
|
72
72
|
odoo/addons/l10n_br_fiscal/models/document.py,sha256=4_a07OhC1k5NDluUou1c0-Np-BGm2wwC0XTeEvqg0Ko,19823
|
|
73
73
|
odoo/addons/l10n_br_fiscal/models/document_line.py,sha256=Y87Bevv0wDWP_oRUUvjKsWdow_dvQEKQ-31KEIdZghY,2032
|
|
74
|
-
odoo/addons/l10n_br_fiscal/models/document_line_mixin.py,sha256=
|
|
75
|
-
odoo/addons/l10n_br_fiscal/models/document_line_mixin_methods.py,sha256=
|
|
74
|
+
odoo/addons/l10n_br_fiscal/models/document_line_mixin.py,sha256=1rY8wJ-pTwZeg4kJhDO4E_MNU22ARb_DkIpw6Rk6Tpw,28250
|
|
75
|
+
odoo/addons/l10n_br_fiscal/models/document_line_mixin_methods.py,sha256=FQpYqFC5ywdLul471RlyzUZGkKv5ENdSVsEu31wvx7A,32665
|
|
76
76
|
odoo/addons/l10n_br_fiscal/models/document_mixin.py,sha256=G63Mr1XyX6YXrdCg0bGIjjvrJPmAs8UuzExKYheVOqg,13477
|
|
77
77
|
odoo/addons/l10n_br_fiscal/models/document_mixin_methods.py,sha256=XYrhXQs1blFCEzwgPGToGkWP7uyUnptKXBRwLRvu_FY,16390
|
|
78
78
|
odoo/addons/l10n_br_fiscal/models/document_related.py,sha256=SKUToxuoC2eOZAG8pJnBg0o5269JjvLbpvuy0M8zSlQ,4689
|
|
@@ -122,18 +122,19 @@ odoo/addons/l10n_br_fiscal/readme/INSTALL.md,sha256=o2UqimrZMd9MsHpwuO6McKJxOGpx
|
|
|
122
122
|
odoo/addons/l10n_br_fiscal/readme/ROADMAP.md,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
123
123
|
odoo/addons/l10n_br_fiscal/readme/USAGE.md,sha256=Dw3uZaHJCUtV0xFq6VOQvF2G5fS_oSBCFqwJyXbt1RY,247
|
|
124
124
|
odoo/addons/l10n_br_fiscal/security/fiscal_security.xml,sha256=PxRef68OVjlCVMOJZbhieVxivgKJYJm9r3TiZO4RerA,3362
|
|
125
|
-
odoo/addons/l10n_br_fiscal/security/ir.model.access.csv,sha256=
|
|
125
|
+
odoo/addons/l10n_br_fiscal/security/ir.model.access.csv,sha256=RIVYOOLQ2cOWGp9f8hvKflwglZxAN6exGcOwqCEgDuw,14369
|
|
126
126
|
odoo/addons/l10n_br_fiscal/static/description/icon.png,sha256=Vd1HydYBoGCzNfCqxLlch2i2aeCcyxo-uRxWNp6oMbw,14836
|
|
127
|
-
odoo/addons/l10n_br_fiscal/static/description/index.html,sha256=
|
|
127
|
+
odoo/addons/l10n_br_fiscal/static/description/index.html,sha256=wHOHgpfVNSGx9lSUYtNyA1qJKZec5Ii96W1FnXhO0pc,26637
|
|
128
128
|
odoo/addons/l10n_br_fiscal/static/img/fiscal_dashboard.png,sha256=Q0fpqFNqEXh6m6E1aJfzSKV2tQ9lC1Y-ofUt6qxVupc,151668
|
|
129
129
|
odoo/addons/l10n_br_fiscal/static/img/fiscal_line.png,sha256=S4Q4OGSzGnbfm4W5sQVvnD4uUzxS6tbJGT_gs3pB4K0,134276
|
|
130
130
|
odoo/addons/l10n_br_fiscal/static/img/fiscal_operation.png,sha256=2614c1XjxwVznh707e9gujlUXg0ttutKD1ZiSMTqyv8,105871
|
|
131
131
|
odoo/addons/l10n_br_fiscal/static/img/fiscal_total.png,sha256=MaR6ZoM6ZZEaNZk2ynSmaHjkRUU0SOkeUW5_HbJQS50,132739
|
|
132
132
|
odoo/addons/l10n_br_fiscal/static/src/js/list_renderer_with_button.esm.js,sha256=Ucw7pymMrW2yi_nNrDMvq6ubyub9QMlqH3ZOoaTEHN0,1243
|
|
133
|
-
odoo/addons/l10n_br_fiscal/tests/__init__.py,sha256=
|
|
133
|
+
odoo/addons/l10n_br_fiscal/tests/__init__.py,sha256=83m4BimGb-6EseEmmCVaKTSel5GB_vkzbI3YZi4mStE,393
|
|
134
134
|
odoo/addons/l10n_br_fiscal/tests/test_cnae.py,sha256=mmskSfWaoFSohjmRbnGci_6Euc9fc2zbhyH5FdyeIeA,616
|
|
135
|
-
odoo/addons/l10n_br_fiscal/tests/
|
|
136
|
-
odoo/addons/l10n_br_fiscal/tests/
|
|
135
|
+
odoo/addons/l10n_br_fiscal/tests/test_document_edition.py,sha256=w_ANtriwn9IpG3XvMruINMOIcZJyPwUY47iFSgz2bj0,5067
|
|
136
|
+
odoo/addons/l10n_br_fiscal/tests/test_fiscal_document_generic.py,sha256=V8DHVC4sDNlJ_umoIaSkaesJfSEd31wija-bNgrBUZg,40547
|
|
137
|
+
odoo/addons/l10n_br_fiscal/tests/test_fiscal_document_nfse.py,sha256=X5_pHhChyDL6UmAgWTaAhgPuKWiCKZ1tw95hZecSRcY,1600
|
|
137
138
|
odoo/addons/l10n_br_fiscal/tests/test_fiscal_tax.py,sha256=U6JbuqKTcyyFTiW5FZGqGY5yi_aPKaC6_LWz_3sKdpg,11322
|
|
138
139
|
odoo/addons/l10n_br_fiscal/tests/test_ibpt.py,sha256=vJKit2Aok-zIk_723nRietLTbVKPstD88vznN2PwMZg,5227
|
|
139
140
|
odoo/addons/l10n_br_fiscal/tests/test_ibpt_product.py,sha256=h00TpY-tTw3z8U24yTzzvyWkfnKjHqlCbqetBKJNV94,2794
|
|
@@ -143,7 +144,7 @@ odoo/addons/l10n_br_fiscal/tests/test_ncm.py,sha256=legCHGki7r8xIC260jKdPpVUNC_Z
|
|
|
143
144
|
odoo/addons/l10n_br_fiscal/tests/test_operation.py,sha256=zt3GJh3_z7p4zCFN2VSrUVgCGT7EQJ6GmjMGPIY98cg,480
|
|
144
145
|
odoo/addons/l10n_br_fiscal/tests/test_partner_profile.py,sha256=aMjOQzygxVMQZnvdAEcR9Wun5igpTBzgOegkjsums68,738
|
|
145
146
|
odoo/addons/l10n_br_fiscal/tests/test_service_type.py,sha256=k9Ro0pGVsiHslAa1NcLK-FlNnrFEeh394aw2tOF_M5o,556
|
|
146
|
-
odoo/addons/l10n_br_fiscal/tests/test_tax_benefit.py,sha256=
|
|
147
|
+
odoo/addons/l10n_br_fiscal/tests/test_tax_benefit.py,sha256=UHC7ZTnHKY12jK1zOlOm00ric8iBBYVL2boifPXOYPM,2053
|
|
147
148
|
odoo/addons/l10n_br_fiscal/views/cest_view.xml,sha256=buiOX9AZ4OMHyjHZfoazcQQzjBSE7fT1S0LlYmo_3P4,3162
|
|
148
149
|
odoo/addons/l10n_br_fiscal/views/cfop_view.xml,sha256=eSAo01pTaF2AY5_NfWJqY5H3WnaFmzfaSJ6l0DkyEcY,5018
|
|
149
150
|
odoo/addons/l10n_br_fiscal/views/city_taxation_code.xml,sha256=SnoB8FmZdCzJhqKrEAXG3VVZDBIlDBpIq3oKycbx6uQ,2104
|
|
@@ -189,10 +190,12 @@ odoo/addons/l10n_br_fiscal/views/tax_pis_cofins_credit_view.xml,sha256=EvML536Ra
|
|
|
189
190
|
odoo/addons/l10n_br_fiscal/views/tax_pis_cofins_view.xml,sha256=l3Vaa5JkYVAN699I_5RYtAfz7XCGAY5sMk1Rd3_HW1A,3159
|
|
190
191
|
odoo/addons/l10n_br_fiscal/views/tax_view.xml,sha256=qFNYcvJ0o59fDFJ-jEqZ6IYoivttE0KH9DNMHAxdIAQ,5093
|
|
191
192
|
odoo/addons/l10n_br_fiscal/views/uom_uom.xml,sha256=i4sQPGhwoKNpzfZFdFYrabXkGXE3tt81N202K2h5rBU,2010
|
|
192
|
-
odoo/addons/l10n_br_fiscal/wizards/__init__.py,sha256=
|
|
193
|
+
odoo/addons/l10n_br_fiscal/wizards/__init__.py,sha256=ny1dWz3IlIIIC4KpT8u0gdKaJbGTZsAG5-gMxchFOdI,112
|
|
193
194
|
odoo/addons/l10n_br_fiscal/wizards/base_wizard_mixin.py,sha256=-r25us0vdNCSe11Gnf_tyPtN1qq-JKsL-fgWbPGktRo,2856
|
|
195
|
+
odoo/addons/l10n_br_fiscal/wizards/document_import_wizard_mixin.py,sha256=KfbqnzFuVx7WAro__W130rgvMWKkDBvkDFglMwTwgBQ,4115
|
|
196
|
+
odoo/addons/l10n_br_fiscal/wizards/document_import_wizard_mixin.xml,sha256=h19vP1YvC4hLPvCvA6E1goqre0AAGy0CF4a2R6B78Y4,1833
|
|
194
197
|
odoo/addons/l10n_br_fiscal/wizards/document_status_wizard.py,sha256=KsYj5YWWePO7uk0psBsFdnCL71eLWhcyg7_c7J4G6vA,818
|
|
195
|
-
odoo_addon_l10n_br_fiscal-16.0.11.
|
|
196
|
-
odoo_addon_l10n_br_fiscal-16.0.11.
|
|
197
|
-
odoo_addon_l10n_br_fiscal-16.0.11.
|
|
198
|
-
odoo_addon_l10n_br_fiscal-16.0.11.
|
|
198
|
+
odoo_addon_l10n_br_fiscal-16.0.11.3.0.dist-info/METADATA,sha256=8hS0DDZNvVuFj5WJxPc3iMq6u3MQfUn509lHpgaFrFs,14720
|
|
199
|
+
odoo_addon_l10n_br_fiscal-16.0.11.3.0.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
|
|
200
|
+
odoo_addon_l10n_br_fiscal-16.0.11.3.0.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
201
|
+
odoo_addon_l10n_br_fiscal-16.0.11.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|