[12.0][FIX] mail_activity_done module

This commit is contained in:
Adrià Gil Sorribes 2019-05-06 09:58:10 +02:00 committed by Bernat Puig Font
parent 9e44958f98
commit e5f1c8c338

View File

@ -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']