odoo/odoo#97788

Created by Bugfix, Hubert Van De Walle
Merged at 9d518f847d2204fc5159a92bc4e4de655acf88fa

Statuses:

label
odoo-dev:13.0-opw-2937403-follow-up-huvw
head
cb7f55829cbb8f57b0501421c111b17951dc6e53
merged
3 years ago by JavaScript, Jorge Pinna Puissant (jpp)
odoo/odoo
13.0 #97788
14.0 #97806
15.0 #97819
saas-15.2 #97833
saas-15.3 #97844
saas-15.4 #97854
16.0
17.0
18.0
saas-18.1
saas-18.2
saas-18.3
saas-18.4
master #97861

[FIX] web: parseMonetary with NBSP as a thousands separator and no currency

Steps to reproduce:

  • Switch language to french
  • Refresh the page
  • Create a new payment
  • Select a partner
  • Enter an amount of 100000,00
  • Save the record
    → The following field is incorrect: amount

Cause of the issue:

parseMonetary wrongly assumed that a currency was always passed in
the parameters

opw-2937403