odoo-addon-l10n-br-fiscal-edi 16.0.1.5.0.1__py3-none-any.whl → 16.0.1.5.1.1__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.
@@ -1,3 +1,7 @@
1
+ .. image:: https://odoo-community.org/readme-banner-image
2
+ :target: https://odoo-community.org/get-involved?utm_source=readme
3
+ :alt: Odoo Community Association
4
+
1
5
  ==========================
2
6
  Common EDI fiscal features
3
7
  ==========================
@@ -7,13 +11,13 @@ Common EDI fiscal features
7
11
  !! This file is generated by oca-gen-addon-readme !!
8
12
  !! changes will be overwritten. !!
9
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:654ae3eeba77d4fd9fbec5f16806e1078559b049f3e30170486e08e9206f7987
14
+ !! source digest: sha256:726b520c38c5c0483bbe86174f1ebe9956805e3ed2b3beaa06651354c8e27767
11
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
16
 
13
17
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14
18
  :target: https://odoo-community.org/page/development-status
15
19
  :alt: Beta
16
- .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
20
+ .. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
17
21
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18
22
  :alt: License: AGPL-3
19
23
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--brazil-lightgray.png?logo=github
@@ -9,7 +9,7 @@
9
9
  "maintainers": ["renatonlima", "rvalyi", "mileo"],
10
10
  "website": "https://github.com/OCA/l10n-brazil",
11
11
  "development_status": "Beta",
12
- "version": "16.0.1.5.0",
12
+ "version": "16.0.1.5.1",
13
13
  "depends": [
14
14
  "l10n_br_fiscal",
15
15
  ],
@@ -186,8 +186,6 @@ class DocumentWorkflow(models.AbstractModel):
186
186
  elif new_state == SITUACAO_EDOC_INUTILIZADA:
187
187
  self._exec_after_SITUACAO_EDOC_INUTILIZADA(old_state, new_state)
188
188
 
189
- self._generates_subsequent_operations()
190
-
191
189
  def _change_state(self, new_state, force_change=False):
