odoo-addon-l10n-br-fiscal-edi 15.0.1.0.0.2__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.
Files changed (42) hide show
  1. odoo/addons/l10n_br_fiscal_edi/README.rst +124 -0
  2. odoo/addons/l10n_br_fiscal_edi/__init__.py +2 -0
  3. odoo/addons/l10n_br_fiscal_edi/__manifest__.py +41 -0
  4. odoo/addons/l10n_br_fiscal_edi/i18n/l10n_br_fiscal_edi.pot +896 -0
  5. odoo/addons/l10n_br_fiscal_edi/models/__init__.py +4 -0
  6. odoo/addons/l10n_br_fiscal_edi/models/document.py +294 -0
  7. odoo/addons/l10n_br_fiscal_edi/models/document_event.py +392 -0
  8. odoo/addons/l10n_br_fiscal_edi/models/document_workflow.py +387 -0
  9. odoo/addons/l10n_br_fiscal_edi/models/invalidate_number.py +53 -0
  10. odoo/addons/l10n_br_fiscal_edi/readme/CONTRIBUTORS.md +5 -0
  11. odoo/addons/l10n_br_fiscal_edi/readme/DESCRIPTION.md +6 -0
  12. odoo/addons/l10n_br_fiscal_edi/readme/ROADMAP.md +6 -0
  13. odoo/addons/l10n_br_fiscal_edi/readme/USAGE.md +7 -0
  14. odoo/addons/l10n_br_fiscal_edi/security/ir.model.access.csv +7 -0
  15. odoo/addons/l10n_br_fiscal_edi/static/description/icon.png +0 -0
  16. odoo/addons/l10n_br_fiscal_edi/static/description/index.html +460 -0
  17. odoo/addons/l10n_br_fiscal_edi/tests/__init__.py +1 -0
  18. odoo/addons/l10n_br_fiscal_edi/tests/test_fiscal_document_generic.py +1191 -0
  19. odoo/addons/l10n_br_fiscal_edi/tests/test_tax_benefit.py +74 -0
  20. odoo/addons/l10n_br_fiscal_edi/tests/test_workflow.py +118 -0
  21. odoo/addons/l10n_br_fiscal_edi/views/document_event_report.xml +15 -0
  22. odoo/addons/l10n_br_fiscal_edi/views/document_event_template.xml +114 -0
  23. odoo/addons/l10n_br_fiscal_edi/views/document_event_view.xml +68 -0
  24. odoo/addons/l10n_br_fiscal_edi/views/document_view.xml +77 -0
  25. odoo/addons/l10n_br_fiscal_edi/views/invalidate_number_view.xml +19 -0
  26. odoo/addons/l10n_br_fiscal_edi/views/l10n_br_fiscal_action.xml +38 -0
  27. odoo/addons/l10n_br_fiscal_edi/views/l10n_br_fiscal_menu.xml +23 -0
  28. odoo/addons/l10n_br_fiscal_edi/wizards/__init__.py +7 -0
  29. odoo/addons/l10n_br_fiscal_edi/wizards/base_wizard_mixin.py +13 -0
  30. odoo/addons/l10n_br_fiscal_edi/wizards/document_cancel_wizard.py +20 -0
  31. odoo/addons/l10n_br_fiscal_edi/wizards/document_cancel_wizard.xml +30 -0
  32. odoo/addons/l10n_br_fiscal_edi/wizards/document_correction_wizard.py +17 -0
  33. odoo/addons/l10n_br_fiscal_edi/wizards/document_correction_wizard.xml +30 -0
  34. odoo/addons/l10n_br_fiscal_edi/wizards/document_import_wizard_mixin.py +132 -0
  35. odoo/addons/l10n_br_fiscal_edi/wizards/document_import_wizard_mixin.xml +44 -0
  36. odoo/addons/l10n_br_fiscal_edi/wizards/document_status_wizard.xml +58 -0
  37. odoo/addons/l10n_br_fiscal_edi/wizards/invalidate_number_wizard.py +33 -0
  38. odoo/addons/l10n_br_fiscal_edi/wizards/invalidate_number_wizard.xml +30 -0
  39. odoo_addon_l10n_br_fiscal_edi-15.0.1.0.0.2.dist-info/METADATA +141 -0
  40. odoo_addon_l10n_br_fiscal_edi-15.0.1.0.0.2.dist-info/RECORD +42 -0
  41. odoo_addon_l10n_br_fiscal_edi-15.0.1.0.0.2.dist-info/WHEEL +5 -0
  42. odoo_addon_l10n_br_fiscal_edi-15.0.1.0.0.2.dist-info/top_level.txt +1 -0
