Nasreddin (bon)
f427a38c4e
[FIX] web: Handle time select in modal with firefox
...
Issue
- Install sale_renting
- Create a rental order
- Add a "rental" product
- In Modal, change start or end time
In Firefox, user not allowed to change the time;
time select not reacting well.
Cause
The issue seems to be that in bootstrap when
we click outside a modal, we focus on the modal:
https://github.com/odoo/odoo/blob/27f67bfcb903/addons/web/static/lib/bootstrap/js/modal.js#L332-L337
and the FieldDateRange widget contains a <select/> tag
and is added outside of the modal, so when we click
on the select, bootstrap will focus on the modal which
in firefox seems to lose the focus on the <select/>
which get closed.
Solution
not propagating focusin event when the select of the
daterange widget is focused => in my opinion this is
the less risky solution, this could be done with a
code such as (in the FieldDateRange._renderEdit method):
opw-2240220
closes odoo/odoo#50906
X-original-commit: 5a1e9e32061996ca1770c9ae9b5a7e7f53c5048f
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com >
2020-05-08 10:52:12 +00:00
..
2020-05-07 11:23:51 +00:00
2020-04-28 13:16:29 +00:00
2020-04-30 11:29:38 +00:00
2020-01-16 15:51:15 +00:00
2020-04-23 07:13:48 +00:00
2020-02-19 09:09:20 +00:00
2020-04-10 09:47:24 +00:00
2019-12-16 12:49:55 +00:00
2020-04-10 09:47:24 +00:00
2020-04-10 09:47:24 +00:00
2020-03-30 13:42:04 +00:00
2020-03-02 06:26:02 +00:00
2020-03-26 13:22:58 +00:00
2019-12-16 12:49:55 +00:00
2020-03-05 14:03:45 +00:00
2020-04-24 11:32:59 +00:00
2020-04-23 07:13:48 +00:00
2020-03-05 14:03:45 +00:00
2020-03-05 14:03:45 +00:00
2020-04-27 12:00:45 +02:00
2020-04-23 07:13:48 +00:00
2020-03-05 14:03:45 +00:00
2020-02-13 11:45:39 +00:00
2020-04-23 07:13:48 +00:00
2020-03-05 14:03:45 +00:00
2020-04-23 07:13:48 +00:00
2020-04-07 14:40:53 +00:00
2020-05-04 14:31:11 +00:00
2020-03-05 14:03:45 +00:00
2020-05-06 12:54:39 +00:00
2020-04-23 07:13:48 +00:00
2020-04-30 07:20:07 +00:00
2020-04-17 16:24:38 +00:00
2020-04-09 17:03:09 +00:00
2020-04-20 10:14:24 +00:00
2020-04-09 10:56:37 +02:00
2020-04-23 07:13:48 +00:00
2020-05-05 10:05:12 +00:00
2020-05-04 14:31:11 +00:00
2020-04-23 07:13:48 +00:00
2020-04-27 09:50:17 +00:00
2020-03-23 11:42:12 +00:00
2020-03-20 16:21:25 +01:00
2020-04-23 07:13:48 +00:00
2020-05-06 12:54:39 +00:00
2020-05-05 10:05:12 +00:00
2020-04-23 07:13:48 +00:00
2020-03-30 13:42:04 +00:00
2020-04-17 13:56:08 +00:00
2020-04-23 07:13:48 +00:00
2019-12-16 12:49:55 +00:00
2020-04-23 07:13:48 +00:00
2020-04-15 13:35:16 +00:00
2020-04-09 10:59:34 +02:00
2020-04-20 10:12:33 +00:00
2020-04-07 14:40:53 +00:00
2020-03-13 14:08:33 +00:00
2020-05-06 06:24:51 +00:00
2020-05-05 18:25:08 +00:00
2020-04-23 07:13:48 +00:00
2020-05-07 15:55:33 +00:00
2020-04-20 10:32:45 +00:00
2020-05-05 10:05:12 +00:00
2020-03-20 16:21:25 +01:00
2020-05-05 10:05:12 +00:00
2020-04-28 13:16:29 +00:00
2020-04-23 07:13:48 +00:00
2020-02-19 09:02:56 +00:00
2020-05-05 10:05:12 +00:00
2020-03-24 09:26:24 +00:00
2020-04-07 09:25:08 +00:00
2020-01-08 13:26:03 +00:00
2020-01-08 13:26:03 +00:00
2020-05-06 12:31:07 +00:00
2020-01-28 10:28:33 +00:00
2020-04-20 10:32:45 +00:00
2020-04-24 14:30:17 +00:00
2020-05-07 10:50:09 +00:00
2020-04-01 12:45:40 +00:00
2020-03-25 12:15:07 +00:00
2020-03-05 14:03:45 +00:00
2020-04-23 07:13:48 +00:00
2020-05-06 08:34:59 +00:00
2020-03-30 13:42:04 +00:00
2020-04-09 14:59:54 +00:00
2020-03-31 16:41:23 +00:00
2020-04-01 20:56:15 +00:00
2020-03-05 14:03:45 +00:00
2020-04-06 10:49:28 +00:00
2020-04-10 09:47:24 +00:00
2020-04-10 09:47:24 +00:00
2020-03-30 13:42:04 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-05-07 08:18:35 +00:00
2020-04-17 13:56:08 +00:00
2020-04-01 14:23:20 +00:00
2020-03-05 14:03:45 +00:00
2020-03-31 16:41:23 +00:00
2020-03-05 14:03:45 +00:00
2020-03-31 16:41:23 +00:00
2020-03-19 16:44:26 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-05-05 12:40:10 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-24 06:59:35 +00:00
2020-05-05 10:35:05 +00:00
2020-04-30 13:59:44 +00:00
2020-04-24 12:41:46 +00:00
2020-04-28 13:07:20 +00:00
2020-04-10 09:47:24 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-04-16 13:40:41 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-04-30 07:20:07 +00:00
2020-03-05 14:03:45 +00:00
2020-04-30 07:20:06 +00:00
2020-04-30 07:20:06 +00:00
2020-03-31 16:41:23 +00:00
2020-04-22 11:12:00 +00:00
2020-03-31 16:41:23 +00:00
2020-04-29 10:31:07 +00:00
2020-04-01 20:55:55 +00:00
2020-03-31 16:41:23 +00:00
2020-04-10 09:47:24 +00:00
2020-03-05 14:03:45 +00:00
2020-03-31 16:41:23 +00:00
2020-03-24 13:36:15 +00:00
2020-03-31 16:41:23 +00:00
2020-04-30 09:07:10 +00:00
2020-04-16 13:09:42 +00:00
2020-04-06 10:49:28 +00:00
2020-03-05 14:03:45 +00:00
2020-04-10 09:47:24 +00:00
2020-03-31 16:41:23 +00:00
2020-03-24 11:39:39 +00:00
2020-03-31 16:41:23 +00:00
2020-04-16 13:40:41 +00:00
2020-03-31 16:41:23 +00:00
2020-03-24 06:59:35 +00:00
2020-03-31 16:41:23 +00:00
2020-04-07 14:11:02 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-05 14:03:45 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-04-14 13:16:51 +00:00
2020-03-31 16:41:23 +00:00
2020-05-05 10:05:12 +00:00
2020-05-07 12:42:05 +00:00
2020-05-07 09:33:52 +00:00
2020-04-10 11:15:19 +00:00
2020-04-10 11:15:19 +00:00
2020-04-28 13:16:29 +00:00
2020-05-06 09:17:56 +00:00
2020-02-13 11:45:39 +00:00
2020-02-13 11:45:39 +00:00
2020-02-04 14:48:31 +00:00
2020-03-31 06:31:08 +00:00
2020-02-19 09:09:20 +00:00
2020-02-13 11:45:39 +00:00
2020-04-27 15:58:10 +00:00
2020-04-10 09:47:24 +00:00
2020-05-06 11:14:35 +00:00
2020-02-13 11:45:39 +00:00
2020-04-23 07:13:48 +00:00
2019-12-16 12:49:55 +00:00
2020-04-23 07:13:48 +00:00
2020-03-05 14:03:45 +00:00
2020-04-30 12:33:42 +02:00
2020-03-05 14:03:45 +00:00
2020-04-22 11:31:20 +00:00
2020-04-07 14:40:53 +00:00
2020-04-23 07:13:48 +00:00
2020-04-15 07:37:43 +00:00
2020-05-05 09:55:15 +00:00
2020-04-02 21:47:21 +00:00
2020-03-30 13:42:04 +00:00
2020-04-22 16:54:27 +00:00
2020-04-02 21:47:21 +00:00
2020-04-22 16:54:27 +00:00
2020-04-02 21:47:21 +00:00
2020-03-30 13:42:04 +00:00
2020-04-02 21:47:21 +00:00
2020-04-14 10:06:21 +00:00
2020-05-04 09:12:37 +00:00
2020-03-30 13:42:04 +00:00
2020-04-02 21:47:21 +00:00
2020-04-23 07:13:48 +00:00
2020-04-27 10:49:05 +00:00
2020-04-16 06:21:51 +00:00
2020-04-23 07:13:48 +00:00
2020-03-05 14:03:45 +00:00
2020-03-05 14:03:45 +00:00
2020-05-08 09:31:12 +00:00
2020-03-05 14:03:45 +00:00
2020-03-05 14:03:45 +00:00
2020-02-24 15:22:40 +00:00
2020-03-30 13:42:04 +00:00
2020-03-05 14:03:45 +00:00
2020-04-06 12:08:35 +00:00
2020-04-09 11:23:49 +00:00
2020-03-23 09:29:52 +00:00
2020-03-05 14:03:45 +00:00
2020-05-05 15:10:03 +00:00
2020-03-25 15:01:22 +00:00
2020-03-17 12:40:26 +00:00
2020-04-09 16:06:24 +00:00
2020-02-13 11:45:39 +00:00
2020-05-08 08:12:51 +00:00
2020-01-31 15:35:54 +00:00
2020-05-05 10:05:12 +00:00
2020-03-05 14:03:45 +00:00
2020-04-21 08:19:20 +00:00
2020-04-28 13:16:29 +00:00
2020-03-11 16:54:05 +00:00
2020-04-30 12:33:32 +00:00
2020-04-23 07:13:48 +00:00
2020-04-23 07:13:48 +00:00
2020-05-07 08:22:22 +00:00
2020-05-07 13:23:07 +00:00
2020-05-05 16:14:07 +00:00
2020-03-30 13:42:04 +00:00
2020-04-23 07:13:48 +00:00
2020-04-23 07:13:48 +00:00
2020-04-23 07:13:48 +00:00
2020-02-13 11:45:39 +00:00
2020-03-26 13:00:26 +00:00
2020-05-05 16:17:41 +00:00
2020-04-07 14:40:53 +00:00
2020-04-23 07:13:48 +00:00
2020-04-30 12:33:32 +00:00
2020-01-28 14:51:36 +00:00
2020-04-23 07:13:48 +00:00
2020-05-06 10:36:57 +00:00
2020-03-05 14:03:45 +00:00
2020-05-04 14:20:46 +00:00
2020-02-21 10:40:34 +00:00
2020-04-30 08:29:57 +00:00
2020-04-30 14:47:49 +00:00
2020-04-30 12:33:42 +02:00
2020-04-16 09:36:04 +00:00
2019-12-16 12:49:55 +00:00
2020-05-06 11:17:04 +00:00
2020-04-30 08:37:42 +00:00
2020-03-18 11:53:56 +00:00
2020-04-23 07:13:48 +00:00
2020-05-05 10:05:12 +00:00
2020-05-06 14:04:37 +00:00
2020-05-06 13:01:08 +00:00
2020-02-08 18:55:15 +00:00
2020-05-05 09:17:15 +00:00
2020-04-30 14:47:49 +00:00
2020-04-24 15:35:43 +00:00
2020-03-05 14:03:45 +00:00
2020-04-22 07:45:53 +00:00
2020-03-05 14:03:45 +00:00
2020-04-01 13:07:50 +00:00
2020-03-31 18:16:07 +00:00
2020-03-06 09:20:01 +00:00
2020-04-29 13:29:31 +00:00
2020-03-05 14:03:45 +00:00
2020-04-23 07:13:48 +00:00
2020-04-30 09:07:28 +00:00
2020-05-08 10:52:12 +00:00
2020-05-07 16:15:07 +00:00
2020-04-07 14:40:53 +00:00
2020-05-08 07:56:09 +00:00
2020-04-23 07:13:48 +00:00
2020-05-06 13:49:49 +00:00
2020-05-05 13:39:58 +00:00
2020-04-27 16:36:31 +00:00
2020-02-13 11:45:39 +00:00
2020-05-05 15:35:05 +00:00
2020-02-13 15:29:40 +00:00
2020-05-01 07:59:07 +00:00
2020-05-01 07:59:07 +00:00
2020-04-23 07:13:48 +00:00
2020-04-23 07:13:48 +00:00
2020-04-23 07:13:48 +00:00
2020-04-27 16:36:31 +00:00
2020-02-13 11:45:39 +00:00
2020-05-01 07:59:07 +00:00
2020-04-22 14:55:12 +00:00
2020-05-01 07:59:07 +00:00
2020-05-05 10:05:12 +00:00
2020-05-06 08:34:59 +00:00
2020-02-27 16:54:25 +00:00
2020-05-01 07:59:07 +00:00
2020-04-27 16:36:31 +00:00
2020-05-01 07:59:07 +00:00
2020-04-02 11:44:08 +00:00
2019-12-10 10:00:18 +00:00
2020-04-16 10:26:32 +00:00
2020-05-05 18:47:13 +00:00
2020-03-09 16:31:02 +00:00
2020-02-14 12:45:57 +00:00
2020-04-24 15:11:10 +00:00
2020-02-13 11:45:39 +00:00
2019-12-16 12:49:55 +00:00
2020-03-09 11:53:29 +00:00
2020-04-23 07:13:48 +00:00
2020-04-30 08:25:52 +00:00
2020-03-31 18:16:08 +00:00
2020-05-07 09:03:24 +00:00
2020-04-23 07:13:48 +00:00
2020-04-16 10:26:32 +00:00
2020-04-23 07:13:48 +00:00
2020-01-24 13:02:02 +00:00