Benoit Socias
4c2ed5a5f7
[FIX] website: show icons in autocomplete results when no image defined
...
Since [1] when the search bar was refactored, images can be displayed in
the autocomplete results, and fallback icons are displayed instead of
images for records that have no images.
However, if no module that participates in the results provides actual
images, then the fallback icons are not displayed at all.
This commit makes the fallback icons displayed only based on the "Image"
toggle option of the search bar.
It also disables the hidden display options and enables the visible
ones.
Steps to reproduce:
- Do NOT install website_sale (which is currently the only module that
provides autocomplete results with images).
- Drop a "Search" block.
- Save.
- Type a single letter in the search box. (e.g. "a")
=> Autocomplete results were displayed without their icons.
[1]: https://github.com/odoo/odoo/commit/7559626c54e34b41e1549e28276a650accec6986
task-2951026
closes odoo/odoo#106953
X-original-commit: 4eecba4c8f5327fd1a137a8d88574c2b6a5eda05
Signed-off-by: Romain Derie (rde) <rde@odoo.com >
2022-12-01 14:34:15 +01:00
..
2022-11-29 16:19:46 +01:00
2022-11-07 14:52:54 +01:00
2022-10-04 07:28:57 +02:00
2022-11-28 15:52:59 +01:00
2022-10-09 22:04:00 +02:00
2022-11-29 17:22:56 +01:00
2022-11-29 17:22:54 +01:00
2022-11-11 17:54:39 +01:00
2022-11-23 21:56:09 +01:00
2022-10-25 18:44:57 +02:00
2022-11-14 12:04:04 +01:00
2022-10-09 22:04:00 +02:00
2022-10-06 14:56:52 +02:00
2022-10-11 13:15:12 +02:00
2022-10-06 14:56:52 +02:00
2022-10-06 14:56:52 +02:00
2022-11-24 19:25:14 +01:00
2022-11-09 16:08:07 +01:00
2022-11-25 10:52:12 +01:00
2022-10-21 17:17:07 +02:00
2022-11-21 11:50:23 +01:00
2022-09-30 09:31:52 +02:00
2022-11-07 11:26:33 +01:00
2022-11-21 21:18:53 +01:00
2022-11-16 10:28:50 +01:00
2022-11-16 10:28:43 +01:00
2022-11-16 10:28:53 +01:00
2022-11-29 13:20:31 +01:00
2022-11-25 18:55:05 +01:00
2022-11-25 17:56:31 +01:00
2022-11-07 22:38:56 +01:00
2022-11-24 13:29:05 +01:00
2022-11-25 18:55:29 +01:00
2022-11-30 15:06:30 +01:00
2022-11-25 18:55:29 +01:00
2022-11-06 02:16:48 +01:00
2022-11-14 16:21:55 +01:00
2022-11-29 13:20:31 +01:00
2022-12-01 13:31:02 +01:00
2022-10-06 18:00:49 +02:00
2022-11-21 19:55:13 +01:00
2022-11-25 18:55:29 +01:00
2022-10-07 11:13:17 +02:00
2022-11-15 13:01:29 +01:00
2022-10-07 21:43:23 +02:00
2022-11-17 14:56:42 +01:00
2022-12-01 13:30:59 +01:00
2022-11-25 08:52:07 +01:00
2022-10-04 07:28:57 +02:00
2022-09-28 20:29:50 +02:00
2022-11-25 17:56:31 +01:00
2022-10-25 16:11:59 +02:00
2022-11-09 16:08:07 +01:00
2022-11-28 08:22:23 +01:00
2022-11-29 09:32:48 +01:00
2022-12-01 09:11:48 +01:00
2022-11-22 17:09:27 +01:00
2022-09-30 09:32:23 +02:00
2022-11-22 08:34:55 +01:00
2022-11-28 16:53:48 +01:00
2022-11-29 09:32:48 +01:00
2022-09-30 09:31:52 +02:00
2022-10-21 11:09:14 +02:00
2022-10-21 11:09:22 +02:00
2022-11-14 17:18:02 +01:00
2022-11-24 12:26:01 +01:00
2022-11-30 12:13:55 +01:00
2022-10-06 14:56:52 +02:00
2022-10-06 19:04:28 +02:00
2022-09-29 09:08:50 +02:00
2022-11-30 20:03:12 +01:00
2022-11-30 20:03:11 +01:00
2022-11-25 17:56:45 +01:00
2022-11-29 14:22:59 +01:00
2022-10-21 12:06:04 +02:00
2022-11-21 11:50:26 +01:00
2022-11-22 11:28:58 +01:00
2022-10-09 22:04:00 +02:00
2022-11-25 18:55:42 +01:00
2022-11-29 17:22:56 +01:00
2022-10-25 18:44:57 +02:00
2022-11-02 11:38:38 +01:00
2022-11-10 09:50:39 +01:00
2022-11-11 17:54:39 +01:00
2022-10-04 13:29:08 +02:00
2022-11-29 16:19:46 +01:00
2022-11-30 11:08:58 +01:00
2022-10-04 13:29:08 +02:00
2022-10-04 13:29:08 +02:00
2022-11-22 19:09:57 +01:00
2022-10-25 18:44:57 +02:00
2022-10-25 18:44:57 +02:00
2022-10-04 13:29:08 +02:00
2022-10-19 16:09:55 +02:00
2022-11-15 18:25:45 +01:00
2022-11-15 18:25:45 +01:00
2022-11-21 19:55:05 +01:00
2022-10-04 13:29:08 +02:00
2022-10-04 13:29:08 +02:00
2022-10-04 13:29:08 +02:00
2022-11-29 13:20:31 +01:00
2022-11-11 17:54:39 +01:00
2022-10-05 11:04:20 +02:00
2022-11-02 10:40:14 +01:00
2022-10-04 13:29:08 +02:00
2022-10-08 15:20:55 +02:00
2022-10-28 09:17:43 +02:00
2022-11-30 21:43:15 +01:00
2022-10-08 17:02:51 +02:00
2022-11-10 22:22:01 +01:00
2022-11-29 16:19:46 +01:00
2022-11-29 13:20:31 +01:00
2022-11-11 17:54:39 +01:00
2022-10-21 11:09:14 +02:00
2022-11-11 17:54:39 +01:00
2022-11-11 17:54:39 +01:00
2022-10-04 13:29:08 +02:00
2022-10-04 13:29:08 +02:00
2022-11-24 19:25:21 +01:00
2022-11-14 17:17:53 +01:00
2022-11-29 16:19:46 +01:00
2022-11-09 10:56:48 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-10-04 13:29:08 +02:00
2022-11-28 15:52:59 +01:00
2022-11-25 17:56:37 +01:00
2022-11-23 16:14:45 +01:00
2022-11-11 17:54:39 +01:00
2022-09-30 22:54:47 +02:00
2022-10-04 13:29:08 +02:00
2022-11-11 17:54:39 +01:00
2022-10-04 13:29:08 +02:00
2022-10-04 13:29:08 +02:00
2022-11-29 13:20:31 +01:00
2022-11-04 09:52:54 +01:00
2022-10-07 12:41:12 +02:00
2022-10-04 13:29:08 +02:00
2022-10-25 16:12:15 +02:00
2022-11-11 17:54:39 +01:00
2022-11-24 19:25:21 +01:00
2022-10-04 13:29:08 +02:00
2022-11-30 20:03:40 +01:00
2022-10-04 13:29:08 +02:00
2022-10-25 13:03:28 +02:00
2022-10-24 13:05:52 +02:00
2022-11-11 17:54:39 +01:00
2022-11-11 17:54:39 +01:00
2022-10-04 13:29:08 +02:00
2022-10-04 13:29:08 +02:00
2022-11-18 12:58:22 +01:00
2022-10-04 13:29:08 +02:00
2022-10-04 13:29:08 +02:00
2022-10-25 21:20:50 +02:00
2022-10-04 13:29:08 +02:00
2022-11-11 17:54:39 +01:00
2022-10-04 13:29:08 +02:00
2022-10-10 16:11:01 +02:00
2022-11-30 12:13:52 +01:00
2022-11-28 15:53:17 +01:00
2022-11-30 20:03:37 +01:00
2022-10-31 18:52:59 +01:00
2022-11-11 17:54:39 +01:00
2022-11-28 15:52:59 +01:00
2022-11-24 12:26:01 +01:00
2022-11-28 18:51:49 +01:00
2022-10-06 14:56:52 +02:00
2022-11-21 17:45:56 +01:00
2022-11-25 17:56:31 +01:00
2022-10-25 16:11:59 +02:00
2022-12-01 14:33:57 +01:00
2022-11-18 14:00:11 +01:00
2022-12-01 11:54:56 +01:00
2022-11-14 13:01:57 +01:00
2022-11-16 13:23:41 +01:00
2022-10-05 14:26:14 +02:00
2022-11-06 02:16:48 +01:00
2022-11-11 17:54:39 +01:00
2022-10-24 14:12:23 +02:00
2022-12-01 14:34:07 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 17:22:54 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-25 18:55:20 +01:00
2022-11-30 14:05:46 +01:00
2022-11-28 15:52:59 +01:00
2022-11-25 10:52:01 +01:00
2022-11-11 17:54:39 +01:00
2022-11-11 17:54:39 +01:00
2022-11-14 12:03:51 +01:00
2022-11-11 17:54:39 +01:00
2022-11-30 14:05:46 +01:00
2022-11-09 16:08:07 +01:00
2022-11-30 11:09:01 +01:00
2022-11-11 17:54:39 +01:00
2022-11-11 17:54:39 +01:00
2022-11-11 17:54:39 +01:00
2022-11-29 13:20:31 +01:00
2022-11-13 21:54:40 +01:00
2022-11-03 16:43:36 +01:00
2022-11-29 13:20:31 +01:00
2022-12-01 10:56:48 +01:00
2022-11-24 21:54:48 +01:00
2022-11-25 17:55:59 +01:00
2022-11-30 15:06:13 +01:00
2022-11-09 21:17:46 +01:00
2022-11-04 10:54:57 +01:00
2022-10-17 10:11:09 +02:00
2022-10-08 13:30:24 +02:00
2022-11-07 13:49:50 +01:00
2022-11-28 15:52:59 +01:00
2022-11-25 17:55:59 +01:00
2022-11-25 18:55:40 +01:00
2022-10-05 19:38:45 +02:00
2022-11-30 19:05:53 +01:00
2022-11-18 15:00:56 +01:00
2022-11-25 18:55:35 +01:00
2022-11-21 11:50:28 +01:00
2022-11-30 20:03:31 +01:00
2022-11-10 13:15:39 +01:00
2022-11-29 09:32:45 +01:00
2022-11-09 23:33:27 +01:00
2022-11-09 23:33:27 +01:00
2022-11-18 17:03:59 +01:00
2022-11-24 10:02:53 +01:00
2022-11-09 16:08:19 +01:00
2022-10-09 22:03:50 +02:00
2022-11-25 17:55:59 +01:00
2022-11-30 20:03:12 +01:00
2022-11-07 14:52:51 +01:00
2022-10-09 22:03:50 +02:00
2022-11-30 19:05:53 +01:00
2022-11-30 20:03:12 +01:00
2022-10-17 12:13:25 +02:00
2022-11-22 10:24:40 +01:00
2022-11-15 10:34:12 +01:00
2022-11-11 17:54:39 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-28 14:51:24 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-11-30 10:05:27 +01:00
2022-11-28 14:51:00 +01:00
2022-11-18 17:03:56 +01:00
2022-12-01 08:13:38 +01:00
2022-11-25 08:52:04 +01:00
2022-10-10 16:11:01 +02:00
2022-11-21 22:20:27 +01:00
2022-11-21 22:20:27 +01:00
2022-11-21 22:20:27 +01:00
2022-11-24 12:26:01 +01:00
2022-11-25 18:55:21 +01:00
2022-10-26 00:55:05 +02:00
2022-11-25 18:55:20 +01:00
2022-10-04 16:01:19 +02:00
2022-11-25 17:55:59 +01:00
2022-11-14 17:17:59 +01:00
2022-10-06 00:37:25 +02:00
2022-10-06 14:56:52 +02:00
2022-11-30 20:03:15 +01:00
2022-11-28 19:49:04 +01:00
2022-10-27 14:41:17 +02:00
2022-11-29 11:33:55 +01:00
2022-10-27 14:41:17 +02:00
2022-12-01 14:34:15 +01:00
2022-11-29 13:20:31 +01:00
2022-11-28 00:25:44 +01:00
2022-11-14 14:20:39 +01:00
2022-11-25 18:55:29 +01:00
2022-10-12 10:35:05 +02:00
2022-11-25 18:55:29 +01:00
2022-11-09 16:08:07 +01:00
2022-11-22 17:09:16 +01:00
2022-10-12 10:35:05 +02:00
2022-11-04 14:00:24 +01:00
2022-10-10 19:03:15 +02:00
2022-11-24 19:25:14 +01:00
2022-11-03 16:43:45 +01:00
2022-11-29 13:20:31 +01:00
2022-11-07 11:26:33 +01:00
2022-10-10 16:11:01 +02:00
2022-11-17 15:59:16 +01:00
2022-11-24 19:25:14 +01:00
2022-11-24 19:25:14 +01:00
2022-11-24 19:25:14 +01:00
2022-10-12 10:35:05 +02:00
2022-11-24 19:25:14 +01:00
2022-11-29 13:20:31 +01:00
2022-11-29 13:20:31 +01:00
2022-10-06 14:56:52 +02:00
2022-11-28 15:52:59 +01:00
2022-11-22 17:09:16 +01:00
2022-11-11 17:54:39 +01:00
2022-10-04 16:01:08 +02:00
2022-11-11 17:54:39 +01:00
2022-11-14 14:20:29 +01:00
2022-11-09 10:56:54 +01:00
2022-11-29 13:20:31 +01:00
2022-11-10 09:50:40 +01:00
2022-11-04 16:59:54 +01:00
2022-10-24 14:12:34 +02:00
2022-11-11 17:54:39 +01:00
2022-11-29 11:33:54 +01:00
2022-11-03 08:42:52 +01:00
2022-10-06 14:56:52 +02:00