diff options
| author | Julien Castiaux <juc@odoo.com> | 2019-07-11 12:05:54 +0000 |
|---|---|---|
| committer | Julien Castiaux <juc@odoo.com> | 2019-07-11 12:05:54 +0000 |
| commit | b2b639b693dd7215e3ee501ac89c35f3a6b88bb5 (patch) | |
| tree | 533e3ad1a9866a7d869fce4ad70874fb944e36cf /addons/mail/static/src/js/models/threads/document_thread.js | |
| parent | 8bab33c9482b458e015f9a68682327097a91edab (diff) | |
[FIX] website_crm_partner_assign: use html5 input date over text
Create a lead, assign it to a partner who has portal access. Go to that
opportunity on the portal, edit any date to set 3-digit year (0-999) and
submit the form. Go to the opportunity using the web app, traceback.
Dates are only supported starting to 1900 thus many parsing function
assume the year to be a 4-digits year. The html form has been changed to
use an input type date with a minimum value instead of a plain text
input. This ensure a better support by browser (they use their built-in
calendar) and allow basic html5 form validation.
opw-2033276
closes odoo/odoo#34796
Signed-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/js/models/threads/document_thread.js')
0 files changed, 0 insertions, 0 deletions
