Float bug in locale with comma and editable tree view
How to reproduce:
Use a locale with comma decimal separator (for example spanish or catalan).
Use a module with a float in an editable tree view (for exemple stock.inventory)
Edit a line, if you put a number with comma, the client limit the number of decimals (for example, 2,34 with 2 decimal limit)
But if you write it with point, you can pass the client validation, and write for example 2.342 .
When you hit enter, the client shows the number rounded, but internally have the extra decimal.
When you try to save the record, Tryton throw a UserError: digits_validation_record