Commit Graph

9 Commits

Author SHA1 Message Date
Florian da Costa
c1c08605d8 [IMP] account_move_base_import: black, isort, prettier 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-git-bot
c3a4062899 account_move_base_import 12.0.2.0.0 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
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
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
Pedro M. Baeza
2b3cd6bbbb [MIG] Rename manifest files 2021-08-13 11:24:46 +02:00