odoo-addon-l10n-br-fiscal-edi 16.0.1.2.0__py3-none-any.whl → 16.0.1.4.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.
- odoo/addons/l10n_br_fiscal_edi/README.rst +1 -1
- odoo/addons/l10n_br_fiscal_edi/__manifest__.py +1 -1
- odoo/addons/l10n_br_fiscal_edi/models/document_workflow.py +14 -0
- odoo/addons/l10n_br_fiscal_edi/static/description/index.html +1 -1
- odoo/addons/l10n_br_fiscal_edi/tests/test_fiscal_document_generic.py +0 -9
- odoo/addons/l10n_br_fiscal_edi/tests/test_tax_benefit.py +0 -1
- {odoo_addon_l10n_br_fiscal_edi-16.0.1.2.0.dist-info → odoo_addon_l10n_br_fiscal_edi-16.0.1.4.0.dist-info}/METADATA +2 -2
- {odoo_addon_l10n_br_fiscal_edi-16.0.1.2.0.dist-info → odoo_addon_l10n_br_fiscal_edi-16.0.1.4.0.dist-info}/RECORD +10 -10
- {odoo_addon_l10n_br_fiscal_edi-16.0.1.2.0.dist-info → odoo_addon_l10n_br_fiscal_edi-16.0.1.4.0.dist-info}/WHEEL +0 -0
- {odoo_addon_l10n_br_fiscal_edi-16.0.1.2.0.dist-info → odoo_addon_l10n_br_fiscal_edi-16.0.1.4.0.dist-info}/top_level.txt +0 -0
@@ -7,7 +7,7 @@ Common EDI fiscal features
|
|
7
7
|
!! This file is generated by oca-gen-addon-readme !!
|
8
8
|
!! changes will be overwritten. !!
|
9
9
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
10
|
-
!! source digest: sha256:
|
10
|
+
!! source digest: sha256:bf1959955168679f71eb161d8a6a2d69c6d03d23f540f1c491cef587bfbaf591
|
11
11
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
12
12
|
|
13
13
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
@@ -9,6 +9,7 @@ from odoo.exceptions import UserError
|
|
9
9
|
from odoo.addons.l10n_br_fiscal.constants.fiscal import (
|
10
10
|
DOCUMENT_ISSUER_COMPANY,
|
11
11
|
MODELO_FISCAL_CTE,
|
12
|
+
MODELO_FISCAL_MDFE,
|
12
13
|
MODELO_FISCAL_NFCE,
|
13
14
|
MODELO_FISCAL_NFE,
|
14
15
|
MODELO_FISCAL_NFSE,
|
@@ -236,6 +237,7 @@ class DocumentWorkflow(models.AbstractModel):
|
|
236
237
|
MODELO_FISCAL_NFE,
|
237
238
|
MODELO_FISCAL_NFCE,
|
238
239
|
MODELO_FISCAL_CTE,
|
240
|
+
MODELO_FISCAL_MDFE,
|
239
241
|
):
|
240
242
|
date = fields.Datetime.context_timestamp(record, record.document_date)
|
241
243
|
chave_edoc = ChaveEdoc(
|
@@ -252,6 +254,9 @@ class DocumentWorkflow(models.AbstractModel):
|
|
252
254
|
numero_serie=record.document_serie or "",
|
253
255
|
validar=False,
|
254
256
|
)
|
257
|
+
record.key_random_code = chave_edoc.codigo_aleatorio
|
258
|
+
record.key_check_digit = chave_edoc.digito_verificador
|
259
|
+
|
255
260
|
# TODO: Implementar campos no Odoo
|
256
261
|
# record.key_number = chave_edoc.campos
|
257
262
|
# record.key_formated = ' '.joint(chave_edoc.partes())
|
@@ -387,3 +392,12 @@ class DocumentWorkflow(models.AbstractModel):
|
|
387
392
|
"this fical document you are not the document issuer"
|
388
393
|
)
|
389
394
|
)
|
395
|
+
|
396
|
+
def _document_qrcode(self):
|
397
|
+
pass
|
398
|
+
|
399
|
+
def _edoc_processor(self):
|
400
|
+
pass
|
401
|
+
|
402
|
+
def _validate_xml(self, xml_file):
|
403
|
+
pass
|
@@ -367,7 +367,7 @@ ul.auto-toc {
|
|
367
367
|
!! This file is generated by oca-gen-addon-readme !!
|
368
368
|
!! changes will be overwritten. !!
|
369
369
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
370
|
-
!! source digest: sha256:
|
370
|
+
!! source digest: sha256:bf1959955168679f71eb161d8a6a2d69c6d03d23f540f1c491cef587bfbaf591
|
371
371
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
372
372
|
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/l10n-brazil/tree/16.0/l10n_br_fiscal_edi"><img alt="OCA/l10n-brazil" src="https://img.shields.io/badge/github-OCA%2Fl10n--brazil-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-brazil-16-0/l10n-brazil-16-0-l10n_br_fiscal_edi"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/l10n-brazil&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
373
373
|
<p>Este módulo estende o módulo <tt class="docutils literal">l10n_br_fiscal</tt> e cuida da parte de EDI
|
@@ -60,7 +60,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
60
60
|
line.price_unit = original_price_unit
|
61
61
|
|
62
62
|
line._onchange_commercial_quantity()
|
63
|
-
line._onchange_ncm_id()
|
64
63
|
line._onchange_fiscal_operation_id()
|
65
64
|
line._onchange_fiscal_operation_line_id()
|
66
65
|
line._onchange_fiscal_taxes()
|
@@ -201,7 +200,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
201
200
|
for line in self.nfe_other_state.fiscal_line_ids:
|
202
201
|
line._onchange_product_id_fiscal()
|
203
202
|
line._onchange_commercial_quantity()
|
204
|
-
line._onchange_ncm_id()
|
205
203
|
line._onchange_fiscal_operation_id()
|
206
204
|
line._onchange_fiscal_operation_line_id()
|
207
205
|
line._onchange_fiscal_taxes()
|
@@ -323,7 +321,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
323
321
|
for line in self.nfe_not_taxpayer.fiscal_line_ids:
|
324
322
|
line._onchange_product_id_fiscal()
|
325
323
|
line._onchange_commercial_quantity()
|
326
|
-
line._onchange_ncm_id()
|
327
324
|
line._onchange_fiscal_operation_id()
|
328
325
|
line._onchange_fiscal_operation_line_id()
|
329
326
|
line._onchange_fiscal_taxes()
|
@@ -432,7 +429,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
432
429
|
for line in self.nfe_not_taxpayer_pf.fiscal_line_ids:
|
433
430
|
line._onchange_product_id_fiscal()
|
434
431
|
line._onchange_commercial_quantity()
|
435
|
-
line._onchange_ncm_id()
|
436
432
|
line._onchange_fiscal_operation_id()
|
437
433
|
line._onchange_fiscal_operation_line_id()
|
438
434
|
line._onchange_fiscal_taxes()
|
@@ -541,7 +537,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
541
537
|
for line in self.nfe_export.fiscal_line_ids:
|
542
538
|
line._onchange_product_id_fiscal()
|
543
539
|
line._onchange_commercial_quantity()
|
544
|
-
line._onchange_ncm_id()
|
545
540
|
line._onchange_fiscal_operation_id()
|
546
541
|
line._onchange_fiscal_operation_line_id()
|
547
542
|
line._onchange_fiscal_taxes()
|
@@ -656,7 +651,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
656
651
|
}
|
657
652
|
)
|
658
653
|
|
659
|
-
line._onchange_ncm_id()
|
660
654
|
line._onchange_fiscal_operation_id()
|
661
655
|
line._onchange_fiscal_operation_line_id()
|
662
656
|
line._onchange_fiscal_taxes()
|
@@ -764,7 +758,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
764
758
|
for line in self.nfe_sn_other_state.fiscal_line_ids:
|
765
759
|
line._onchange_product_id_fiscal()
|
766
760
|
line._onchange_commercial_quantity()
|
767
|
-
line._onchange_ncm_id()
|
768
761
|
line._onchange_fiscal_operation_id()
|
769
762
|
line._onchange_fiscal_operation_line_id()
|
770
763
|
line._onchange_fiscal_taxes()
|
@@ -869,7 +862,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
869
862
|
for line in self.nfe_sn_not_taxpayer.fiscal_line_ids:
|
870
863
|
line._onchange_product_id_fiscal()
|
871
864
|
line._onchange_commercial_quantity()
|
872
|
-
line._onchange_ncm_id()
|
873
865
|
line._onchange_fiscal_operation_id()
|
874
866
|
line._onchange_fiscal_operation_line_id()
|
875
867
|
line._onchange_fiscal_taxes()
|
@@ -962,7 +954,6 @@ class TestFiscalDocumentGeneric(TransactionCase):
|
|
962
954
|
for line in self.nfe_sn_export.fiscal_line_ids:
|
963
955
|
line._onchange_product_id_fiscal()
|
964
956
|
line._onchange_commercial_quantity()
|
965
|
-
line._onchange_ncm_id()
|
966
957
|
line._onchange_fiscal_operation_id()
|
967
958
|
line._onchange_fiscal_operation_line_id()
|
968
959
|
line._onchange_fiscal_taxes()
|
@@ -43,7 +43,6 @@ class TestTaxBenefit(TransactionCase):
|
|
43
43
|
for line in self.nfe_tax_benefit.fiscal_line_ids:
|
44
44
|
line._onchange_product_id_fiscal()
|
45
45
|
line._onchange_commercial_quantity()
|
46
|
-
line._onchange_ncm_id()
|
47
46
|
line._onchange_fiscal_operation_id()
|
48
47
|
line._onchange_fiscal_operation_line_id()
|
49
48
|
line._onchange_fiscal_taxes()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: odoo-addon-l10n_br_fiscal_edi
|
3
|
-
Version: 16.0.1.
|
3
|
+
Version: 16.0.1.4.0
|
4
4
|
Requires-Python: >=3.10
|
5
5
|
Requires-Dist: odoo-addon-l10n_br_fiscal>=16.0dev,<16.1dev
|
6
6
|
Requires-Dist: odoo>=16.0a,<16.1dev
|
@@ -24,7 +24,7 @@ Common EDI fiscal features
|
|
24
24
|
!! This file is generated by oca-gen-addon-readme !!
|
25
25
|
!! changes will be overwritten. !!
|
26
26
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
27
|
-
!! source digest: sha256:
|
27
|
+
!! source digest: sha256:bf1959955168679f71eb161d8a6a2d69c6d03d23f540f1c491cef587bfbaf591
|
28
28
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
29
29
|
|
30
30
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
@@ -1,11 +1,11 @@
|
|
1
|
-
odoo/addons/l10n_br_fiscal_edi/README.rst,sha256=
|
1
|
+
odoo/addons/l10n_br_fiscal_edi/README.rst,sha256=zpP5vDz8Q5lBN_JwQMqdWYa63Vtalm09mq-YjrUkyWw,4844
|
2
2
|
odoo/addons/l10n_br_fiscal_edi/__init__.py,sha256=0XNpxETgFdVxFDEw03O8oL3NtTSk3we-HEZW2sPKzIU,43
|
3
|
-
odoo/addons/l10n_br_fiscal_edi/__manifest__.py,sha256=
|
3
|
+
odoo/addons/l10n_br_fiscal_edi/__manifest__.py,sha256=_88bg6xu2J_s__l3wUXE6ryk8lfYEeh3TaXZyTd6z7g,1244
|
4
4
|
odoo/addons/l10n_br_fiscal_edi/i18n/l10n_br_fiscal_edi.pot,sha256=VAUDv2XFv-G2vDXHM1z1owrJe87UDZVZX5La09rbRsc,38342
|
5
5
|
odoo/addons/l10n_br_fiscal_edi/models/__init__.py,sha256=Zz-kP7XRE72a4jf5pfkNr_MHaaHJx9V5WEdQZGuncGg,116
|
6
6
|
odoo/addons/l10n_br_fiscal_edi/models/document.py,sha256=JkcZDQ7gTfLrnwy8fCfAAYvWKIvbLtZFCjIIKSThK0E,8940
|
7
7
|
odoo/addons/l10n_br_fiscal_edi/models/document_event.py,sha256=my9x0rKLRebUU5QIgH6tojbbpClAs-XCfBzkHKHs7hM,11454
|
8
|
-
odoo/addons/l10n_br_fiscal_edi/models/document_workflow.py,sha256=
|
8
|
+
odoo/addons/l10n_br_fiscal_edi/models/document_workflow.py,sha256=8O1pTNBMaK4ZHapjpqSaLmOKLREWgIIouBGglFbdOSQ,15013
|
9
9
|
odoo/addons/l10n_br_fiscal_edi/models/invalidate_number.py,sha256=Nh1xrgSc120lKfj03bFxldqIv2GofifLCMNcynHf724,1540
|
10
10
|
odoo/addons/l10n_br_fiscal_edi/readme/CONTRIBUTORS.md,sha256=m5_7QJFuw9MsgV-sdQMPVWDBXQvaqnl8TbyBvdBnwIM,232
|
11
11
|
odoo/addons/l10n_br_fiscal_edi/readme/DESCRIPTION.md,sha256=TWp8jJZ2mwnBXHhdYI9A5HD_pF12eOJRO4_SPNmBVuA,374
|
@@ -13,10 +13,10 @@ odoo/addons/l10n_br_fiscal_edi/readme/ROADMAP.md,sha256=m63hi9coIwXI0oDmvu6XmdEo
|
|
13
13
|
odoo/addons/l10n_br_fiscal_edi/readme/USAGE.md,sha256=2UZfDrf29LJ8y6c17XzwNOvi5JEpcfxNi_pKjpKbJPg,447
|
14
14
|
odoo/addons/l10n_br_fiscal_edi/security/ir.model.access.csv,sha256=0PgIE8SotB9ZWx7s2-JlAO5y1It10wcHrJZOlbkC7EM,1175
|
15
15
|
odoo/addons/l10n_br_fiscal_edi/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
16
|
-
odoo/addons/l10n_br_fiscal_edi/static/description/index.html,sha256=
|
16
|
+
odoo/addons/l10n_br_fiscal_edi/static/description/index.html,sha256=g15n9WIdY6SqEOOKqVJ4RMEtLGRit0WCxYTgXFupk6Y,15176
|
17
17
|
odoo/addons/l10n_br_fiscal_edi/tests/__init__.py,sha256=4Q04RgcX7CPzogoxW39Muu0BAMmpfaRZKp67SpjYOBU,28
|
18
|
-
odoo/addons/l10n_br_fiscal_edi/tests/test_fiscal_document_generic.py,sha256=
|
19
|
-
odoo/addons/l10n_br_fiscal_edi/tests/test_tax_benefit.py,sha256=
|
18
|
+
odoo/addons/l10n_br_fiscal_edi/tests/test_fiscal_document_generic.py,sha256=WOJB3Ccxdgz1VusB8I0k3IUFeYg3JoNxEfIMgethDPc,43763
|
19
|
+
odoo/addons/l10n_br_fiscal_edi/tests/test_tax_benefit.py,sha256=KxFvY4FwemlcERfzSVfe6U7qwNNJ_ALQz1-R9zIDwhM,2740
|
20
20
|
odoo/addons/l10n_br_fiscal_edi/tests/test_workflow.py,sha256=x9R7em-prpncCphy4xsBafOzsRniZpKqnI0i1ZRD6gU,4476
|
21
21
|
odoo/addons/l10n_br_fiscal_edi/views/document_event_report.xml,sha256=72eMAfCeToJ89C5w33RlUO8Hz1t3gMR8Qfg5Aah8r5Y,743
|
22
22
|
odoo/addons/l10n_br_fiscal_edi/views/document_event_template.xml,sha256=4IO4RXdGE0wOCv4P7hfYioCwDMJEf_jBZdJY4edvLLY,4059
|
@@ -36,7 +36,7 @@ odoo/addons/l10n_br_fiscal_edi/wizards/document_import_wizard_mixin.xml,sha256=h
|
|
36
36
|
odoo/addons/l10n_br_fiscal_edi/wizards/document_status_wizard.xml,sha256=S9hSkgbBKCt78bTe3sRupfnIcmZZ8KWhaZ9q_PKYvgc,2483
|
37
37
|
odoo/addons/l10n_br_fiscal_edi/wizards/invalidate_number_wizard.py,sha256=o9eXRV-iWUsgsozBzM193C4J_8aurGl1aIICdYthpXA,1328
|
38
38
|
odoo/addons/l10n_br_fiscal_edi/wizards/invalidate_number_wizard.xml,sha256=H0JzzzbJmWziLZjZ8acQsqJcgsaYD3M6I3OydoNFuUc,1215
|
39
|
-
odoo_addon_l10n_br_fiscal_edi-16.0.1.
|
40
|
-
odoo_addon_l10n_br_fiscal_edi-16.0.1.
|
41
|
-
odoo_addon_l10n_br_fiscal_edi-16.0.1.
|
42
|
-
odoo_addon_l10n_br_fiscal_edi-16.0.1.
|
39
|
+
odoo_addon_l10n_br_fiscal_edi-16.0.1.4.0.dist-info/METADATA,sha256=qdUccUcCoWticY3RBkap9DU5qmShocQZt5vcS6GV6Lk,5468
|
40
|
+
odoo_addon_l10n_br_fiscal_edi-16.0.1.4.0.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
41
|
+
odoo_addon_l10n_br_fiscal_edi-16.0.1.4.0.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
42
|
+
odoo_addon_l10n_br_fiscal_edi-16.0.1.4.0.dist-info/RECORD,,
|
File without changes
|