Skip to content

Commit

Permalink
[NEW] Módulo de importação de extrato bancário CNAB segmento E
Browse files Browse the repository at this point in the history
  • Loading branch information
mileo committed Feb 28, 2021
1 parent 1d42441 commit 3842a6b
Show file tree
Hide file tree
Showing 20 changed files with 843 additions and 0 deletions.
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.
2 changes: 2 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,2 @@
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 2020 KMEE
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
'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'],
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import account_journal
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 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

0 comments on commit 3842a6b

Please sign in to comment.