Nicolas Seinlet
611b4ed95a
[FIX] mail: fix activity view when having activities without type
...
At model level, activity_type_id is not a mandatory field on mail.activity.
Indeed required is added in views, meaning people could have activities
without type.
This make the activity views crash with `TypeError: 'bool' object is not
subscriptable` error when computing aggregated activity data. This commit
fixes that error.
Activities without type are still not displayed in the activity view as
columns are based on available activity types. It means activities without
type have no column to be displayed. As this is a corner case that should
not happen when using activities using the interface this is considered
as a limitation of current implementation.
closes odoo/odoo#42991
X-original-commit: 77f0dd8936df3dddfa3df8041d4b7f7c62595430
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com >
2020-01-08 18:14:36 +00:00
..
2020-01-08 10:39:12 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2019-12-10 10:00:18 +00:00
2019-12-10 10:00:18 +00:00
2019-12-16 15:10:24 +00:00
2019-12-12 12:30:48 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2019-12-10 10:00:18 +00:00
2019-12-16 15:10:24 +00:00
2019-12-16 12:49:55 +00:00
2019-12-10 10:00:18 +00:00
2019-12-10 10:00:18 +00:00
2020-01-07 14:53:42 +00:00
2019-12-16 12:49:55 +00:00
2019-12-10 10:00:18 +00:00
2019-12-10 10:00:18 +00:00
2019-12-10 10:00:18 +00:00
2020-01-02 13:31:09 +00:00
2019-12-20 11:16:01 +00:00
2019-12-23 15:57:36 +00:00
2019-12-10 10:00:18 +00:00
2019-12-10 10:00:18 +00:00
2019-12-10 10:00:18 +00:00
2019-12-10 10:00:18 +00:00
2019-12-17 07:03:32 +00:00
2019-12-10 10:00:18 +00:00
2019-12-16 12:49:55 +00:00
2020-01-07 11:10:41 +00:00
2019-12-09 10:33:36 +00:00
2019-12-20 12:47:11 +00:00
2019-12-09 10:33:36 +00:00
2019-12-20 09:09:12 +01:00
2019-12-16 12:49:55 +00:00
2019-12-09 10:38:59 +00:00
2020-01-08 18:13:22 +00:00
2020-01-08 09:11:50 +00:00
2019-12-12 06:24:35 +00:00
2019-12-16 15:10:24 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 15:10:24 +00:00
2019-12-16 12:49:55 +00:00
2019-12-10 14:47:32 +00:00
2019-12-16 15:10:24 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2020-01-02 17:53:36 +00:00
2020-01-08 11:52:59 +00:00
2019-12-04 12:01:16 +00:00
2019-12-31 04:36:00 +00:00
2019-12-10 10:00:18 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 15:10:24 +00:00
2020-01-08 17:09:07 +00:00
2019-12-16 12:49:55 +00:00
2019-12-19 17:24:31 +00:00
2019-12-09 10:38:59 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2020-01-08 13:26:03 +00:00
2020-01-08 13:26:03 +00:00
2020-01-08 13:26:03 +00:00
2020-01-06 10:35:46 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2020-01-06 13:54:07 +00:00
2019-12-10 10:00:18 +00:00
2019-12-05 11:16:20 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 15:10:24 +00:00
2019-12-09 10:33:36 +00:00
2019-11-29 20:47:29 +00:00
2020-01-08 17:05:57 +00:00
2019-11-29 20:47:29 +00:00
2019-11-29 20:47:29 +00:00
2019-12-04 08:37:19 +00:00
2019-11-29 20:47:29 +00:00
2019-11-29 20:47:29 +00:00
2019-12-05 16:16:30 +00:00
2019-12-04 17:21:15 +00:00
2020-01-02 12:09:30 +00:00
2019-12-09 10:33:36 +00:00
2019-12-04 08:37:19 +00:00
2019-12-04 08:37:19 +00:00
2019-11-28 13:39:09 +00:00
2019-11-29 20:47:29 +00:00
2019-12-18 08:46:59 +00:00
2019-11-29 20:47:29 +00:00
2019-12-04 08:37:19 +00:00
2019-12-16 15:10:24 +00:00
2019-12-04 08:37:19 +00:00
2019-11-29 20:47:29 +00:00
2019-11-29 20:47:29 +00:00
2019-11-29 20:47:29 +00:00
2019-12-04 08:52:37 +00:00
2020-01-06 08:26:28 +00:00
2019-11-25 14:35:01 +00:00
2020-01-02 15:44:15 +00:00
2019-11-29 20:47:29 +00:00
2019-12-10 10:00:18 +00:00
2020-01-08 17:05:57 +00:00
2019-12-04 08:37:19 +00:00
2019-11-29 20:47:29 +00:00
2019-12-10 10:00:18 +00:00
2019-12-10 10:00:18 +00:00
2019-11-29 20:47:29 +00:00
2019-11-29 20:47:29 +00:00
2019-12-02 12:08:18 +00:00
2019-12-23 14:11:59 +00:00
2019-12-23 14:40:15 +00:00
2019-11-29 20:47:29 +00:00
2019-11-29 20:47:29 +00:00
2019-11-29 20:47:29 +00:00
2019-11-29 20:47:29 +00:00
2019-11-29 20:47:29 +00:00
2019-11-29 20:47:29 +00:00
2020-01-02 14:19:36 +00:00
2019-11-29 20:47:29 +00:00
2019-12-16 12:49:55 +00:00
2019-12-31 14:35:59 +00:00
2020-01-08 18:14:36 +00:00
2019-12-09 10:33:36 +00:00
2019-12-16 15:10:24 +00:00
2019-12-30 16:46:56 +00:00
2019-12-16 12:49:55 +00:00
2020-01-08 09:11:50 +00:00
2020-01-08 09:11:50 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 15:58:16 +00:00
2019-12-16 15:58:16 +00:00
2020-01-06 11:25:58 +00:00
2020-01-08 09:25:37 +00:00
2020-01-02 15:48:56 +00:00
2019-12-16 12:49:55 +00:00
2020-01-02 18:11:33 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2019-12-10 10:00:18 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2019-12-31 09:19:34 +00:00
2019-12-10 10:00:18 +00:00
2019-12-10 10:00:18 +00:00
2019-12-10 10:00:18 +00:00
2019-11-28 16:34:19 +00:00
2019-12-18 07:06:31 +00:00
2019-12-10 10:00:18 +00:00
2019-12-31 09:19:34 +00:00
2019-12-10 10:00:18 +00:00
2019-12-26 13:32:38 +00:00
2019-12-24 14:31:07 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2019-12-10 10:00:18 +00:00
2019-12-16 12:49:55 +00:00
2019-12-10 10:00:18 +00:00
2020-01-07 07:25:06 +00:00
2019-12-16 12:49:55 +00:00
2019-12-23 09:18:16 +00:00
2019-12-10 06:35:05 +00:00
2020-01-06 19:46:05 +00:00
2019-12-16 15:10:24 +00:00
2019-12-16 12:49:55 +00:00
2020-01-08 10:44:00 +00:00
2019-11-29 14:29:58 +00:00
2020-01-06 16:23:02 +00:00
2019-12-06 14:49:38 +00:00
2019-12-09 10:33:36 +00:00
2019-12-16 15:10:24 +00:00
2019-12-16 12:49:55 +00:00
2019-12-30 15:15:00 +00:00
2019-12-16 12:49:55 +00:00
2020-01-02 14:00:01 +00:00
2019-12-10 10:00:18 +00:00
2020-01-08 14:09:39 +00:00
2020-01-06 13:55:30 +00:00
2019-12-10 10:00:18 +00:00
2020-01-07 12:09:00 +00:00
2019-12-09 11:29:18 +00:00
2019-12-19 11:22:57 +00:00
2020-01-03 12:55:07 +00:00
2020-01-07 08:49:28 +00:00
2019-12-17 08:37:23 +00:00
2019-12-16 12:49:55 +00:00
2019-12-27 11:29:00 +00:00
2020-01-06 13:53:26 +00:00
2019-12-16 15:10:24 +00:00
2019-12-30 15:12:08 +00:00
2019-12-10 16:13:29 +00:00
2020-01-06 13:36:40 +00:00
2019-12-09 10:33:36 +00:00
2019-12-16 12:49:55 +00:00
2020-01-02 15:29:43 +00:00
2019-12-09 11:09:10 +00:00
2019-12-09 10:33:36 +00:00
2019-12-16 12:49:55 +00:00
2020-01-08 15:43:14 +00:00
2020-01-07 08:13:41 +00:00
2019-12-10 10:00:18 +00:00
2020-01-07 14:47:06 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 15:52:47 +00:00
2019-12-02 15:18:44 +00:00
2019-12-16 15:58:16 +00:00
2019-11-26 14:35:46 +00:00
2019-12-05 15:21:28 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2019-12-10 09:02:53 +00:00
2019-12-23 16:06:07 +00:00
2020-01-06 14:37:16 +00:00
2020-01-06 13:11:10 +00:00
2019-12-26 09:53:20 +00:00
2020-01-08 14:13:36 +00:00
2020-01-08 14:12:06 +00:00
2019-12-30 10:57:31 +00:00
2019-12-16 12:49:55 +00:00
2019-12-24 13:14:42 +00:00
2019-12-16 12:49:55 +00:00
2020-01-08 14:13:36 +00:00
2019-12-16 15:10:24 +00:00
2020-01-08 09:11:50 +00:00
2020-01-08 09:11:51 +00:00
2019-12-30 17:06:39 +00:00
2019-12-31 13:25:21 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2019-12-10 10:00:18 +00:00
2020-01-02 15:14:47 +00:00
2019-12-30 16:09:25 +00:00
2019-12-30 16:09:25 +00:00
2019-12-31 13:25:21 +00:00
2019-12-16 12:49:55 +00:00
2019-12-17 10:30:57 +00:00
2019-12-10 10:00:18 +00:00
2019-12-16 12:49:55 +00:00
2020-01-07 14:46:05 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 15:10:24 +00:00
2019-12-16 12:49:55 +00:00
2019-12-16 12:49:55 +00:00
2020-01-02 15:12:48 +00:00
2019-12-17 11:03:22 +00:00
2019-12-09 10:33:36 +00:00
2020-01-07 05:21:22 +00:00
2019-12-16 12:49:55 +00:00
2020-01-03 08:35:33 +00:00
2019-12-16 12:49:55 +00:00
2019-12-10 10:00:18 +00:00