luvi
b31daf2f7b
[REF] web, *: improve view scale selector style and behavior
...
*: hr_holidays, hr_work_entry_contract
The commit introduces a new standard view component made to implement
in a consistant way the scale/select the appropriate period to display
in a view. This component is currently used by the Calendar view.
Tests have been added for this new component, as its behavior specs must
remain comprehensive. When there is no options or only one, the button is
removed from the view to keep space available, as its purpose is reduced.
This component gives the opportunity to keep the same style and behaviors
for views implementing it (eg: Calendar, Gantt) and should be used in
other views as well as soon as they are converted to Owl.
Other modules have been adapted to use the component name in xpath instead
of the span with the o_calendar_scale_buttons element. Tests have been
adapted as well.
A scss file has been modified to prevent the arrow to be misplaced on touch
devices due to a higher padding in the dropdown item element.
part of task #2867569
closes odoo/odoo#109090
Related: odoo/enterprise#35435
Signed-off-by: Bruno Boi (boi) <boi@odoo.com >
2023-01-11 14:30:46 +01:00
..
2023-01-10 18:54:55 +01:00
2022-12-04 23:41:52 +01:00
2022-12-14 22:03:52 +01:00
2023-01-04 10:34:31 +01:00
2023-01-05 16:51:56 +01:00
2022-12-13 11:47:49 +01:00
2022-11-23 21:56:09 +01:00
2023-01-09 12:22:46 +01:00
2022-12-26 11:39:44 +01:00
2022-12-19 11:33:47 +01:00
2022-12-02 14:40:25 +01:00
2022-12-16 13:48:28 +01:00
2023-01-03 13:16:02 +01:00
2023-01-03 13:16:02 +01:00
2022-11-24 19:25:14 +01:00
2022-11-25 10:52:12 +01:00
2022-12-16 16:17:41 +01:00
2022-12-23 12:10:55 +01:00
2023-01-09 20:08:48 +01:00
2022-11-21 21:18:53 +01:00
2022-12-20 10:23:54 +01:00
2022-12-26 11:39:44 +01:00
2022-12-02 14:40:25 +01:00
2022-11-29 13:20:31 +01:00
2022-12-28 11:42:53 +01:00
2023-01-10 16:51:03 +01:00
2022-11-24 13:29:05 +01:00
2023-01-09 10:11:24 +01:00
2022-11-30 15:06:30 +01:00
2022-12-16 18:39:56 +01:00
2023-01-09 16:39:15 +01:00
2022-11-29 13:20:31 +01:00
2023-01-11 09:38:49 +01:00
2022-12-02 14:40:25 +01:00
2023-01-05 15:36:53 +01:00
2023-01-02 12:56:21 +01:00
2022-12-14 22:03:58 +01:00
2023-01-11 09:38:45 +01:00
2023-01-05 15:37:04 +01:00
2022-12-05 10:07:39 +01:00
2022-12-16 16:17:41 +01:00
2022-12-15 14:43:49 +01:00
2022-12-15 12:37:09 +01:00
2023-01-11 12:16:05 +01:00
2022-12-15 12:36:56 +01:00
2023-01-05 15:37:04 +01:00
2023-01-10 18:54:58 +01:00
2022-12-12 18:16:17 +01:00
2022-12-06 10:52:26 +01:00
2023-01-11 14:30:46 +01:00
2022-12-19 13:38:09 +01:00
2023-01-04 17:50:45 +01:00
2023-01-06 13:30:59 +01:00
2023-01-05 15:37:04 +01:00
2022-12-16 16:17:41 +01:00
2022-12-09 10:44:59 +01:00
2022-12-09 10:45:02 +01:00
2022-12-09 10:45:02 +01:00
2022-12-09 10:45:02 +01:00
2023-01-10 18:54:40 +01:00
2022-11-30 20:03:11 +01:00
2023-01-05 15:37:04 +01:00
2023-01-11 14:30:46 +01:00
2022-12-22 10:39:28 +01:00
2023-01-03 13:16:02 +01:00
2022-12-27 11:17:41 +01:00
2023-01-02 19:38:44 +01:00
2022-12-02 14:40:25 +01:00
2022-12-14 14:19:58 +01:00
2023-01-05 15:36:53 +01:00
2022-12-15 13:40:43 +01:00
2023-01-02 20:39:53 +01:00
2022-12-15 15:45:21 +01:00
2023-01-09 16:39:07 +01:00
2022-12-16 16:17:41 +01:00
2022-12-09 11:48:42 +01:00
2022-12-09 11:48:42 +01:00
2023-01-10 09:12:44 +01:00
2023-01-10 11:23:28 +01:00
2023-01-06 14:31:49 +01:00
2023-01-10 14:40:55 +01:00
2022-12-14 11:41:52 +01:00
2023-01-05 15:36:56 +01:00
2023-01-05 15:36:56 +01:00
2023-01-05 11:35:46 +01:00
2022-12-16 16:17:41 +01:00
2022-12-08 11:29:24 +01:00
2023-01-03 13:16:05 +01:00
2022-12-19 11:33:47 +01:00
2022-11-29 13:20:31 +01:00
2022-12-30 14:14:04 +01:00
2022-12-09 13:03:38 +01:00
2022-12-02 14:40:25 +01:00
2022-12-06 20:06:53 +01:00
2023-01-05 16:52:18 +01:00
2023-01-09 14:24:26 +01:00
2023-01-05 14:32:48 +01:00
2023-01-10 15:43:16 +01:00
2022-11-29 13:20:31 +01:00
2022-12-16 16:17:41 +01:00
2022-12-16 16:17:41 +01:00
2023-01-09 15:28:44 +01:00
2023-01-09 15:28:44 +01:00
2022-12-07 12:53:55 +01:00
2023-01-09 12:22:49 +01:00
2023-01-02 13:55:53 +01:00
2023-01-10 10:16:54 +01:00
2022-12-14 11:41:52 +01:00
2023-01-02 09:53:57 +01:00
2023-01-02 09:53:57 +01:00
2023-01-02 09:53:57 +01:00
2023-01-02 09:53:57 +01:00
2023-01-06 05:48:11 +01:00
2022-12-19 10:30:57 +01:00
2022-12-19 10:30:57 +01:00
2022-12-19 10:30:57 +01:00
2022-12-19 13:38:03 +01:00
2023-01-09 14:24:36 +01:00
2023-01-05 09:30:04 +01:00
2022-11-23 16:14:45 +01:00
2022-12-19 11:33:47 +01:00
2022-12-16 16:17:41 +01:00
2022-12-27 16:50:02 +01:00
2022-12-13 13:51:29 +01:00
2022-12-09 19:45:52 +01:00
2023-01-05 15:37:18 +01:00
2022-11-29 13:20:31 +01:00
2022-12-05 14:04:02 +01:00
2022-12-13 13:51:21 +01:00
2022-12-07 18:29:39 +01:00
2022-12-16 12:45:40 +01:00
2023-01-09 12:23:02 +01:00
2022-12-07 12:53:55 +01:00
2022-12-16 16:17:41 +01:00
2022-12-07 12:53:55 +01:00
2022-12-16 16:17:41 +01:00
2022-12-09 11:48:42 +01:00
2023-01-03 08:54:50 +01:00
2022-12-16 16:17:41 +01:00
2023-01-09 15:28:53 +01:00
2023-01-03 20:14:46 +01:00
2022-12-06 20:06:47 +01:00
2023-01-02 20:39:27 +01:00
2023-01-11 07:27:14 +01:00
2023-01-03 13:16:02 +01:00
2023-01-02 11:53:11 +01:00
2022-12-02 14:40:25 +01:00
2023-01-10 17:51:50 +01:00
2022-12-06 10:52:50 +01:00
2022-12-06 09:25:56 +01:00
2023-01-05 15:37:04 +01:00
2023-01-05 15:37:04 +01:00
2022-12-14 07:49:03 +01:00
2022-12-14 07:49:03 +01:00
2022-12-22 15:55:07 +01:00
2023-01-03 13:16:02 +01:00
2022-12-01 16:27:52 +01:00
2022-11-25 17:56:31 +01:00
2023-01-09 22:31:51 +01:00
2023-01-11 13:20:48 +01:00
2023-01-11 13:20:48 +01:00
2023-01-11 13:20:48 +01:00
2022-12-16 19:37:49 +01:00
2022-12-01 17:32:22 +01:00
2023-01-10 18:54:47 +01:00
2023-01-06 08:09:07 +01:00
2022-12-15 15:45:07 +01:00
2023-01-05 16:51:56 +01:00
2023-01-10 13:40:01 +01:00
2023-01-05 16:51:56 +01:00
2022-11-29 13:20:31 +01:00
2023-01-05 16:51:56 +01:00
2023-01-05 16:51:56 +01:00
2023-01-05 16:51:56 +01:00
2022-12-21 13:33:55 +01:00
2022-11-29 17:22:54 +01:00
2023-01-05 16:51:56 +01:00
2023-01-05 16:51:56 +01:00
2023-01-05 16:51:56 +01:00
2022-11-29 13:20:31 +01:00
2023-01-05 16:51:56 +01:00
2023-01-05 16:51:56 +01:00
2023-01-10 14:41:05 +01:00
2023-01-05 16:51:56 +01:00
2023-01-05 16:51:56 +01:00
2022-12-16 14:49:58 +01:00
2022-12-16 16:17:41 +01:00
2023-01-10 21:39:46 +01:00
2023-01-05 16:52:04 +01:00
2022-12-14 11:41:52 +01:00
2022-12-14 11:41:52 +01:00
2022-12-14 11:41:52 +01:00
2022-12-14 11:41:52 +01:00
2023-01-05 14:32:47 +01:00
2023-01-09 16:39:18 +01:00
2022-12-21 17:41:44 +01:00
2022-12-14 11:41:52 +01:00
2023-01-09 16:39:18 +01:00
2022-12-14 11:41:52 +01:00
2022-12-14 11:41:52 +01:00
2023-01-09 12:22:41 +01:00
2022-12-14 11:41:52 +01:00
2023-01-05 14:32:48 +01:00
2023-01-05 14:32:47 +01:00
2022-12-30 17:24:49 +01:00
2022-12-01 16:27:58 +01:00
2023-01-02 20:39:22 +01:00
2023-01-06 18:41:46 +01:00
2023-01-04 11:35:49 +01:00
2022-12-15 12:37:01 +01:00
2023-01-10 15:43:10 +01:00
2022-12-19 11:33:49 +01:00
2022-12-09 16:40:58 +01:00
2023-01-06 12:29:25 +01:00
2023-01-06 14:31:46 +01:00
2022-12-15 12:37:01 +01:00
2022-12-12 15:17:23 +01:00
2023-01-10 11:23:22 +01:00
2022-11-18 15:00:56 +01:00
2023-01-06 12:29:43 +01:00
2022-12-09 16:40:58 +01:00
2023-01-10 15:43:24 +01:00
2022-11-29 09:32:45 +01:00
2023-01-11 13:21:01 +01:00
2022-12-27 11:17:46 +01:00
2022-12-14 17:17:52 +01:00
2022-11-24 10:02:53 +01:00
2023-01-10 13:40:01 +01:00
2022-11-25 17:55:59 +01:00
2023-01-10 15:43:10 +01:00
2022-12-19 11:33:47 +01:00
2022-12-23 12:10:58 +01:00
2022-12-23 12:10:58 +01:00
2023-01-09 16:38:57 +01:00
2023-01-10 18:54:47 +01:00
2022-12-21 13:34:00 +01:00
2023-01-02 10:53:54 +01:00
2022-12-02 14:40:25 +01:00
2023-01-10 13:39:56 +01:00
2023-01-10 13:39:56 +01:00
2023-01-10 13:39:56 +01:00
2022-12-12 13:18:59 +01:00
2023-01-02 12:56:33 +01:00
2023-01-04 18:49:46 +01:00
2022-11-29 13:20:31 +01:00
2022-12-09 16:41:01 +01:00
2022-12-09 16:41:01 +01:00
2023-01-03 13:16:23 +01:00
2023-01-03 13:16:23 +01:00
2023-01-03 13:16:23 +01:00
2022-11-29 13:20:31 +01:00
2022-12-09 16:41:01 +01:00
2022-12-09 16:41:01 +01:00
2023-01-11 13:20:47 +01:00
2022-12-23 12:10:58 +01:00
2023-01-03 14:32:52 +01:00
2022-12-23 12:10:58 +01:00
2022-12-01 08:13:38 +01:00
2022-12-02 14:40:25 +01:00
2023-01-10 18:54:28 +01:00
2022-11-21 22:20:27 +01:00
2022-11-21 22:20:27 +01:00
2023-01-11 09:38:45 +01:00
2023-01-10 14:40:59 +01:00
2022-12-19 13:38:00 +01:00
2022-11-25 18:55:20 +01:00
2022-12-09 16:40:58 +01:00
2022-12-15 12:37:01 +01:00
2023-01-02 09:54:12 +01:00
2023-01-05 15:37:04 +01:00
2023-01-11 14:30:46 +01:00
2023-01-11 09:38:53 +01:00
2022-12-15 15:45:07 +01:00
2022-12-07 18:29:13 +01:00
2023-01-10 18:54:47 +01:00
2023-01-09 21:15:45 +01:00
2023-01-03 13:16:02 +01:00
2023-01-03 13:16:02 +01:00
2023-01-03 13:16:02 +01:00
2023-01-11 09:38:46 +01:00
2022-12-14 22:03:59 +01:00
2022-12-02 14:40:25 +01:00
2023-01-02 12:56:21 +01:00
2023-01-11 09:38:46 +01:00
2023-01-05 15:37:04 +01:00
2023-01-11 08:29:45 +01:00
2022-12-06 10:52:50 +01:00
2023-01-03 13:16:02 +01:00
2022-12-28 10:41:05 +01:00
2022-11-24 19:25:14 +01:00
2022-11-24 19:25:14 +01:00
2023-01-05 11:35:58 +01:00
2022-12-01 16:27:52 +01:00
2022-12-02 14:40:25 +01:00
2022-12-02 14:40:25 +01:00
2022-12-02 14:40:25 +01:00
2023-01-11 13:20:58 +01:00
2022-12-02 14:40:25 +01:00
2023-01-02 11:53:08 +01:00
2022-12-02 14:40:25 +01:00
2022-12-02 14:40:25 +01:00
2022-12-02 14:40:25 +01:00
2022-12-02 14:40:25 +01:00
2022-12-12 13:18:35 +01:00
2022-12-22 13:47:58 +01:00
2022-12-16 16:17:41 +01:00
2023-01-05 15:37:04 +01:00
2022-12-02 14:40:25 +01:00
2022-12-02 14:40:25 +01:00
2022-12-02 14:40:25 +01:00