odoo/odoo#190482

Created by fw-bot
Merged at 1e7d7b83814c17933e15eaed75e0ba7233491247

Statuses:

label
odoo-dev:17.0-16.0-opw-4284370-numpad_decimal_vat_edit-yosa-YDLE-fw
head
0d2216afbe7c3eb1fae8edb192257fe2d68571b6
merged
1 year ago by Bugfix, Yolann Sabaux (yosa)
odoo/odoo
16.0 #189582
17.0 #190482
saas-17.2 #190730
saas-17.4 #190741
18.0 #190751
saas-18.2
saas-18.3
saas-18.4
19.0
master #190759

[FW][FIX] account: allow decimal hook in vat amount edition

Steps to reproduce:
- define your language as French/BE
- create a bill (facture fournisseur)
- edit the vat with '20.13' using the numpad decimal key

Issue:
the amount is '2013.00'

Cause:
numpad decimal in belgian layout is a comma , which in this is interpreted as a thousands separator.

Solution:
Use the useNumpadDecimal hook

opw-4284370

Forward-Port-Of: #189582