From ac1e8f12fdd8b74e91a71c850b1b8a552bd54def Mon Sep 17 00:00:00 2001 From: Romain Derie Date: Fri, 14 Feb 2020 16:49:59 +0000 Subject: [PATCH] [FIX] web_editor, website: handle date edition in all lang and format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before d00c0e317, `Datetime` fields would be editable in frontend but would have unexpected results, especially in non-English languages, for when the english lang format had been changed. It would also crash when saving non-English strings, such as `Lundi`. For more details, see https://github.com/odoo/odoo/pull/44484#issuecomment-586850490 Since d00c0e317, only date displayed in lang format would be editable, which case is Event page in Odoo 12.0. Everywhere else, the format is changed for a nicer layout, either with `widget=XXX` or `t-options=YYY`, such as: `