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_move_base_import: migration to 18.0 #797

Open
wants to merge 77 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
77 commits
Select commit Hold shift + click to select a range
0232635
Remane import modules
mdietrichc2c May 24, 2016
d919128
Rename last values
mdietrichc2c May 24, 2016
775d731
Corrections
mdietrichc2c May 26, 2016
2e5b2b2
Remove last mentions of statement
mdietrichc2c May 27, 2016
dba6907
Rename menu + add roadmap in readme
mdietrichc2c May 30, 2016
0571f8f
Rename many2many table
mdietrichc2c Jun 20, 2016
6303cd5
Only set account_id if not set by parser
mdietrichc2c Jul 4, 2016
bb7f6ed
Add amount_residual for reconciliation later on
mdietrichc2c Jul 5, 2016
00a140d
Handle multi move in parser
florian-dacosta Jul 6, 2016
c769060
Add option on journal to create one or two counterparts automatically
florian-dacosta Jul 6, 2016
6c79f42
Correct sign for debit amount
mdietrichc2c Jul 6, 2016
3007f86
invalidate cache after move sql insert
florian-dacosta Jul 7, 2016
ec83661
Correct error messages
mdietrichc2c Sep 7, 2016
7d43442
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
76c7232
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
0d7758a
Force import partner on account.move (#157)
mdietrichc2c Oct 17, 2016
a88466e
Start work to port account_move_base_import and base_transaction_id t…
alexis-via Nov 9, 2016
feef09f
convert_to_column() seems to be the replacement of _symbol_set() in v10
alexis-via Nov 13, 2016
c8bfc9a
Remove print
alexis-via Nov 13, 2016
085a5f5
update tests
leemannd Jan 11, 2017
7d08548
update test call
leemannd Jan 11, 2017
bfafc4c
[IMP] add filter for filtering the uncompleted move line that should …
sebastienbeau Dec 11, 2017
3765f23
[FIX] add all missing field, as orm is bypassed for perf reason, we n…
sebastienbeau Dec 21, 2017
b76a378
[IMP] assert that move is balanced, recompute amount total, and set r…
sebastienbeau Mar 20, 2018
a6a32a2
[ADD] icon.png
OCA-git-bot Apr 3, 2019
03be969
[FIX][10.0] account_move_base_import
gurneyalex Jun 15, 2019
1ab93ec
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
2a693dd
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
fafdc6b
[UPD] Update account_move_base_import.pot
oca-travis Jun 22, 2018
015ee50
[UPD] Update account_move_base_import.pot
oca-travis Jun 17, 2019
334608e
[MIG] account_move_base_import: Migration to 11.0
grindtildeath Jul 10, 2019
417231a
[IMP] account_move_base_import: don't break without xlrd, add it to d…
hbrunn May 2, 2019
2a48581
[MIG] account_move_base_import: Migration to 12.0
grindtildeath Jul 15, 2019
efb73c3
Translated using Weblate (Croatian)
badbole Nov 13, 2019
db95609
[FIX][12.0][account_move_transactionid_import] s/transaction_ref/ref
Tonow-c2c Nov 13, 2019
8671052
Remove undefined fields balance_cash credit_cash debit_cash
Tonow-c2c Nov 22, 2019
3f6909a
Pass Black on the files + pylint
Tonow-c2c Nov 22, 2019
63a1988
account_move_base_import 12.0.2.0.0
OCA-git-bot Jan 28, 2020
7534333
[IMP] account_move_base_import: black, isort, prettier
captivea-dcr Jul 15, 2020
6ac339f
[MIG] account_move_base_import: Migration to 13.0
captivea-dcr Aug 10, 2020
ae8578d
add #335 for commission analytic account
mdietrichc2c Oct 31, 2016
699fdee
[IMP] account_move_base_import: black, isort, prettier
florian-dacosta Jan 3, 2021
0e215d5
[MIG] account_move_base_import: Migration to 14.0
florian-dacosta Jan 3, 2021
8f5b089
[IMP] Add option to post a move if move is
florian-dacosta Apr 6, 2021
06b0bcf
[IMP] Make commission feature compatible with
florian-dacosta Apr 6, 2021
33f8aeb
[UPD] Update account_move_base_import.pot
oca-travis Aug 28, 2021
cabaefc
[UPD] README.rst
OCA-git-bot Aug 28, 2021
16a7286
[FIX] account_move_base_import: native odoo account tests failing bec…
nilshamerlinck Oct 21, 2021
2d1d440
account_move_base_import 14.0.1.0.1
OCA-git-bot Oct 22, 2021
42a3c0e
Translated using Weblate (Spanish (Argentina))
ibuioli Nov 14, 2021
b46da07
Translated using Weblate (Spanish)
extrememicro Apr 12, 2022
080c4d5
[IMP] account_move_base_import: black, isort, prettier
florian-dacosta Dec 2, 2022
017dde7
[MIG][16.0] account_move_base_import : migration to 16
florian-dacosta Dec 2, 2022
5e7329f
[UPD] Update account_move_base_import.pot
Mar 30, 2023
7c71056
[UPD] README.rst
OCA-git-bot Mar 30, 2023
f2040cb
Translated using Weblate (Croatian)
badbole Apr 3, 2023
ed7450b
Translated using Weblate (Spanish)
ikedetoro Apr 11, 2023
0f533f3
Translated using Weblate (Slovenian)
sysadminmatmoz Apr 11, 2023
96a5cc5
Translated using Weblate (Italian)
mymage Apr 18, 2023
47f9416
Translated using Weblate (Spanish)
Gelo-fl May 16, 2023
c5487ea
Translated using Weblate (Portuguese (Brazil))
adrianojprado Jun 22, 2023
a607709
Translated using Weblate (Spanish)
Gelo-fl Aug 3, 2023
a5ef619
Translated using Weblate (French)
remi-filament Aug 16, 2023
a2eb341
[UPD] Update account_move_base_import.pot
Aug 31, 2023
10a628f
[UPD] README.rst
OCA-git-bot Sep 3, 2023
2889f0b
Translated using Weblate (Spanish)
Ivorra78 Sep 4, 2023
4e1671f
Translated using Weblate (Catalan)
Oct 11, 2023
c12d04d
Translated using Weblate (Italian)
francesco-ooops Oct 13, 2023
7137642
[UPD] Update account_move_base_import.pot
Oct 27, 2023
1fe7e1a
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 27, 2023
eefb379
[IMP] Add a hook to compute commission to allow submodules to add som…
florian-dacosta Feb 9, 2024
ad1f8b0
Translated using Weblate (Swedish)
jakobkrabbe Feb 27, 2024
37ad699
Translated using Weblate (Catalan)
HaraldPanten Mar 20, 2024
b878da8
Translated using Weblate (Italian)
mymage Apr 8, 2024
3df0589
Translated using Weblate (Portuguese (Brazil))
SottomaiorMacedoTec Sep 11, 2024
97c6317
[IMP] account_move_base_import: pre-commit auto fixes
Ricardoalso Feb 11, 2025
cefbed8
[MIG] account_move_base_import: Migration to 18.0
Ricardoalso Feb 11, 2025
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 account_move_base_import/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
=========================
Journal Entry base import
=========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:00aef66570ca25cb38abada0adcef178aa23f022fd064bf0833a527fc44eaba8
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Faccount--reconcile-lightgray.png?logo=github
:target: https://github.com/OCA/account-reconcile/tree/18.0/account_move_base_import
:alt: OCA/account-reconcile
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-reconcile-18-0/account-reconcile-18-0-account_move_base_import
: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/account-reconcile&target_branch=18.0
:alt: Try me on Runboat

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

This module is a grouping of 7.0/8.0 modules, used to import accounting
files and completing them automatically:

- account_statement_base_completion
- account_statement_base_import
- account_statement_commission
- account_statement_ext

The main change is that, in order to import financial data, this
information is now imported directly as a Journal Entry.

Most of the information present in the "statement profile" is now
located in the account journal (with 2 boolean parameters which allows
to use this journal for importation and/or auto-completion).

Financial data can be imported using a standard .csv or .xls file
(you'll find it in the 'data' folder). It respects the journal to pass
the entries.

This module can handle a commission taken by the payment office and has
the following format: \* \__date\_\_: date of the payment \*
\__amount\_\_: amount paid in the currency of the journal used in the
importation \* \__label\_\_: the comunication given by the payment
office, used as communication in the generated entries.

Another column which can be used is \__commission_amount\_\_,
representing the amount for the commission taken by line.

Afterwards, the goal is to populate the journal items with information
that the bank or office gave you. For this, completion rules can be
specified by journal.

Some basic rules are provided in this module:

1) Match from statement line label (based on partner field 'Bank
Statement Label') 2) Match from statement line label (based on partner
name) 3) Match from statement line label (based on Invoice reference)

