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

[18.0][MIG] account_statement_import_sheet_file: Migration to 18.0 #747

Open
wants to merge 58 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
629b125
[MIG] account_bank_statement_import_txt_xlsx: Migration to 14.0
primes2h Sep 9, 2021
733c2dd
Added translation using Weblate (Italian)
primes2h Nov 24, 2021
9c022da
Added translation using Weblate (Portuguese)
pedrocs-exo Nov 25, 2021
f935d0c
Translated using Weblate (Italian)
primes2h Nov 25, 2021
6630f31
[account_statement_import_txt_xlsx][imp] add migration scripts
JordiBForgeFlow Dec 6, 2021
3758742
Added translation using Weblate (Spanish (Argentina))
ibuioli Jan 7, 2022
0e14b19
Translated using Weblate (Spanish (Argentina))
ibuioli Jan 9, 2022
16e9d71
[MIG] account_statement_import_txt_xlsx: Migration to 15.0
nicomacr Oct 5, 2022
f6bd0b6
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
6a6986a
[FIX] account_bank_statement_import_txt_xlsx: import sheet notes
Aug 11, 2021
6147da8
[IMP] account_statement_import_txt_xlsx: wizard: 2 amount columns, fo…
norlinhenrik Apr 3, 2022
35ebacb
[IMP] account_statement_import_txt_xlsx: amount_debit_column, amount_…
norlinhenrik Dec 20, 2022
6619ea2
[IMP] account_statement_import_txt_xlsx: Allow mapping with reference…
JordiBForgeFlow Dec 16, 2022
a71266a
[IMP] account_statement_import_txt_xlsx: add tests
JordiBForgeFlow Dec 18, 2022
fead3d6
[IMP] account_statement_import_txt_xlsx: Calculate final balance if n…
JordiBForgeFlow Feb 22, 2023
85e0bbc
[FIX] account_statement_import_txt_xlsx: Don't try to parse if no map…
pedrobaeza Feb 25, 2023
85de6ba
[ADD] account_statement_import_txt_xlsx: show mapping error
zaoral Nov 12, 2022
11e39e1
Translated using Weblate (Italian)
francesco-ooops May 24, 2023
91a142a
Added translation using Weblate (Spanish)
pere-aquarian Jun 23, 2023
9bb19d5
Translated using Weblate (Spanish)
pere-aquarian Jun 23, 2023
ea8bfd3
[FIX] account_statement_import_txt_xlsx: Make tests resilient
victoralmau Aug 16, 2023
d943c83
[MIG] account_statement_import_txt_xlsx: Migration to 16.0
pablohmontenegro Jun 14, 2023
7f62352
[IMP] account_bank_statement_import_txt_xlsx: CSV
zaoral Nov 15, 2022
125cd28
[UPD] Update account_statement_import_sheet_file.pot
Oct 31, 2023
90cc492
[BOT] post-merge updates
OCA-git-bot Oct 31, 2023
d08be58
Translated using Weblate (Spanish)
Ivorra78 Nov 1, 2023
4b205a6
[IMP] account_statement_import_sheet_file: add field amount_inverse_s…
JordiBForgeFlow Jan 31, 2024
d2bdba7
[UPD] Update account_statement_import_sheet_file.pot
Feb 6, 2024
93db6b0
[BOT] post-merge updates
OCA-git-bot Feb 6, 2024
65998fd
Added translation using Weblate (Turkish)
Feb 6, 2024
9314baf
Translated using Weblate (Turkish)
Feb 6, 2024
79ca9a0
Translated using Weblate (Spanish)
Ivorra78 Feb 8, 2024
0269dc0
Translated using Weblate (Italian)
mymage Mar 1, 2024
3defd2f
[IMP] account_statement_import_sheet_file: add quote as thousand sepa…
alexis-via Mar 13, 2024
628d572
Translated using Weblate (Italian)
alessandro-fiorino Mar 30, 2024
0972ae2
[UPD] Update account_statement_import_sheet_file.pot
Apr 22, 2024
f8d4174
[BOT] post-merge updates
OCA-git-bot Apr 22, 2024
2937d91
Update translation files
weblate Apr 22, 2024
7b1b6bb
Translated using Weblate (Italian)
mymage May 3, 2024
5ba2edb
[IMP][account_statement_import_sheet_file] Empty lines with spaces, o…
mileo May 10, 2024
2bbc178
Translated using Weblate (Spanish)
berisoft-arg May 12, 2024
1f392af
[REF][account_statement_import_sheet_file] Remove decimal
mileo May 12, 2024
b640a6d
[BOT] post-merge updates
OCA-git-bot May 13, 2024
84e5250
[IMP] account_statement_import_sheet_file: pre-commit execution
rov-adhoc Dec 27, 2023
ee272f0
[MIG] account_statement_import_sheet_file: Migration to 17.0
rov-adhoc Dec 27, 2023
fd16550
[UPD] Update account_statement_import_sheet_file.pot
May 21, 2024
4e1028c
[BOT] post-merge updates
OCA-git-bot May 21, 2024
a802381
Update translation files
weblate May 21, 2024
df9428e
Translated using Weblate (Italian)
mymage May 22, 2024
49b9552
Translated using Weblate (Chinese (Simplified) (zh_CN))
xtanuiha Jun 12, 2024
01c839e
Translated using Weblate (Chinese (Simplified) (zh_CN))
xtanuiha Jun 12, 2024
e240014
[IMP] account_statement_import_sheet_file: additional mapping controls
jdidderen-noviat Jun 21, 2023
f4c3f2f
[UPD] Update account_statement_import_sheet_file.pot
Dec 4, 2024
3735ddd
[BOT] post-merge updates
OCA-git-bot Dec 4, 2024
32b8778
Update translation files
weblate Dec 4, 2024
f47bfca
Translated using Weblate (Italian)
mymage Dec 5, 2024
94b6ed6
[IMP] account_statement_import_sheet_file: pre-commit execution
feg-adhoc Dec 12, 2024
c95a18d
[MIG] account_statement_import_sheet_file: Migration to 18.0
feg-adhoc Dec 12, 2024
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
134 changes: 134 additions & 0 deletions account_statement_import_sheet_file/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
==================================
Bank Statement TXT/CSV/XLSX Import
==================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:152e396ff6868978b165509c50726b88efd20d31f40c58c6c7a59384e8df4fbf
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/18.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-18-0/bank-statement-import-18-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=18.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:%2018.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 <[email protected]>
- Sebastien BEAU <[email protected]>
- 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 <[email protected]>
- Miquel Raïch Regué <[email protected]>

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

- Alexey Pelykh <[email protected]>

- Sebastiano Picchi [email protected]

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/18.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": "18.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
Loading