Files
odoo_source/addons
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
..
2019-12-10 10:00:18 +00:00
2019-12-10 10:00:18 +00:00
2020-01-07 11:10:41 +00:00
2020-01-08 09:11:50 +00:00
2020-01-02 17:53:36 +00:00
2019-12-05 16:16:30 +00:00
2020-01-02 12:09:30 +00:00
2020-01-06 08:26:28 +00:00
2019-12-10 10:00:18 +00:00
2020-01-08 14:09:39 +00:00
2020-01-06 14:37:16 +00:00