Feel free to extend either the importation method, the completion
method, or both.

**Table of contents**

.. contents::
:local:

Known issues / Roadmap
======================

- As for now, the module does not handle multicurrency imports.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-reconcile/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/account-reconcile/issues/new?body=module:%20account_move_base_import%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
-------

* Akretion
* Camptocamp

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

- Joël Grand-Guillaume <joel.grandguillaume@camptocamp.com>
- Nicolas Bessi <nicolas.bessi@camptocamp.com>
- Laurent Mignon <laurent.mignon@acsone.eu>
- Sébastien Beau <sebastien.beau@akretion.com>
- Matthieu Dietrich <matthieu.dietrich@camptocamp.com>
- Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
- Akim Juillerat <akim.juillerat@camptocamp.com>

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.

This module is part of the `OCA/account-reconcile <https://github.com/OCA/account-reconcile/tree/18.0/account_move_base_import>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions account_move_base_import/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from . import parser
from . import wizard
from . import models
24 changes: 24 additions & 0 deletions account_move_base_import/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2011-2022 Akretion
# Copyright 2011-2019 Camptocamp SA
# Copyright 2013 Savoir-faire Linux
# Copyright 2014 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)
{
"name": "Journal Entry base import",
"version": "18.0.1.0.0",
"author": "Akretion,Camptocamp,Odoo Community Association (OCA)",
"category": "Finance",
"depends": ["account"],
"website": "https://github.com/OCA/account-reconcile",
"data": [
"security/ir.model.access.csv",
"data/completion_rule_data.xml",
"wizard/import_statement_view.xml",
"views/account_move_view.xml",
"views/journal_view.xml",
"views/partner_view.xml",
],
"external_dependencies": {"python": ["xlrd"]},
"installable": True,
"license": "AGPL-3",
}
27 changes: 27 additions & 0 deletions account_move_base_import/data/completion_rule_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="bank_statement_completion_rule_2" model="account.move.completion.rule">
<field
name="name"
>Match from line label (based on partner field 'Bank Statement Label')</field>
<field name="sequence">60</field>
<field name="function_to_call">get_from_name_and_partner_field</field>
</record>
<record id="bank_statement_completion_rule_3" model="account.move.completion.rule">
<field name="name">Match from line label (based on partner name)</field>
<field name="sequence">70</field>
<field name="function_to_call">get_from_name_and_partner_name</field>
</record>
<record id="bank_statement_completion_rule_4" model="account.move.completion.rule">
<field name="name">Match from line label (based on Invoice number)</field>
<field name="sequence">40</field>
<field name="function_to_call">get_from_name_and_invoice</field>
</record>
<record id="bank_statement_completion_rule_5" model="account.move.completion.rule">
<field
name="name"
>Match from line label (based on Invoice Supplier number)</field>
<field name="sequence">45</field>
<field name="function_to_call">get_from_name_and_supplier_invoice</field>
</record>
</odoo>
Loading