You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File import with semicolon as field seperator leads to an error message
Module
datev_import_csv_dtvf
Describe the bug
Import of a file with filed separator "," works.
With separator ";" i get an error.
To Reproduce
Take the example file "datev_export.csv" and download it.
Install a german localisation with l10n_de_skr03 module installed.
Put the value "248675,12" in the line 93 of the example file included in the module.
define at least one analytic account with areference "4811".
Save it with field separator ";"
Go to Accounting > Imort DATEV Format .csv
Upload the file
Select the journal Miscelleanous
Force the date: 31.12.2022
Put a reference "test"
Click on "Run import"
Expected behavior
Import should finish and open the account move
The error message is:
File "/opt/odoo/build/odoo/odoo/api.py", line 448, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo/build/addons/datev_import_csv_dtvf/wizard/import_move.py", line 55, in run_import
pivot = self.genericcsv2pivot(fileobj)
File "/opt/odoo/build/addons/datev_import_csv_dtvf/wizard/import_move.py", line 176, in genericcsv2pivot
date_str = l["date"][0:2] + "/" + l["date"][-2:] + "/" + year_str
TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered:
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
File import with semicolon as field seperator leads to an error message
Module
datev_import_csv_dtvf
Describe the bug
Import of a file with filed separator "," works.
With separator ";" i get an error.
To Reproduce
Take the example file "datev_export.csv" and download it.
Install a german localisation with l10n_de_skr03 module installed.
Put the value "248675,12" in the line 93 of the example file included in the module.
define at least one analytic account with areference "4811".
Save it with field separator ";"
Go to Accounting > Imort DATEV Format .csv
Upload the file
Select the journal Miscelleanous
Force the date: 31.12.2022
Put a reference "test"
Click on "Run import"
Expected behavior
Import should finish and open the account move
The error message is:
File "/opt/odoo/build/odoo/odoo/api.py", line 448, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo/build/addons/datev_import_csv_dtvf/wizard/import_move.py", line 55, in run_import
pivot = self.genericcsv2pivot(fileobj)
File "/opt/odoo/build/addons/datev_import_csv_dtvf/wizard/import_move.py", line 176, in genericcsv2pivot
date_str = l["date"][0:2] + "/" + l["date"][-2:] + "/" + year_str
TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered: