Vincent Larcin
317cf3b85e
[FIX] project: fix task search views priority
...
Steps to reproduce
------------------
1. Install and open the Timesheets app.
2. Click on the "Start" button on the top left.
3. Click on "Select a Task" and then on "Search More..." to open the list view.
4. The associated search view is not the same as in the Project app.
Explanation
-----------
This occurs because the selected search view will be the one related to the model
with the lowest priority. Since we didn't define a priority for any of the views,
the view `view_task_search_form_base` is the one with the lowest default priority.
However, this is a base view created for inheritance purposes and not intended
to actually be used anywhere.
To solve this issue, this commit adds a very high priority to the base views,
and a low priority to the concrete views we want to be used in such cases.
Note that this unintended behavior is also present in versions below 16.1,
but in a non problematic way (only the project related filters are missing).
---
Enterprise: https://github.com/odoo/enterprise/pull/37812
Task-3217905
closes odoo/odoo#117354
X-original-commit: e68bd3490ee609a82c2a0fb0d76c1e2502a2ffc0
Related: odoo/enterprise#39128
Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com >
2023-03-31 17:02:55 +02:00
..
2023-03-31 17:02:43 +02:00
2023-03-24 12:50:13 +01:00
2023-01-27 17:29:16 +01:00
2023-03-31 15:52:17 +02:00
2023-03-18 03:32:40 +01:00
2023-03-31 09:48:51 +02:00
2023-03-27 19:13:37 +02:00
2023-03-20 16:51:30 +01:00
2023-03-31 11:58:47 +02:00
2023-03-20 16:51:30 +01:00
2023-03-24 12:50:13 +01:00
2023-03-22 11:06:46 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-08 11:37:07 +01:00
2023-03-20 16:51:30 +01:00
2023-03-15 13:19:45 +01:00
2023-03-24 12:50:13 +01:00
2023-03-07 11:11:51 +01:00
2023-03-14 15:52:10 +01:00
2023-03-23 09:06:52 +01:00
2023-01-24 10:20:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-30 16:22:51 +02:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-14 15:52:10 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-28 18:45:47 +02:00
2023-03-20 16:51:30 +01:00
2023-03-28 17:49:01 +02:00
2023-03-31 17:02:30 +02:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-31 15:51:58 +02:00
2023-02-01 10:25:01 +01:00
2023-03-16 14:12:37 +01:00
2023-03-20 16:51:30 +01:00
2023-03-16 14:12:37 +01:00
2023-03-20 16:51:28 +01:00
2023-03-20 16:51:30 +01:00
2023-03-23 09:06:52 +01:00
2023-03-14 12:23:45 +01:00
2023-03-31 15:51:59 +02:00
2023-03-24 07:45:15 +01:00
2023-01-24 10:20:30 +01:00
2023-03-02 19:24:45 +01:00
2023-03-24 12:50:13 +01:00
2023-03-31 14:43:37 +02:00
2023-03-24 07:45:15 +01:00
2023-03-24 12:50:13 +01:00
2023-03-24 12:50:13 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-01 23:28:07 +01:00
2023-01-11 22:43:14 +01:00
2023-03-31 10:53:08 +02:00
2023-03-27 09:40:01 +02:00
2023-03-27 07:28:59 +02:00
2023-03-31 15:51:58 +02:00
2023-03-20 16:51:06 +01:00
2023-03-20 16:51:30 +01:00
2023-03-29 19:20:08 +02:00
2023-02-15 10:14:53 +01:00
2023-03-22 00:53:57 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-02-01 10:25:01 +01:00
2023-03-27 12:47:28 +02:00
2023-03-20 16:51:30 +01:00
2023-03-15 13:19:45 +01:00
2023-03-20 11:20:38 +01:00
2023-01-24 10:20:30 +01:00
2023-03-31 15:51:58 +02:00
2023-03-27 20:06:52 +02:00
2023-03-31 08:50:55 +02:00
2023-03-14 09:55:52 +01:00
2023-03-31 08:50:55 +02:00
2023-02-16 09:01:07 +01:00
2023-03-31 15:52:33 +02:00
2023-03-20 16:51:30 +01:00
2023-03-27 12:47:20 +02:00
2023-03-20 16:51:30 +01:00
2023-03-31 15:51:58 +02:00
2023-03-30 16:23:13 +02:00
2023-03-07 10:06:13 +01:00
2023-03-23 19:13:49 +01:00
2023-02-17 19:30:40 +01:00
2023-03-07 10:06:13 +01:00
2023-03-15 07:27:40 +01:00
2023-03-24 12:50:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-31 11:58:47 +02:00
2023-03-23 19:13:49 +01:00
2023-03-07 10:06:13 +01:00
2023-03-15 22:06:44 +01:00
2023-03-10 11:23:51 +01:00
2023-03-28 16:44:16 +02:00
2023-03-07 10:06:13 +01:00
2023-03-01 18:43:01 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-30 15:09:36 +02:00
2023-01-18 13:25:32 +01:00
2023-03-17 23:24:11 +01:00
2023-01-27 14:03:35 +01:00
2023-01-18 13:25:32 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-31 15:52:18 +02:00
2023-03-07 10:06:13 +01:00
2023-03-14 13:30:05 +01:00
2023-03-24 22:39:43 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-30 16:23:10 +02:00
2023-03-24 12:50:13 +01:00
2023-03-07 10:06:13 +01:00
2023-02-17 19:30:40 +01:00
2023-03-28 18:45:53 +02:00
2023-03-02 19:24:45 +01:00
2023-01-24 16:18:18 +01:00
2023-02-01 14:37:50 +01:00
2023-02-17 19:30:40 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-02-17 19:30:40 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-27 10:40:22 +02:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-10 13:32:41 +01:00
2023-02-27 11:47:11 +01:00
2023-02-27 11:47:11 +01:00
2023-01-23 16:01:27 +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-02-06 09:20:56 +01:00
2023-03-07 10:06:13 +01:00
2023-03-29 13:06:52 +02:00
2023-03-15 16:08:08 +01:00
2023-03-25 02:47:01 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-28 16:44:20 +02:00
2023-03-07 10:06:13 +01:00
2023-03-24 12:50:13 +01:00
2023-02-17 19:30:40 +01:00
2023-03-31 15:52:18 +02:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-28 16:44:16 +02:00
2023-03-18 02:14:39 +01:00
2023-03-21 08:31:06 +01:00
2023-03-18 02:14:39 +01:00
2023-03-07 10:06:13 +01:00
2023-03-28 16:44:15 +02:00
2023-03-24 07:44:44 +01:00
2023-03-28 18:45:47 +02:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-02-01 14:37:50 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-28 16:44:15 +02:00
2023-03-28 16:44:16 +02:00
2023-03-07 10:06:13 +01:00
2023-03-13 15:27:58 +01:00
2023-02-17 19:30:40 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-20 16:51:30 +01:00
2023-03-27 19:13:50 +02:00
2023-03-27 20:06:54 +02:00
2023-03-20 16:51:30 +01:00
2023-03-31 17:02:30 +02:00
2023-03-14 15:52:10 +01:00
2023-03-20 07:58:46 +01:00
2023-03-24 12:50:13 +01:00
2023-03-31 15:51:58 +02:00
2023-03-14 15:52:10 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-14 15:52:10 +01:00
2022-12-22 15:55:07 +01:00
2023-03-24 12:50:13 +01:00
2023-03-24 12:50:13 +01:00
2023-03-20 16:51:30 +01:00
2023-03-14 15:52:10 +01:00
2023-03-14 15:52:10 +01:00
2023-02-04 10:45:02 +01:00
2023-03-31 17:02:44 +02:00
2023-03-31 17:02:44 +02:00
2023-03-14 15:52:10 +01:00
2023-03-01 17:01:17 +01:00
2023-03-17 19:22:13 +01:00
2023-03-03 17:05:07 +01:00
2023-03-09 10:51:43 +01:00
2023-03-09 10:51:43 +01:00
2023-03-20 16:51:30 +01:00
2023-03-17 22:27:21 +01:00
2023-03-30 16:22:51 +02:00
2023-03-20 16:51:30 +01:00
2023-03-29 08:28:52 +02:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-09 10:51:29 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-03-16 20:37:59 +01:00
2023-03-20 16:51:30 +01:00
2023-03-07 16:56:40 +01:00
2023-03-20 16:51:30 +01:00
2023-03-09 10:51:29 +01:00
2023-02-01 10:25:01 +01:00
2023-03-29 09:33:55 +02:00
2023-03-05 15:12:54 +01:00
2023-03-31 15:52:39 +02:00
2023-03-30 20:03:32 +02:00
2023-03-16 09:37:19 +01:00
2023-03-09 15:54:58 +01:00
2023-03-20 16:51:30 +01:00
2023-03-30 15:09:14 +02:00
2023-01-23 16:01:27 +01:00
2023-03-24 03:28:42 +01:00
2023-02-07 16:38:34 +01:00
2023-03-28 18:45:50 +02:00
2023-03-24 03:28:42 +01:00
2023-03-30 15:09:14 +02:00
2023-01-25 16:37:10 +01:00
2023-01-23 16:01:27 +01:00
2023-03-24 11:08:19 +01:00
2023-01-23 16:01:27 +01:00
2023-01-19 18:49:53 +01:00
2023-03-10 11:23:51 +01:00
2023-03-30 15:09:14 +02:00
2023-02-07 16:38:34 +01:00
2023-03-14 15:52:10 +01:00
2023-03-24 19:21:46 +01:00
2023-03-20 16:51:30 +01:00
2023-03-24 23:41:54 +01:00
2023-02-01 10:25:01 +01:00
2023-03-20 16:51:30 +01:00
2023-01-24 10:20:30 +01:00
2023-03-31 17:02:55 +02:00
2023-03-22 17:03:46 +01:00
2023-03-16 14:12:37 +01:00
2023-03-31 15:52:14 +02:00
2023-03-30 16:23:04 +02:00
2023-03-05 15:12:54 +01:00
2023-03-25 18:58:00 +01:00
2023-02-03 14:23:02 +01:00
2023-03-31 15:51:58 +02:00
2023-03-03 18:10:57 +01:00
2023-02-13 15:15:34 +01:00
2023-03-15 13:19:45 +01:00
2023-03-23 12:14:51 +01:00
2023-01-13 16:27:26 +01:00
2023-01-13 16:27:26 +01:00
2023-03-27 11:43:09 +02:00
2023-03-20 16:51:30 +01:00
2023-03-24 12:50:13 +01:00
2023-03-31 15:52:23 +02:00
2023-03-31 15:52:47 +02:00
2023-03-30 10:53:48 +02:00
2023-03-17 15:02:46 +01:00
2023-02-24 10:06:06 +01:00
2023-03-30 18:59:11 +02:00
2023-03-31 15:51:59 +02:00
2023-03-29 23:37:03 +02:00
2023-03-20 16:51:30 +01:00
2023-03-09 12:01:01 +01:00
2023-03-31 15:52:14 +02:00
2023-02-22 20:26:07 +01:00
2023-01-13 16:27:26 +01:00
2023-02-03 11:45:19 +01:00
2023-01-16 15:43:00 +01:00
2023-03-22 14:52:42 +01:00
2023-02-13 15:15:08 +01:00
2023-03-31 17:02:24 +02:00
2023-02-03 05:09:05 +01:00
2023-03-20 16:51:30 +01:00
2023-03-24 01:24:48 +01:00
2023-03-17 11:47:09 +01:00
2023-03-30 07:54:04 +02:00
2023-03-30 17:57:44 +02:00
2023-03-30 17:57:44 +02:00
2023-03-30 17:57:44 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-03-31 15:51:58 +02:00
2023-03-20 18:13:14 +01:00
2023-03-29 10:37:22 +02:00
2023-03-08 17:33:37 +01:00
2023-03-30 17:57:58 +02:00
2023-03-31 11:58:52 +02:00
2023-02-01 10:25:01 +01:00
2023-03-30 08:49:57 +02:00
2023-03-24 12:50:13 +01:00
2023-03-28 17:49:01 +02:00
2023-03-20 15:31:27 +01:00
2023-03-28 13:43:57 +02:00
2023-03-17 11:47:09 +01:00
2023-03-29 10:37:19 +02:00
2023-03-31 15:51:58 +02:00
2023-02-03 10:25:00 +01:00
2023-03-16 07:29:49 +01:00
2023-03-07 11:11:42 +01:00
2023-01-27 23:17:35 +01:00
2023-03-15 13:19:45 +01:00
2023-02-24 11:11:40 +01:00
2023-03-08 17:33:37 +01:00
2023-03-29 09:33:35 +02:00
2023-03-31 11:59:00 +02:00
2023-03-30 15:09:44 +02:00
2023-03-24 09:05:13 +01:00
2023-03-30 17:57:58 +02:00
2023-03-31 15:52:37 +02:00
2023-03-30 18:58:59 +02:00
2023-03-20 16:51:30 +01:00
2023-01-17 20:58:34 +01:00
2023-03-24 12:50:13 +01:00
2023-03-20 16:51:30 +01:00
2023-03-30 18:58:59 +02:00
2023-02-17 09:50:50 +01:00
2023-03-15 13:19:45 +01:00
2023-03-02 19:24:45 +01:00
2023-02-17 09:50:50 +01:00
2023-03-14 15:52:10 +01:00
2023-03-14 15:52:10 +01:00
2023-01-16 19:45:57 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-24 12:50:13 +01:00
2023-03-16 15:19:41 +01:00
2023-03-14 15:52:10 +01:00
2023-01-24 21:10:52 +01:00
2023-03-30 18:58:59 +02:00
2023-03-30 18:58:59 +02:00
2023-02-10 14:37:30 +01:00
2023-03-30 18:58:59 +02:00
2023-03-20 16:51:30 +01:00
2023-03-15 13:19:45 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-02-24 18:16:11 +01:00
2023-03-24 12:50:13 +01:00
2023-03-31 10:53:02 +02:00
2023-03-15 13:19:45 +01:00
2023-03-08 17:33:37 +01:00
2023-03-24 19:21:32 +01:00
2023-03-24 11:08:32 +01:00
2023-03-14 12:23:46 +01:00
2023-03-27 20:06:54 +02:00
2023-03-28 10:30:06 +02:00
2023-03-29 23:36:44 +02:00
2023-01-27 23:17:35 +01:00
2023-01-27 23:17:35 +01:00
2023-03-15 13:19:45 +01:00
2023-03-31 10:53:16 +02:00
2023-03-22 17:03:28 +01:00
2023-03-29 23:37:17 +02:00
2023-03-20 16:51:30 +01:00