Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[12.0] Importação de Extrato Bancário CNAB 240 - Segmento E #1030

Merged
merged 1 commit into from
Mar 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 127 additions & 0 deletions l10n_br_account_bank_statement_import_cnab/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
==========================================
L10n Br Account Bank Statement Import Cnab
==========================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--brazil-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-brazil/tree/12.0/l10n_br_account_bank_statement_import_cnab
:alt: OCA/l10n-brazil
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-brazil-12-0/l10n-brazil-12-0-l10n_br_account_bank_statement_import_cnab
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/124/12.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

Este modulo permite a importação de extratos bancários no formato CNAB (Segmento E).

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Installation
============

Este módulo depende dos pacotes Python:

* febraban https://github.com/starkbank/febraban-python

Configuration
=============

Não é preciso fazer nada para usa-lo. Apenas se certifique que a conta bancária esta cadastrada e devidamente configurada.

Usage
=====

1. Vá para Faturamento> Painel.

1.1 Crie um novo extrato bancário a partir de um diário bancário.
1.2 Clique no botão "Importar".

2. Selecione o arquivo no seu computador.
3. Clique em importar.
4. Revise e reconcile as entradas do extrato bancário.

Changelog
=========

12.0.1.0.0 (2020)
~~~~~~~~~~~~~~~~~

Primeira versão do Módulo

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-brazil/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-brazil/issues/new?body=module:%20l10n_br_account_bank_statement_import_cnab%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* KMEE

Contributors
~~~~~~~~~~~~

* `KMEE <https://www.kmee.com.br>`_:

* Luis Felipe Mileo <[email protected]>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

KMEE LTDA - www.kmee.com.br

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-mileo| image:: https://github.com/mileo.png?size=40px
:target: https://github.com/mileo
:alt: mileo

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-mileo|

This module is part of the `OCA/l10n-brazil <https://github.com/OCA/l10n-brazil/tree/12.0/l10n_br_account_bank_statement_import_cnab>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions l10n_br_account_bank_statement_import_cnab/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (C) 2020 - Luis Felipe Mileo - KMEE
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from . import models
from . import wizard
23 changes: 23 additions & 0 deletions l10n_br_account_bank_statement_import_cnab/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright (C) 2020 - Luis Felipe Mileo - KMEE
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

{
'name': 'L10n Br Account Bank Statement Import Cnab',
'summary': """
Importação de Extrato Bancário CNAB 240 - Segmento E""",
'version': '12.0.1.0.0',
'license': 'AGPL-3',
'author': 'KMEE,Odoo Community Association (OCA)',
'website': 'https://github.com/oca/l10n-brazil.git',
'maintainers': ['mileo'],
"development_status": "Alpha",
'depends': [
'account_bank_statement_import',
],
'data': [
'views/view_account_bank_statement_import.xml',
],
'external_dependencies': {
'python': ['febraban'],
},
}
4 changes: 4 additions & 0 deletions l10n_br_account_bank_statement_import_cnab/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (C) 2020 - Luis Felipe Mileo - KMEE
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from . import account_journal
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (C) 2020 - Luis Felipe Mileo - KMEE
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from odoo import models


class AccountJournal(models.Model):
_inherit = "account.journal"

def _get_bank_statements_available_import_formats(self):
""" Adds cnab to supported import formats. """
result = super()._get_bank_statements_available_import_formats()
result.append('cnab')
return result
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Não é preciso fazer nada para usa-lo. Apenas se certifique que a conta bancária esta cadastrada e devidamente configurada.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `KMEE <https://www.kmee.com.br>`_:

* Luis Felipe Mileo <[email protected]>
3 changes: 3 additions & 0 deletions l10n_br_account_bank_statement_import_cnab/readme/CREDITS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The development of this module has been financially supported by:

KMEE LTDA - www.kmee.com.br
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Este modulo permite a importação de extratos bancários no formato CNAB (Segmento E).
4 changes: 4 additions & 0 deletions l10n_br_account_bank_statement_import_cnab/readme/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
12.0.1.0.0 (2020)
~~~~~~~~~~~~~~~~~

Primeira versão do Módulo
3 changes: 3 additions & 0 deletions l10n_br_account_bank_statement_import_cnab/readme/INSTALL.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Este módulo depende dos pacotes Python:

* febraban https://github.com/starkbank/febraban-python
8 changes: 8 additions & 0 deletions l10n_br_account_bank_statement_import_cnab/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
1. Vá para Faturamento> Painel.

1.1 Crie um novo extrato bancário a partir de um diário bancário.
1.2 Clique no botão "Importar".

2. Selecione o arquivo no seu computador.
3. Clique em importar.
4. Revise e reconcile as entradas do extrato bancário.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading