Commit Graph

10 Commits

Author SHA1 Message Date
Katherine Zaoral
712301a964 [ADD] account_statement_import_txt_xlsx: show mapping error
If there is a problem parsing the file we are not showing the error
to the user, instead a generic message telling something is wrong
with the type of file is shown, and we only showing the error if
we are running unit tests.

In this case we think is good to show the error to the user, this
way they can check what is wrong and fix it in the sheet mapping.

* We are only showing the title of the error as a HINT, we think that is
  a good start to undestand what needs to change in the sheet mapping.
* The complete traceback error is shown in the log if we needed for more
  detail review from the technical teams.
2023-04-13 16:01:23 -03:00
Pedro M. Baeza
bcfb30b1a9 [FIX] account_statement_import_txt_xlsx: Don't try to parse if no mapping 2023-02-25 12:13:39 +01:00
Jordi Ballester Alomar
dbe5c35ed8 [IMP] account_statement_import_txt_xlsx: Calculate final balance if not provided in the import file 2023-02-23 12:20:42 +01:00
Jordi Ballester Alomar
ceee58af90 [IMP] account_statement_import_txt_xlsx: add tests 2023-02-23 12:20:42 +01:00
Jordi Ballester Alomar
536f13908d [IMP] account_statement_import_txt_xlsx: Allow mapping with reference to column numbers, and concatenation
A new field 'File does not contain header line' is added in the Statement Sheet Mappings. If you set to True,
then you can map the columns by indicating in each field of the 'Columns' section the column number in the file.

We also allow to concatenate multiple columns in the file to a single column to a single field of the statement line.
You have to indicate the names of the columns separated by comma.
2023-02-23 12:08:29 +01:00
Henrik Norlin
d6a9c0b7b2 [IMP] account_statement_import_txt_xlsx: amount_debit_column, amount_credit_column 2023-02-23 11:58:50 +01:00
Henrik Norlin
cdb5dcfb7a [IMP] account_statement_import_txt_xlsx: wizard: 2 amount columns, for IN and OUT
[IMP] account_statement_import_txt_xlsx: wizard: amount2_reverse boolean field, with tests
2023-02-23 11:47:36 +01:00
NuriaMForgeFlow
60b4066b8a [FIX] account_bank_statement_import_txt_xlsx: import sheet notes 2023-02-23 11:47:27 +01:00
nicolas
3e9fc9cc12 [MIG] account_statement_import_txt_xlsx: Migration to 15.0 2022-11-11 14:42:11 -03:00
Sergio Zanchetta
5b8b42669c [MIG] account_bank_statement_import_txt_xlsx: Migration to 14.0
[FIX] Mostly currency-related fixes

[IMP] sample_statement_en test: add dates on description

Co-authored-by: Marco Colombo <marco.colombo@gmail.com>
2022-10-05 11:01:53 -03:00