libracore / erpnextswiss

ERPNext application for Switzerland-specific use cases
GNU Affero General Public License v3.0
75 stars 63 forks source link

Problem with number format while importing bank data. #84

Closed 0x7466 closed 3 years ago

0x7466 commented 4 years ago

Expected behvauour

I'm trying to import data using the BankImport feature.

Actual behaviour

However, I get the following error:

Could not parse amount with value 1.495,18 check thousand and decimal separator. Error: could not convert string to float: '1.495,18

I think this has to do with the number format. Although I set the number format in the ERPNext settings correctly, it doesn't use it here. Maybe there should be an option for the number format in the BankImport Template?

Observed in (version)

latest

Steps to reproduce

Try to import a template with a number like 1.234,56 using the importer.

Thanks for such an awesome piece of software!

lasalesi commented 3 years ago

Hi @tobiasfeistmantl ,

thanks for reporting this. Which import template are you using? The integrated test procedures are set for 1'234.56 numbers (CH format). The custom format should allow to set other formats...

lasalesi commented 3 years ago

Closing this for no activity...