Files
odoo_source/addons/website/static/lib/multirange
Aleksandar Gajic c198fb8c24 [FW][FIX] website: make multirange widget works with sr@latin lang code
The range widget doesn't work with Serbian language, because language
locale subtag contains `@`.

Steps to reproduce:
1. Activate Serbian Latin language (sr@latin) on your website
2. Go to /shop
3. Switch to Serbian lang

The price ranger slider (which can be disabled) will throw this TB:
"RangeError: Incorrect locale information provided".

The fix is to do as other places in the code: replace this specific
lang code with the expected one.
Ideally, a util method should be used at all those places.

closes odoo/odoo#148593

Forward-port-of: odoo/odoo#148279
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2024-01-10 07:27:08 +00:00
..
…