Merge PR #420 into 14.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2022-07-12 14:22:54 +00:00

View File

@@ -1603,7 +1603,10 @@ odoo.define("account.ReconciliationModel", function (require) {
); );
if (matching && matching.length == 2) { if (matching && matching.length == 2) {
matching = matching[1].replace( matching = matching[1].replace(
new RegExp("\\D" + reconcileModel.decimal_separator, "g"), new RegExp(
"[^-d" + reconcileModel.decimal_separator + "]",
"g"
),
"" ""
); );
matching = matching.replace( matching = matching.replace(