Float widget: commas increase the amount
Bug #934196 reported by
Guewen Baconnier @ Camptocamp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP R&D Web Team |
Bug Description
Hello,
This one is easy to reproduce :
- Go to runbot
- Create a new invoice
- Open an invoice line
- In the quantity field, type "1,0" with a comma instead of a dot (should be "1.0")
- In the price field, type "45,0" instead of "45.0"
- Save your line
Check the amounts, you will get 10.0 and 450.0 instead of 1.0 and 45.0
Happy release time ;-)
Guewen
To post a comment you must log in.
In the default (US) configuration, the comma is taken as a separator of the integer part, it is thus removed before parsing. You can also configure your language to use "," as the decimal separator (that's the default for e.g. the french language).
Not sure we're going to change anything there (or how), but putting this as a wishlist for now.