In some cases such as in credit card statements the amounts are expressed in the inverse sign.
By setting this flag during the upload the amounts will be inverted in sign.
[IMP] add csv meta data management
[FIX] exclude footer meta data
[IMP] import separated credit/debit column file
[FIX] make comptatible with new version of multi_step_wizard module & add migration file
[FIX] all not provided value are handled in_parse_decimal method
[REF] Remove unnecessary \n
Renamed to account_statement_import_sheet_file
Co-authored-by: zaoral
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.
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.