mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
When decimal separator is a dot, it has a special meaning in the regex (any character) that cause problem For instance in 123.40 the regex will match .4 and remove it. And then the proposal will be base on the number 120 instead of 123.40 The other problem with the actual regex is that minus sign get removed In the fix, we start by replacing the decimal_separator by a dot (before it was done after the cleaning) and the clean with a character class that is clearly specified (dot, minus, numbers) Bug was already present in odoo13 EE and CE