192
190
  """Método para alterar o estado do documento fiscal, mantendo a
193
191
  integridade do workflow da invoice.
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
5
  <meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6
- <title>Common EDI fiscal features</title>
6
+ <title>README.rst</title>
7
7
  <style type="text/css">
8
8
 
9
9
  /*
@@ -360,16 +360,21 @@ ul.auto-toc {
360
360
  </style>
361
361
  </head>
362
362
  <body>
363
- <div class="document" id="common-edi-fiscal-features">
364
- <h1 class="title">Common EDI fiscal features</h1>
363
+ <div class="document">
365
364
 
365
+
366
+ <a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367
+ <img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368
+ </a>
369
+ <div class="section" id="common-edi-fiscal-features">
370
+ <h1>Common EDI fiscal features</h1>
366
371
  <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367
372
  !! This file is generated by oca-gen-addon-readme !!
368
373
  !! changes will be overwritten. !!
369
374
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:654ae3eeba77d4fd9fbec5f16806e1078559b049f3e30170486e08e9206f7987
375
+ !! source digest: sha256:726b520c38c5c0483bbe86174f1ebe9956805e3ed2b3beaa06651354c8e27767
371
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
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&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377
+ <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/license-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&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
378
  <p>Este módulo estende o módulo <tt class="docutils literal">l10n_br_fiscal</tt> e cuida da parte de EDI
374
379
  (Electronic Data Interchange) que é comum entre os vários documentos
375
380
  fiscais no Brasil. Ele introduz os modelos de eventos de transmissão, de
@@ -391,7 +396,7 @@ documento fiscal em função dos retornos dos webservices (campo
391
396
  </ul>
392
397
  </div>
393
398
  <div class="section" id="usage">
394
- <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
399
+ <h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
395
400
  <p>Use os botões na barra de header do documento fiscal para alterar o
396
401
  estado do documento fiscal, para abrir os wizards e para interagir com a
397
402
  fazenda… Quando o módulo <tt class="docutils literal">l10n_br_account</tt> ou alguns módulos de
@@ -401,7 +406,7 @@ são instalados, alguns métodos de transição de estado do módulo
401
406
  confirmar ou cancelar uma nota.</p>
402
407
  </div>
403
408
  <div class="section" id="known-issues-roadmap">
404
- <h1><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h1>
409
+ <h2><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h2>
405
410
  <p>O código deste módulo foi feito antes dos repos <tt class="docutils literal">OCA/edi</tt> e
406
411
  <tt class="docutils literal"><span class="pre">OCA/edi-framework</span></tt>. O código do <tt class="docutils literal">document_workflow.py</tt> por exemplo
407
412
  foi uma espécie de tradução em código do “workflow de state machine” que
@@ -410,7 +415,7 @@ re-escrito quando o engine de workflow foi removido na versão 10.0.
410
415
  Nisso o código deste módulo tem bastante possibilidades de melhorias…</p>
411
416
  </div>
412
417
  <div class="section" id="bug-tracker">
413
- <h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
418
+ <h2><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h2>
414
419
  <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-brazil/issues">GitHub Issues</a>.
415
420
  In case of trouble, please check there if your issue has already been reported.
416
421
  If you spotted it first, help us to smash it by providing a detailed and welcomed
@@ -418,16 +423,16 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
418
423
  <p>Do not contact contributors directly about support or help with technical issues.</p>
419
424
  </div>
420
425
  <div class="section" id="credits">
421
- <h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
426
+ <h2><a class="toc-backref" href="#toc-entry-4">Credits</a></h2>
422
427
  <div class="section" id="authors">
423
- <h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
428
+ <h3><a class="toc-backref" href="#toc-entry-5">Authors</a></h3>
424
429
  <ul class="simple">
425
430
  <li>Akretion</li>
426
431
  <li>KMEE</li>
427
432
  </ul>
428
433
  </div>
429
434
  <div class="section" id="contributors">
430
- <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
435
+ <h3><a class="toc-backref" href="#toc-entry-6">Contributors</a></h3>
431
436
  <ul class="simple">
432
437
  <li><a class="reference external" href="https://www.akretion.com/pt-BR">Akretion</a>:<ul>
433
438
  <li>Renato Lima &lt;<a class="reference external" href="mailto:renato.lima&#64;akretion.com.br">renato.lima&#64;akretion.com.br</a>&gt;</li>
@@ -441,7 +446,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
441
446
  </ul>
442
447
  </div>
443
448
  <div class="section" id="maintainers">
444
- <h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
449
+ <h3><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h3>
445
450
  <p>This module is maintained by the OCA.</p>
446
451
  <a class="reference external image-reference" href="https://odoo-community.org">
447
452
  <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -456,5 +461,6 @@ promote its widespread use.</p>
456
461
  </div>
457
462
  </div>
458
463
  </div>
464
+ </div>
459
465
  </body>
460
466
  </html>
@@ -1,6 +1,7 @@
1
1
  # Copyright 2023 Akretion - Renato Lima <renato.lima@akretion.com.br>
2
2
  # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3
3
 
4
+ from odoo import Command
4
5
  from odoo.tests import TransactionCase
5
6
 
6
7
  from ..constants.fiscal import SITUACAO_EDOC_A_ENVIAR
@@ -27,9 +28,11 @@ class TestTaxBenefit(TransactionCase):
27
28
  "tax_id": self.env.ref("l10n_br_fiscal.tax_icms_12_red_26_57").id,
28
29
  "cst_id": self.env.ref("l10n_br_fiscal.cst_icms_20").id,
29
30
  "state_from_id": self.env.ref("base.state_br_sp").id,
30
- "state_to_ids": [(6, 0, self.env.ref("base.state_br_mg").ids)],
31
+ "state_to_ids": [Command.set(self.env.ref("base.state_br_mg").ids)],
31
32
  "ncms": "73269090",
32
- "ncm_ids": [(6, 0, self.env.ref("l10n_br_fiscal.ncm_73269090").ids)],
33
+ "ncm_ids": [
34
+ Command.set(self.env.ref("l10n_br_fiscal.ncm_73269090").ids)
35
+ ],
33
36
  "state": "approved",
34
37
  }
35
38
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-l10n_br_fiscal_edi
3
- Version: 16.0.1.5.0.1
3
+ Version: 16.0.1.5.1.1
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
@@ -14,6 +14,11 @@ Classifier: Framework :: Odoo
14
14
  Classifier: Framework :: Odoo :: 16.0
15
15
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
16
16
  Classifier: Development Status :: 4 - Beta
17
+ Description-Content-Type: text/x-rst
18
+
19
+ .. image:: https://odoo-community.org/readme-banner-image
20
+ :target: https://odoo-community.org/get-involved?utm_source=readme
21
+ :alt: Odoo Community Association
17
22
 
18
23
  ==========================
19
24
  Common EDI fiscal features
@@ -24,13 +29,13 @@ Common EDI fiscal features
24
29
  !! This file is generated by oca-gen-addon-readme !!
25
30
  !! changes will be overwritten. !!
26
31
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27
- !! source digest: sha256:654ae3eeba77d4fd9fbec5f16806e1078559b049f3e30170486e08e9206f7987
32
+ !! source digest: sha256:726b520c38c5c0483bbe86174f1ebe9956805e3ed2b3beaa06651354c8e27767
28
33
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
34
 
30
35
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
31
36
  :target: https://odoo-community.org/page/development-status
32
37
  :alt: Beta
33
- .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
38
+ .. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
34
39
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
35
40
  :alt: License: AGPL-3
36
41
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--brazil-lightgray.png?logo=github
@@ -1,11 +1,11 @@
1
- odoo/addons/l10n_br_fiscal_edi/README.rst,sha256=QdJl4IBbJ4ioH021j3KSDrK8y_hQkgv_n9XLr516aDI,4844
1
+ odoo/addons/l10n_br_fiscal_edi/README.rst,sha256=ogm2fwcmoXlvcsL42Gu4187u-vqs0RfbqikA9qO1yRs,5009
2
2
  odoo/addons/l10n_br_fiscal_edi/__init__.py,sha256=0XNpxETgFdVxFDEw03O8oL3NtTSk3we-HEZW2sPKzIU,43
3
- odoo/addons/l10n_br_fiscal_edi/__manifest__.py,sha256=EHVmXgu1Q7PUb-QXlDFG8QThmCt960afv4Bce1U2NKc,1244
3
+ odoo/addons/l10n_br_fiscal_edi/__manifest__.py,sha256=6FcfN6rUBnXYQedKsG6PlzBdWBfvrFla5axfQQFYz-U,1244
4
4
  odoo/addons/l10n_br_fiscal_edi/i18n/l10n_br_fiscal_edi.pot,sha256=ddMjyyTOwE9jb9rOgLNR6yXtEssN49x24UtsFZrgMB8,38421
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=XrGyV3o1-y82iAHxTIeZ-1DUYkmsUf-cU8vD3ftpASw,8802
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=8O1pTNBMaK4ZHapjpqSaLmOKLREWgIIouBGglFbdOSQ,15013
8
+ odoo/addons/l10n_br_fiscal_edi/models/document_workflow.py,sha256=iZG0pwrGr0U0eqrefZ-exRiN8YIEJ57QqygLEWyHxFE,14964
9
9
  odoo/addons/l10n_br_fiscal_edi/models/invalidate_number.py,sha256=mqLwrS7NNVt7zV1WEMIDKhOZ4GOLSKAGVe3bdC371vk,1448
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=AJD1bunnl9c_8XNAcwEkaIY71nC5ezV66-gpvGcnAU8,15176
16
+ odoo/addons/l10n_br_fiscal_edi/static/description/index.html,sha256=SFAgv-_vJwrdqJrhqEKCNOw4T99OrNwTwHMiERnGQKw,15387
17
17
  odoo/addons/l10n_br_fiscal_edi/tests/__init__.py,sha256=4Q04RgcX7CPzogoxW39Muu0BAMmpfaRZKp67SpjYOBU,28
18
18
  odoo/addons/l10n_br_fiscal_edi/tests/test_fiscal_document_generic.py,sha256=rOFTa8P8mO5d25E0pos4srlFcvzpYTLpJCTWvrJ3JBg,43226
19
- odoo/addons/l10n_br_fiscal_edi/tests/test_tax_benefit.py,sha256=T3PMmBEErbUIxLC8qjX78KkWdtrRttpq8RQiEBuXPqA,2681
19
+ odoo/addons/l10n_br_fiscal_edi/tests/test_tax_benefit.py,sha256=gEwHr3jTkQzSE8dFY9hpgOVtBuMIycuwa4Poixiecdc,2754
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.5.0.1.dist-info/METADATA,sha256=m4aZuIsj8jD_W7YGPRczV3_9_JmX-MzF5PFHzHX2xm4,5470
40
- odoo_addon_l10n_br_fiscal_edi-16.0.1.5.0.1.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
41
- odoo_addon_l10n_br_fiscal_edi-16.0.1.5.0.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
42
- odoo_addon_l10n_br_fiscal_edi-16.0.1.5.0.1.dist-info/RECORD,,
39
+ odoo_addon_l10n_br_fiscal_edi-16.0.1.5.1.1.dist-info/METADATA,sha256=bWY-ttpRh_HB59PXmTaVjbV8pfcAt7kiWSzDSG19lcw,5672
40
+ odoo_addon_l10n_br_fiscal_edi-16.0.1.5.1.1.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
41
+ odoo_addon_l10n_br_fiscal_edi-16.0.1.5.1.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
42
+ odoo_addon_l10n_br_fiscal_edi-16.0.1.5.1.1.dist-info/RECORD,,