summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNicolas Seinlet <nse@odoo.com>2019-12-11 08:49:33 +0000
committerThibault Delavallée <tde@odoo.com>2020-01-08 18:14:36 +0000
commit611b4ed95aade192d9958549646bbfa2e11cae6a (patch)
tree21b471d411659538926be9196d644d2845d846c4 /addons/web/static/src/js/fields/basic_fields.js
parent8c18433605e5ca384a5491435068bb25624b406c (diff)
[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>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions