Commit Graph

57 Commits

Author SHA1 Message Date
Damien Crier
03e2a8f6d5 fix tests 2022-12-02 15:52:37 +01:00
Damien Crier
8f9450c6a1 [MIG] account_move_base_import: Migration to 13.0 2022-12-02 15:52:37 +01:00
Damien Crier
8b9256054a [IMP] account_move_base_import: black, isort, prettier 2022-12-02 15:52:37 +01:00
OCA Transbot
b6902bbaad 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/
2022-12-02 15:52:37 +01:00
OCA-git-bot
5ef55c4388 account_move_base_import 12.0.2.0.0 2022-12-02 15:52:37 +01:00
oca-travis
28671bf8e5 [UPD] Update account_move_base_import.pot 2022-12-02 15:52:37 +01:00
Tonow-c2c
dcb4b793fd Pass Black on the files + pylint
Move test data to tests/data
2022-12-02 15:52:37 +01:00
Tonow-c2c
c19b4449ba Remove undefined fields balance_cash credit_cash debit_cash 2022-12-02 15:52:37 +01:00
Tonow-c2c
576b779b21 [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
2022-12-02 15:52:37 +01:00
Bole
c15d79beaf 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/
2022-12-02 15:52:37 +01:00
OCA Transbot
36f6bd5ca2 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/
2022-12-02 15:52:37 +01:00
oca-travis
d400db954c [UPD] Update account_move_base_import.pot 2022-12-02 15:52:37 +01:00
oca-travis
13ca24dbf6 [UPD] Update account_move_base_import.pot 2022-12-02 15:52:37 +01:00
oca-travis
6e0a2b2f7d [UPD] Update account_move_base_import.pot 2022-12-02 15:52:37 +01:00
OCA-git-bot
230e5533ca [ADD] icon.png 2022-12-02 15:52:37 +01:00
OCA-git-bot
9b189e2858 [UPD] README.rst 2022-12-02 15:52:37 +01:00
Akim Juillerat
920778efd8 [MIG] account_move_base_import: Migration to 12.0 2022-12-02 15:52:37 +01:00
Holger Brunn
60a430da03 [IMP] account_move_base_import: don't break without xlrd, add it to dependencies 2022-12-02 15:52:37 +01:00
Akim Juillerat
68a91a1d71 [MIG] account_move_base_import: Migration to 11.0 2022-12-02 15:52:37 +01:00
OCA Transbot
1e59a3bd51 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/
2022-12-02 15:52:37 +01:00
oca-travis
90bbd71ffb [UPD] Update account_move_base_import.pot 2022-12-02 15:52:37 +01:00
OCA Transbot
5692d335a8 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2022-12-02 15:52:37 +01:00
oca-travis
738b265cab [UPD] Update account_move_base_import.pot 2022-12-02 15:52:37 +01:00
Stéphane Bidoul (ACSONE)
1fa2a45286 remove obsolete .pot files [ci skip] 2022-12-02 15:52:37 +01:00
OCA Transbot
5cb5a550bc OCA Transbot updated translations from Transifex 2022-12-02 15:52:37 +01:00
Stéphane Bidoul (ACSONE)
1e8746648f [FIX] remove en.po that was erroneously created by transbot 2022-12-02 15:52:37 +01:00
OCA Transbot
c1400a1445 OCA Transbot updated translations from Transifex 2022-12-02 15:52:37 +01:00
Alexandre Fayolle
c6b8b19b5d [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.
2022-12-02 15:52:37 +01:00
OCA-git-bot
f8381d2d74 [ADD] icon.png 2022-12-02 15:52:37 +01:00
Sébastien BEAU
53bf3a6aad [IMP] assert that move is balanced, recompute amount total, and set reconciled to false to avoid having a null value instead 2022-12-02 15:52:37 +01:00
Sébastien BEAU
e9ab3a794d [FIX] add all missing field, as orm is bypassed for perf reason, we need to fill all computed and related field 2022-12-02 15:52:37 +01:00
Sébastien BEAU
9b68f5b27c [FIX] add missing date field, it's a related field and should be added automatically with the same value of the move date 2022-12-02 15:52:37 +01:00
Sébastien BEAU
11b61160b1 [IMP] add filter for filtering the uncompleted move line that should be completed manually 2022-12-02 15:52:37 +01:00
Denis Leemann
82804587cd update test call 2022-12-02 15:52:37 +01:00
Denis Leemann
aaae05a120 update tests 2022-12-02 15:52:37 +01:00
Alexis de Lattre
aa7c4d2f82 Remove print 2022-12-02 15:52:37 +01:00
Alexis de Lattre
98442a9f60 convert_to_column() seems to be the replacement of _symbol_set() in v10 2022-12-02 15:52:37 +01:00
Alexis de Lattre
3a6b303b6a Start work to port account_move_base_import and base_transaction_id to v10 2022-12-02 15:52:37 +01:00
Matthieu Dietrich
f0f051c1dc Force import partner on account.move (#157)
Force import partner on account.move
2022-12-02 15:52:37 +01:00
Pedro M. Baeza
2601f0f69e [MIG] Rename manifest files 2022-12-02 15:52:37 +01:00
Pedro M. Baeza
54f7b4dc9e [MIG] Make modules uninstallable 2022-12-02 15:52:37 +01:00
Matthieu Dietrich
8d7f7e4e23 Correct error messages 2022-12-02 15:52:37 +01:00
Florian da Costa
e1ec3fb119 invalidate cache after move sql insert 2022-12-02 15:52:37 +01:00
Matthieu Dietrich
0c027292d0 Correct sign for debit amount 2022-12-02 15:52:37 +01:00
Florian da Costa
ec51035cef Add option on journal to create one or two counterparts automatically 2022-12-02 15:52:37 +01:00
Florian da Costa
d26e204f4f Handle multi move in parser 2022-12-02 15:52:37 +01:00
Matthieu Dietrich
59438af11b Add amount_residual for reconciliation later on 2022-12-02 15:52:37 +01:00
Matthieu Dietrich
8385f85672 Only set account_id if not set by parser 2022-12-02 15:52:37 +01:00
Matthieu Dietrich
22d99ca1e6 Rename many2many table 2022-12-02 15:52:37 +01:00
Matthieu Dietrich
d91c387203 Rename menu + add roadmap in readme 2022-12-02 15:52:37 +01:00