Thibault Delavallée
876ecb48aa
[IMP] mail: lessen default email notification groups
...
Purpose of this commit is to add potential groups but de-activate them by
default. Indeed each group require about 20 queries for rendering and
sending. If no specific behavior (access button, content) is made for this
recipient group it can be included in lower-version of the group.
Specifications
* de-activate portal group in mail as it has no additional rights compared
to customers;
* add follower group but de-activate it for the same reason;
* activate portal group in portal_mixin and include links to the record in
notification emails, using standard mail/view link. ACLs are managed in
each specific model, generally based on followers;
Update a test in test_mail as it was playing with public and portal users
that are now not really differentiated when sending notification emails.
Better have more real-life scenarios with portal and internal users.
Task-2739294 (Mail: Batch recipients fetch and improve its usage)
Part-of: odoo/odoo#82167
2022-01-31 17:47:34 +00:00
..
2022-01-31 17:47:33 +00:00
2021-12-14 19:13:18 +00:00
2021-11-10 06:49:58 +00:00
2022-01-05 11:36:06 +00:00
2022-01-31 10:07:34 +00:00
2021-11-22 14:48:04 +00:00
2022-01-10 19:28:36 +00:00
2021-12-08 16:28:53 +00:00
2022-01-28 14:10:01 +00:00
2021-11-08 09:25:47 +00:00
2021-11-23 11:12:14 +00:00
2022-01-28 14:10:01 +00:00
2021-12-08 11:17:22 +00:00
2021-11-26 09:44:58 +00:00
2022-01-31 17:47:34 +00:00
2022-01-27 07:03:03 +00:00
2021-11-22 14:48:04 +00:00
2022-01-31 12:06:05 +00:00
2022-01-31 12:06:04 +00:00
2022-01-25 17:21:04 +00:00
2022-01-20 11:03:01 +00:00
2021-12-07 13:48:53 +00:00
2022-01-22 14:13:41 +00:00
2021-12-14 12:39:54 +00:00
2021-10-28 09:17:34 +00:00
2021-12-07 13:48:53 +00:00
2021-12-13 12:24:50 +00:00
2022-01-20 11:03:01 +00:00
2022-01-26 08:48:52 +00:00
2021-12-16 09:00:19 +00:00
2022-01-28 18:58:44 +00:00
2022-01-31 17:47:30 +00:00
2022-01-21 15:03:57 +00:00
2022-01-28 14:10:01 +00:00
2021-12-15 00:10:51 +00:00
2021-12-14 12:39:54 +00:00
2022-01-31 12:06:05 +00:00
2021-12-02 12:12:01 +01:00
2021-12-08 09:35:03 +00:00
2022-01-28 14:10:01 +00:00
2021-12-16 17:33:47 +00:00
2022-01-12 16:43:37 +00:00
2021-12-24 14:57:02 +00:00
2022-01-19 16:52:23 +00:00
2021-12-16 17:33:47 +00:00
2022-01-27 09:12:50 +00:00
2022-01-27 09:12:50 +00:00
2022-01-13 09:30:56 +00:00
2022-01-19 16:52:23 +00:00
2021-10-11 10:15:49 +00:00
2022-01-27 09:12:50 +00:00
2022-01-31 17:47:29 +00:00
2021-09-23 07:17:43 +00:00
2022-01-27 09:12:50 +00:00
2021-11-22 14:48:04 +00:00
2022-01-12 08:33:00 +00:00
2022-01-28 14:10:01 +00:00
2022-01-31 08:14:50 +00:00
2022-01-27 16:17:17 +00:00
2022-01-11 16:18:49 +00:00
2022-01-20 16:08:22 +00:00
2022-01-31 17:47:30 +00:00
2021-12-07 13:48:53 +00:00
2021-12-14 19:13:18 +00:00
2021-12-09 16:14:43 +00:00
2021-12-07 13:48:53 +00:00
2022-01-31 17:47:30 +00:00
2021-12-25 02:26:44 +00:00
2021-12-20 07:55:41 +00:00
2021-12-15 12:07:26 +00:00
2022-01-28 14:10:01 +00:00
2022-01-03 18:11:19 +00:00
2022-01-26 15:59:03 +00:00
2022-01-28 14:09:56 +00:00
2022-01-04 10:26:16 +00:00
2021-12-14 12:39:54 +00:00
2021-10-07 17:59:52 +00:00
2021-10-07 17:59:52 +00:00
2021-10-19 15:58:58 +00:00
2022-01-21 15:03:57 +00:00
2022-01-28 16:09:26 +00:00
2021-11-25 00:31:17 +00:00
2021-12-08 11:17:22 +00:00
2022-01-31 15:33:41 +00:00
2021-11-25 00:31:17 +00:00
2022-01-27 16:17:10 +00:00
2022-01-13 14:35:57 +00:00
2022-01-18 08:18:06 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-10-01 12:40:54 +00:00
2022-01-31 10:07:21 +00:00
2022-01-28 14:10:01 +00:00
2022-01-25 17:21:04 +00:00
2022-01-25 17:21:04 +00:00
2022-01-27 21:50:25 +00:00
2021-10-01 12:40:54 +00:00
2021-12-15 22:31:20 +00:00
2021-11-25 00:31:17 +00:00
2021-10-01 12:40:54 +00:00
2021-10-01 12:40:54 +00:00
2021-12-18 21:00:49 +00:00
2021-10-28 08:33:17 +00:00
2021-10-28 08:33:17 +00:00
2021-10-28 08:33:17 +00:00
2021-10-28 08:33:17 +00:00
2022-01-26 11:46:15 +00:00
2021-11-25 00:31:17 +00:00
2022-01-18 16:17:43 +00:00
2022-01-31 13:57:55 +00:00
2021-12-28 09:47:33 +00:00
2021-11-25 00:31:17 +00:00
2021-09-27 16:56:27 +00:00
2021-11-25 00:31:17 +00:00
2022-01-31 13:58:03 +00:00
2022-01-28 18:58:47 +00:00
2022-01-27 21:50:25 +00:00
2021-12-17 21:59:10 +00:00
2022-01-11 13:34:56 +00:00
2021-11-25 00:31:17 +00:00
2021-10-01 12:40:54 +00:00
2021-10-01 12:40:54 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2022-01-18 11:02:02 +00:00
2022-01-27 21:50:25 +00:00
2021-12-14 14:47:25 +00:00
2021-11-25 00:31:17 +00:00
2022-01-31 10:07:26 +00:00
2022-01-20 22:05:06 +00:00
2022-01-14 14:49:57 +00:00
2021-11-25 00:31:17 +00:00
2022-01-28 14:10:01 +00:00
2022-01-28 14:10:01 +00:00
2022-01-25 19:06:59 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-10-01 12:40:54 +00:00
2022-01-12 10:17:47 +00:00
2022-01-25 19:07:03 +00:00
2022-01-25 17:21:04 +00:00
2021-12-14 10:00:41 +00:00
2021-11-25 00:31:17 +00:00
2021-11-22 14:48:04 +00:00
2021-11-25 00:31:17 +00:00
2021-10-01 12:40:54 +00:00
2022-01-25 17:21:04 +00:00
2021-12-22 00:12:52 +00:00
2021-11-25 00:31:17 +00:00
2022-01-25 15:41:17 +00:00
2021-12-15 22:31:20 +00:00
2021-11-25 00:31:17 +00:00
2022-01-05 23:05:43 +00:00
2022-01-27 21:50:25 +00:00
2022-01-21 11:25:59 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-12-15 22:31:20 +00:00
2021-10-01 12:40:54 +00:00
2021-11-25 00:31:17 +00:00
2022-01-25 18:14:59 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-10-01 12:40:54 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-12-14 09:11:15 +00:00
2022-01-11 16:18:54 +00:00
2022-01-31 17:47:34 +00:00
2021-12-15 00:10:51 +00:00
2021-12-21 09:49:38 +00:00
2022-01-31 17:47:30 +00:00
2021-12-14 19:13:18 +00:00
2022-01-12 18:24:48 +00:00
2022-01-28 14:10:01 +00:00
2021-12-07 13:48:53 +00:00
2021-10-14 09:28:09 +00:00
2022-01-06 11:45:23 +00:00
2021-10-22 11:09:16 +00:00
2022-01-28 14:10:01 +00:00
2021-10-11 10:15:49 +00:00
2022-01-17 08:38:45 +00:00
2022-01-31 12:06:06 +00:00
2022-01-19 16:03:53 +00:00
2021-12-07 16:20:05 +00:00
2022-01-11 15:24:11 +00:00
2021-12-22 17:55:49 +00:00
2021-12-07 16:20:05 +00:00
2021-12-07 16:20:06 +00:00
2021-12-07 16:20:06 +00:00
2021-10-06 12:39:43 +00:00
2021-10-19 14:43:42 +00:00
2022-01-27 17:11:51 +00:00
2022-01-27 17:11:52 +00:00
2022-01-27 17:11:52 +00:00
2022-01-22 13:25:44 +00:00
2022-01-27 17:11:52 +00:00
2022-01-27 17:11:52 +00:00
2022-01-27 17:11:52 +00:00
2022-01-27 17:11:52 +00:00
2022-01-27 17:11:52 +00:00
2022-01-27 17:11:52 +00:00
2022-01-27 17:11:52 +00:00
2022-01-27 17:11:52 +00:00
2021-11-29 15:40:54 +00:00
2022-01-31 13:58:10 +00:00
2022-01-31 17:47:34 +00:00
2021-11-22 14:48:04 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-31 13:58:10 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-31 12:06:04 +00:00
2022-01-31 12:06:05 +00:00
2022-01-19 16:52:23 +00:00
2022-01-31 17:47:30 +00:00
2022-01-04 17:03:10 +00:00
2021-12-14 12:39:54 +00:00
2022-01-04 17:03:10 +00:00
2022-01-04 17:03:10 +00:00
2021-12-14 19:13:18 +00:00
2022-01-31 17:47:33 +00:00
2022-01-10 14:49:52 +00:00
2021-11-24 16:33:01 +00:00
2021-12-14 19:13:18 +00:00
2021-10-27 15:48:51 +00:00
2022-01-28 14:10:01 +00:00
2022-01-05 13:58:01 +01:00
2022-01-28 14:10:01 +00:00
2022-01-27 13:04:04 +00:00
2022-01-31 17:47:33 +00:00
2021-12-23 15:30:23 +01:00
2021-12-14 14:47:25 +00:00
2021-12-02 12:12:01 +01:00
2021-12-02 12:12:03 +01:00
2022-01-17 12:17:24 +00:00
2021-12-02 12:12:03 +01:00
2022-01-20 12:30:05 +00:00
2021-12-23 15:30:23 +01:00
2021-12-02 12:12:03 +01:00
2022-01-31 09:09:02 +00:00
2021-11-23 11:12:14 +00:00
2022-01-28 14:10:01 +00:00
2021-10-15 14:58:53 +00:00
2022-01-14 17:29:35 +00:00
2022-01-31 17:47:29 +00:00
2021-11-08 07:59:42 +00:00
2022-01-24 19:20:47 +00:00
2021-11-29 14:55:35 +00:00
2021-12-21 20:20:50 +00:00
2022-01-31 17:47:34 +00:00
2022-01-28 14:10:01 +00:00
2021-10-29 16:05:23 +00:00
2022-01-31 13:01:45 +00:00
2022-01-28 14:10:01 +00:00
2021-12-07 16:20:06 +00:00
2021-12-14 19:13:18 +00:00
2022-01-31 12:06:06 +00:00
2021-10-05 16:54:21 +00:00
2022-01-26 13:11:06 +00:00
2022-01-19 16:52:23 +00:00
2021-12-24 14:57:02 +00:00
2022-01-27 18:03:43 +00:00
2022-01-28 14:09:56 +00:00
2022-01-31 17:47:34 +00:00
2022-01-31 17:47:30 +00:00
2022-01-20 15:11:50 +00:00
2022-01-17 16:56:01 +00:00
2021-09-30 17:12:12 +00:00
2021-11-30 15:21:47 +00:00
2022-01-17 06:42:47 +00:00
2021-09-30 17:12:12 +00:00
2022-01-31 12:06:04 +00:00
2022-01-20 10:06:47 +00:00
2022-01-27 18:51:49 +00:00
2022-01-28 12:21:47 +00:00
2022-01-31 15:33:52 +00:00
2022-01-22 11:51:42 +00:00
2022-01-31 15:33:52 +00:00
2022-01-31 17:47:32 +00:00
2021-12-07 13:48:53 +00:00
2022-01-28 14:10:01 +00:00
2022-01-31 17:47:32 +00:00
2021-10-15 14:58:53 +00:00
2022-01-28 14:10:01 +00:00
2021-12-07 13:48:53 +00:00
2021-10-04 15:30:26 +00:00
2021-12-07 13:48:53 +00:00
2022-01-10 13:52:27 +00:00
2022-01-10 13:52:27 +00:00
2021-12-16 17:33:48 +00:00
2022-01-04 08:47:00 +00:00
2022-01-22 11:51:42 +00:00
2021-12-07 13:48:53 +00:00
2021-09-18 05:42:55 +00:00
2022-01-31 17:47:32 +00:00
2021-10-04 07:57:00 +00:00
2021-10-04 14:12:26 +00:00
2022-01-28 16:09:26 +00:00
2021-12-20 19:16:55 +00:00
2021-10-15 14:58:53 +00:00
2021-12-17 12:51:49 +00:00
2022-01-22 11:51:42 +00:00
2022-01-31 17:47:34 +00:00
2021-12-07 13:48:53 +00:00
2021-11-25 13:28:51 +00:00
2021-12-17 12:51:49 +00:00
2021-12-02 12:12:01 +01:00
2022-01-28 11:27:42 +00:00
2021-12-07 13:48:53 +00:00
2021-12-23 15:30:23 +01:00
2021-12-23 15:30:23 +01:00
2021-12-07 13:48:53 +00:00
2022-01-31 17:47:32 +00:00
2021-12-07 13:48:53 +00:00
2021-12-14 19:13:18 +00:00
2021-12-14 19:13:18 +00:00