-
- Downloads
[FIX] survey: display right date format in datepicker
Issue
- Install 'Survey' app
- Enable "es_VE" language and activate on main website
- Create a survey:
- Add a question of type 'Date' then save
- Click on "TEST" button
- Start survey and add a date with the datepicker
- Submit survey
Error message / traceback.
Cause
The date format is wrong because since locale params
only after page survey widget is loaded.
Solution
Use 'session.load_translations()' to load translation.
opw-2452237
closes odoo/odoo#69507
Signed-off-by:
Anh Thao PHAM <kitan191@users.noreply.github.com>
Please register or sign in to comment