summaryrefslogtreecommitdiff
path: root/addons/mail/models/mail_shortcode.py
diff options
context:
space:
mode:
authorNasreddin (bon) <bon@odoo.com>2021-04-19 20:06:42 +0000
committerNasreddin Boulif (bon) <bon@odoo.com>2021-05-11 23:21:51 +0000
commitf3c5dd794e4de71187fd7532c39595b2297eb93d (patch)
tree4682473e7876147b961ce69907176be3515a1cfa /addons/mail/models/mail_shortcode.py
parent9f6b5b889b9402a391a1215c44ce2c5501e1b5de (diff)
[FIX] survey: display right date format in datepicker
Issue - Install 'Survey' & 'website' module - Enable "es_VE" language and activate on main website - Go to Website Homepage - Switch to "Spanish (VE)" language (footer) - Go to "Survey" module - 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 : 'This is not a date' Cause When submit survey, not using the database date format. Solution When validating form (on submit), check if date is formated with database format and (not the moment locale since user can alter date and datetime format). opw-2452237 closes odoo/odoo#70273 X-original-commit: ddfcecc6c3d013532d06409633a37e653cc05e0f Signed-off-by: Anh Thao PHAM <kitan191@users.noreply.github.com>
Diffstat (limited to 'addons/mail/models/mail_shortcode.py')
0 files changed, 0 insertions, 0 deletions