diff --git a/mail_activity_done/models/res_users.py b/mail_activity_done/models/res_users.py index 8d81aa6..69bac79 100644 --- a/mail_activity_done/models/res_users.py +++ b/mail_activity_done/models/res_users.py @@ -44,6 +44,7 @@ class ResUsers(models.Model): self.env[activity['model']]._original_module), 'total_count': 0, 'today_count': 0, 'overdue_count': 0, 'planned_count': 0, + 'type': 'activity', } user_activities[activity['model']][ '%s_count' % activity['states']] += activity['count']