@@ -0,0 +1,124 @@
1
+ ==========================
2
+ Common EDI fiscal features
3
+ ==========================
4
+
5
+ ..
6
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7
+ !! This file is generated by oca-gen-addon-readme !!
8
+ !! changes will be overwritten. !!
9
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
+ !! source digest: sha256:2aef138ea880eef26ea27fdbf1da1ce3e5bb9992bebe8a52c807e00d0303406f
11
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
+
13
+ .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14
+ :target: https://odoo-community.org/page/development-status
15
+ :alt: Beta
16
+ .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17
+ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18
+ :alt: License: AGPL-3
19
+ .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--brazil-lightgray.png?logo=github
20
+ :target: https://github.com/OCA/l10n-brazil/tree/15.0/l10n_br_fiscal_edi
21
+ :alt: OCA/l10n-brazil
22
+ .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23
+ :target: https://translation.odoo-community.org/projects/l10n-brazil-15-0/l10n-brazil-15-0-l10n_br_fiscal_edi
24
+ :alt: Translate me on Weblate
25
+ .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-brazil&target_branch=15.0
27
+ :alt: Try me on Runboat
28
+
29
+ |badge1| |badge2| |badge3| |badge4| |badge5|
30
+
31
+ Este módulo estende o módulo ``l10n_br_fiscal`` e cuida da parte de EDI
32
+ (Electronic Data Interchange) que é comum entre os vários documentos
33
+ fiscais no Brasil. Ele introduz os modelos de eventos de transmissão, de
34
+ correções... Alem disso ele cuida das possíveis transições de estado do
35
+ documento fiscal em função dos retornos dos webservices (campo
36
+ ``state_edoc``).
37
+
38
+ **Table of contents**
39
+
40
+ .. contents::
41
+ :local:
42
+
43
+ Usage
44
+ =====
45
+
46
+ Use os botões na barra de header do documento fiscal para alterar o
47
+ estado do documento fiscal, para abrir os wizards e para interagir com a
48
+ fazenda... Quando o módulo ``l10n_br_account`` ou alguns módulos de
49
+ documentos fiscais específicos como ``l10n_br_nfe`` ou ``l10n_br_nfse``
50
+ são instalados, alguns métodos de transição de estado do módulo
51
+ ``l10n_br_fiscal_edi`` são chamados automaticamente, por exemplo ao
52
+ confirmar ou cancelar uma nota.
53
+
54
+ Known issues / Roadmap
55
+ ======================
56
+
57
+ O código deste módulo foi feito antes dos repos ``OCA/edi`` e
58
+ ``OCA/edi-framework``. O código do ``document_workflow.py`` por exemplo
59
+ foi uma espécie de tradução em código do "workflow de state machine" que
60
+ tinha sido customizado para a NFe na versão 8.0 mas que teve que ser
61
+ re-escrito quando o engine de workflow foi removido na versão 10.0.
62
+ Nisso o código deste módulo tem bastante possibilidades de melhorias...
63
+
64
+ Bug Tracker
65
+ ===========
66
+
67
+ Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-brazil/issues>`_.
68
+ In case of trouble, please check there if your issue has already been reported.
69
+ If you spotted it first, help us to smash it by providing a detailed and welcomed
70
+ `feedback <https://github.com/OCA/l10n-brazil/issues/new?body=module:%20l10n_br_fiscal_edi%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
71
+
72
+ Do not contact contributors directly about support or help with technical issues.
73
+
74
+ Credits
75
+ =======
76
+
77
+ Authors
78
+ -------
79
+
80
+ * Akretion
81
+ * KMEE
82
+
83
+ Contributors
84
+ ------------
85
+
86
+ - `Akretion <https://www.akretion.com/pt-BR>`__:
87
+
88
+ - Renato Lima <renato.lima@akretion.com.br>
89
+ - Raphaël Valyi <raphael.valyi@akretion.com.br>
90
+
91
+ - `KMEE <https://www.kmee.com.br>`__:
92
+
93
+ - Luis Felipe Mileo <mileo@kmee.com.br>
94
+
95
+ Maintainers
96
+ -----------
97
+
98
+ This module is maintained by the OCA.
99
+
100
+ .. image:: https://odoo-community.org/logo.png
101
+ :alt: Odoo Community Association
102
+ :target: https://odoo-community.org
103
+
104
+ OCA, or the Odoo Community Association, is a nonprofit organization whose
105
+ mission is to support the collaborative development of Odoo features and
106
+ promote its widespread use.
107
+
108
+ .. |maintainer-renatonlima| image:: https://github.com/renatonlima.png?size=40px
109
+ :target: https://github.com/renatonlima
110
+ :alt: renatonlima
111
+ .. |maintainer-rvalyi| image:: https://github.com/rvalyi.png?size=40px
112
+ :target: https://github.com/rvalyi
113
+ :alt: rvalyi
114
+ .. |maintainer-mileo| image:: https://github.com/mileo.png?size=40px
115
+ :target: https://github.com/mileo
116
+ :alt: mileo
117
+
118
+ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
119
+
120
+ |maintainer-renatonlima| |maintainer-rvalyi| |maintainer-mileo|
121
+
122
+ This module is part of the `OCA/l10n-brazil <https://github.com/OCA/l10n-brazil/tree/15.0/l10n_br_fiscal_edi>`_ project on GitHub.
123
+
124
+ You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
@@ -0,0 +1,2 @@
1
+ from . import models
2
+ from . import wizards
@@ -0,0 +1,41 @@
1
+ # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
2
+
3
+ {
4
+ "name": "Common EDI fiscal features",
5
+ "summary": "Common EDI fiscal features",
6
+ "category": "Localisation",
7
+ "license": "AGPL-3",
8
+ "author": "Akretion, KMEE, Odoo Community Association (OCA)",
9
+ "maintainers": ["renatonlima", "rvalyi", "mileo"],
10
+ "website": "https://github.com/OCA/l10n-brazil",
11
+ "development_status": "Beta",
12
+ "version": "15.0.1.0.0",
13
+ "depends": [
14
+ "l10n_br_fiscal",
15
+ ],
16
+ "data": [
17
+ # security
18
+ "security/ir.model.access.csv",
19
+ # Views
20
+ "views/document_view.xml",
21
+ "views/invalidate_number_view.xml",
22
+ "views/document_event_view.xml",
23
+ "views/document_event_report.xml",
24
+ "views/document_event_template.xml",
25
+ # Reports
26
+ "views/document_event_report.xml",
27
+ "views/document_event_template.xml",
28
+ # Wizards
29
+ "wizards/document_cancel_wizard.xml",
30
+ "wizards/document_correction_wizard.xml",
31
+ "wizards/document_status_wizard.xml",
32
+ "wizards/invalidate_number_wizard.xml",
33
+ # Actions
34
+ "views/l10n_br_fiscal_action.xml",
35
+ # Menus
36
+ "views/l10n_br_fiscal_menu.xml",
37
+ # Wizards
38
+ "wizards/document_import_wizard_mixin.xml",
39
+ ],
40
+ "installable": True,
41
+ }