Skip to content

Commit

Permalink
Merge commit 'refs/pull/654/head' of https://github.com/oca/bank-stat…
Browse files Browse the repository at this point in the history
…ement-import into 17.0-7017
  • Loading branch information
docker-odoo committed May 14, 2024
2 parents 7c43290 + 8010d05 commit 111701b
Show file tree
Hide file tree
Showing 44 changed files with 6,168 additions and 0 deletions.
132 changes: 132 additions & 0 deletions account_statement_import_sheet_file/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
==================================
Bank Statement TXT/CSV/XLSX Import
==================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:987e1d38f2275461270dcb08917d239239dc18849a4ea903f46639d9363f2189
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |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%2Fbank--statement--import-lightgray.png?logo=github
:target: https://github.com/OCA/bank-statement-import/tree/17.0/account_statement_import_sheet_file
:alt: OCA/bank-statement-import
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/bank-statement-import-17-0/bank-statement-import-17-0-account_statement_import_sheet_file
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=17.0
:alt: Try me on Runboat

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

This module allows you to import any TXT/CSV or XLSX file in Odoo as
bank statements.

**Table of contents**

.. contents::
:local:

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

To create TXT/CSV/XLSX statement sheet columns mapping:

1. Open *Invoicing > Configuration > Accounting > Statement Sheet
Mappings*
2. Create mapping(s) according to your online banking software statement
format

Usage
=====

To use this module, you need to:

1. Get statement in TXT/CSV or XLSX from your online banking software
2. Go to Odoo and and import the statement file, selecting corresponding
format

Changelog
=========

12.0.2.0.0
----------

- [BREAKING] New mapping, please review mappings after upgrade.
- [BREAKING] Different bank accounts have to be used per each currency.
- [ADD] Support for both Statement and Activity reports.
- [ADD] Separate fee and currency exchange parsing.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-import/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_sheet_file%0Aversion:%2017.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
-------

* ForgeFlow
* CorporateHub

Contributors
------------

- Alexis de Lattre <alexis.delattre@akretion.com>
- Sebastien BEAU <sebastien.beau@akretion.com>
- Katherine Zaoral
- Tecnativa (https://www.tecnativa.com)

- Vicent Cubells
- Victor M.M. Torres
- Víctor Martínez

- ForgeFlow (https://www.forgeflow.com)

- Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
- Miquel Raïch Regué <miquel.raich@forgeflow.com>

- `CorporateHub <https://corporatehub.eu/>`__

- Alexey Pelykh <alexey.pelykh@corphub.eu>

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-alexey-pelykh| image:: https://github.com/alexey-pelykh.png?size=40px
:target: https://github.com/alexey-pelykh
:alt: alexey-pelykh

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

|maintainer-alexey-pelykh|

This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/17.0/account_statement_import_sheet_file>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions account_statement_import_sheet_file/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
26 changes: 26 additions & 0 deletions account_statement_import_sheet_file/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2019 ForgeFlow, S.L.
# Copyright 2020 CorporateHub (https://corporatehub.eu)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Bank Statement TXT/CSV/XLSX Import",
"summary": "Import TXT/CSV or XLSX files as Bank Statements in Odoo",
"version": "17.0.1.0.0",
"category": "Accounting",
"website": "https://github.com/OCA/bank-statement-import",
"author": "ForgeFlow, CorporateHub, Odoo Community Association (OCA)",
"maintainers": ["alexey-pelykh"],
"license": "AGPL-3",
"installable": True,
"depends": [
"account_statement_import_file",
],
"external_dependencies": {"python": ["xlrd", "chardet"]},
"data": [
"security/ir.model.access.csv",
"data/map_data.xml",
"views/account_statement_import_sheet_mapping.xml",
"views/account_statement_import.xml",
"views/account_journal_views.xml",
],
}
26 changes: 26 additions & 0 deletions account_statement_import_sheet_file/data/map_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2019 ForgeFlow, S.L.
Copyright 2020 CorporateHub (https://corporatehub.eu)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<odoo noupdate="1">
<record id="sample_statement_map" model="account.statement.import.sheet.mapping">
<field name="name">Sample Statement</field>
<field name="footer_lines_skip_count">0</field>
<field name="header_lines_skip_count">1</field>
<field name="float_thousands_sep">comma</field>
<field name="float_decimal_sep">dot</field>
<field name="delimiter">comma</field>
<field name="quotechar">"</field>
<field name="timestamp_format">%m/%d/%Y</field>
<field name="timestamp_column">Date</field>
<field name="amount_type">simple_value</field>
<field name="amount_column">Amount</field>
<field name="original_currency_column">Currency</field>
<field name="original_amount_column">Amount Currency</field>
<field name="description_column">Label</field>
<field name="partner_name_column">Partner Name</field>
<field name="bank_account_column">Bank Account</field>
</record>
</odoo>
Loading

0 comments on commit 111701b

Please sign in to comment.