diff options
| author | Julien Castiaux <juc@odoo.com> | 2019-07-08 15:53:58 +0000 |
|---|---|---|
| committer | Julien Castiaux <juc@odoo.com> | 2019-07-09 13:44:41 +0000 |
| commit | 5038f777a0c93709f60de90c8d8cce2733b97bef (patch) | |
| tree | fc582a76edfb1cb52c4f67264476f4b91abe52f7 /addons/mail/static/src/js/models/threads/document_thread.js | |
| parent | 8c5c4037d27fe94b7f5aa3f2a59e7a6d827eeebf (diff) | |
[FIX] web: prevent db_manager modal close on empty pwd
Go to the database manager, configure a password either via the
interface either via the `admin_passwd` `.odoorc` config file. Click on
the backup menu, let the `password` field empty and submit the form. The
modal is closed without any warning and no query is sent.
The problem is that even if the field is marked as `required`, there is
a event listener that catch the `onsubmit` event and close the modal
even if it is not valid.
opw-2031461
closes odoo/odoo#34669
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
