-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Please verify that this feature request has NOT been suggested before.
- I checked and didn't find a similar feature request
Problem statement
Currently the data importer expects price information to be a valid float value. When using the importer to upload data for a purchase order this easily fails, as vendors format their data differently.
The concrete example I ran into is a shop, which adds the currency to the price, i.e. the entries are 1.23 €. Additionally there is the extra annoyance of the German tendency to use , for separation, so we also have a mixture of 1.23 and 1,23 (plus 1,23 €).
Suggested solution
As the importer knows based on the column, that the data should contain prices, it should drop any added currency symbols on front or back (any non-numbers).
Ideally it would also detect "german" notation (maybe others use it as well), and translate it to proper floats before parsing.
Describe alternatives you've considered
None
Examples of other systems
No response
Do you want to develop this?
- I want to develop this. (I need some pointers where to start. I know a lot of Python, but barely any TypeScript and don't know there such parsing should be located)