Commit Graph

6 Commits (8b20dfaf618b51be532dc779642b0e70768d254b)

Author SHA1 Message Date
Akim Juillerat d0c70ff134 [MIG] account_move_base_import: Migration to 12.0 2019-08-13 14:24:28 +02:00
Holger Brunn 88bff7c92f [IMP] account_move_base_import: don't break without xlrd, add it to dependencies 2019-08-13 14:24:15 +02:00
Akim Juillerat 21a444141b [MIG] account_move_base_import: Migration to 11.0 2019-08-13 14:24:15 +02:00
Alexandre Fayolle 4253b451a5 [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.
2019-08-13 14:24:15 +02:00
Alexis de Lattre 7d2bf95747 Start work to port account_move_base_import and base_transaction_id to v10 2019-08-13 14:24:15 +02:00
Pedro M. Baeza a1148e4760 [MIG] Rename manifest files 2019-08-13 14:24:15 +02:00