Commit Graph

54 Commits

Author SHA1 Message Date
Damien Crier
01bb6375ef fix tests 2021-08-13 11:24:46 +02:00
Damien Crier
83eb8115a0 [MIG] account_move_base_import: Migration to 13.0 2021-08-13 11:24:46 +02:00
Damien Crier
68fc7849f3 [IMP] account_move_base_import: black, isort, prettier 2021-08-13 11:24:46 +02:00
OCA Transbot
e81b55d0a8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-reconcile-12.0/account-reconcile-12.0-account_move_base_import
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-12-0/account-reconcile-12-0-account_move_base_import/
2021-08-13 11:24:46 +02:00
OCA-git-bot
c3a4062899 account_move_base_import 12.0.2.0.0 2021-08-13 11:24:46 +02:00
oca-travis
ce0dbcb5f7 [UPD] Update account_move_base_import.pot 2021-08-13 11:24:46 +02:00
Tonow-c2c
5bb8d7caa4 Pass Black on the files + pylint
Move test data to tests/data
2021-08-13 11:24:46 +02:00
Tonow-c2c
5c8a0962da Remove undefined fields balance_cash credit_cash debit_cash 2021-08-13 11:24:46 +02:00
Tonow-c2c
63858eafa4 [FIX][12.0][account_move_transactionid_import] s/transaction_ref/ref
Remove 'ref' from account.move.line preparation

As 'ref' is related to account.move.ref it is not needed

Fix multi move import

multi_move_import on the parser allows to generate 1 account.move
for each line in the imported file, instead of having all the lines
on the same account.move
2021-08-13 11:24:46 +02:00
Bole
02df602eef Translated using Weblate (Croatian)
Currently translated at 7.8% (7 of 90 strings)

Translation: account-reconcile-12.0/account-reconcile-12.0-account_move_base_import
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-12-0/account-reconcile-12-0-account_move_base_import/hr/
2021-08-13 11:24:46 +02:00
OCA Transbot
f296a6f4ce Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-reconcile-12.0/account-reconcile-12.0-account_move_base_import
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-12-0/account-reconcile-12-0-account_move_base_import/
2021-08-13 11:24:46 +02:00
oca-travis
38307eaf65 [UPD] Update account_move_base_import.pot 2021-08-13 11:24:46 +02:00
oca-travis
70215c40a3 [UPD] Update account_move_base_import.pot 2021-08-13 11:24:46 +02:00
oca-travis
34f7f4a60f [UPD] Update account_move_base_import.pot 2021-08-13 11:24:46 +02:00
OCA-git-bot
04453ea779 [ADD] icon.png 2021-08-13 11:24:46 +02:00
OCA-git-bot
3716ede141 [UPD] README.rst 2021-08-13 11:24:46 +02:00
Akim Juillerat
0d0507114b [MIG] account_move_base_import: Migration to 12.0 2021-08-13 11:24:46 +02:00
Holger Brunn
2353fe7034 [IMP] account_move_base_import: don't break without xlrd, add it to dependencies 2021-08-13 11:24:46 +02:00
Akim Juillerat
0d6d54e3b6 [MIG] account_move_base_import: Migration to 11.0 2021-08-13 11:24:46 +02:00
OCA Transbot
2bc065dfd5 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-reconcile-10.0/account-reconcile-10.0-account_move_base_import
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-10-0/account-reconcile-10-0-account_move_base_import/
2021-08-13 11:24:46 +02:00
oca-travis
47b4e1adfe [UPD] Update account_move_base_import.pot 2021-08-13 11:24:46 +02:00
OCA Transbot
05a4e82118 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2021-08-13 11:24:46 +02:00
oca-travis
3191ffa48d [UPD] Update account_move_base_import.pot 2021-08-13 11:24:46 +02:00
Stéphane Bidoul (ACSONE)
ff0c003dba remove obsolete .pot files [ci skip] 2021-08-13 11:24:46 +02:00
OCA Transbot
03acb69751 OCA Transbot updated translations from Transifex 2021-08-13 11:24:46 +02:00
Stéphane Bidoul (ACSONE)
ef9a9f2b1c [FIX] remove en.po that was erroneously created by transbot 2021-08-13 11:24:46 +02:00
OCA Transbot
4372356c02 OCA Transbot updated translations from Transifex 2021-08-13 11:24:46 +02:00
Alexandre Fayolle
d076b5be5e [FIX][10.0] account_move_base_import
When importing a batch for a journal which has a currency different from the
company currency, the values in the batch files are in the currency of the journal.
The previous code was creating move lines as if the amounts in the batch file were in
the company currency.

We fix this by checking for the case, and converting the amounts the company currency at
the rate of the date of the transaction to fill in the credit / debit columns, and setting the
value of amount_currency to the value in the batch file.
2021-08-13 11:24:46 +02:00
OCA-git-bot
e26eedf0d0 [ADD] icon.png 2021-08-13 11:24:46 +02:00
Sébastien BEAU
49008e7d9c [IMP] assert that move is balanced, recompute amount total, and set reconciled to false to avoid having a null value instead 2021-08-13 11:24:46 +02:00
Sébastien BEAU
f794a514d2 [FIX] add all missing field, as orm is bypassed for perf reason, we need to fill all computed and related field 2021-08-13 11:24:46 +02:00
Sébastien BEAU
fb7066355a [FIX] add missing date field, it's a related field and should be added automatically with the same value of the move date 2021-08-13 11:24:46 +02:00
Sébastien BEAU
0e67e3314a [IMP] add filter for filtering the uncompleted move line that should be completed manually 2021-08-13 11:24:46 +02:00
Denis Leemann
cda19ac0b6 update test call 2021-08-13 11:24:46 +02:00
Denis Leemann
a6c401bf05 update tests 2021-08-13 11:24:46 +02:00
Alexis de Lattre
911b03860b Remove print 2021-08-13 11:24:46 +02:00
Alexis de Lattre
fb42d4c037 convert_to_column() seems to be the replacement of _symbol_set() in v10 2021-08-13 11:24:46 +02:00
Alexis de Lattre
1e77fa88ae Start work to port account_move_base_import and base_transaction_id to v10 2021-08-13 11:24:46 +02:00
Matthieu Dietrich
0bfaa2d044 Force import partner on account.move (#157)
Force import partner on account.move
2021-08-13 11:24:46 +02:00
Pedro M. Baeza
2b3cd6bbbb [MIG] Rename manifest files 2021-08-13 11:24:46 +02:00
Pedro M. Baeza
857b15966d [MIG] Make modules uninstallable 2021-08-13 11:24:46 +02:00
Matthieu Dietrich
91281a9333 Correct error messages 2021-08-13 11:24:46 +02:00
Florian da Costa
18214563ac invalidate cache after move sql insert 2021-08-13 11:24:46 +02:00
Matthieu Dietrich
ebda3349a4 Correct sign for debit amount 2021-08-13 11:24:46 +02:00
Florian da Costa
9baf2ff197 Add option on journal to create one or two counterparts automatically 2021-08-13 11:24:46 +02:00
Florian da Costa
e74b1c6f91 Handle multi move in parser 2021-08-13 11:24:46 +02:00
Matthieu Dietrich
35d051133b Add amount_residual for reconciliation later on 2021-08-13 11:24:46 +02:00
Matthieu Dietrich
6e6a7d9ec5 Only set account_id if not set by parser 2021-08-13 11:24:46 +02:00
Matthieu Dietrich
b494e5c873 Rename many2many table 2021-08-13 11:24:46 +02:00
Matthieu Dietrich
36521b3e6f Rename menu + add roadmap in readme 2021-08-13 11:24:46 +02:00