parameters: (self)
return_statement: return activities
docstring: Update the systray icon of res.partner activities to use the
          contact application one instead of base icon.
docstring_summary: Update the systray icon of res.partner activities to use the
          contact application one instead of base icon.
docstring_tokens: Update the systray icon of res . partner activities to use the contact application one instead of base icon .
function: def systray_get_activities(self):
          """ Update the systray icon of res.partner activities to use the
          contact application one instead of base icon. """
          activities = super(Users, self).systray_get_activities()
          for activity in activities:
              if activity['model'] != 'res.partner':
                  continue
              activity['icon'] = modules.module.get_module_icon('contacts')
          return activities
function_tokens: def systray_get_activities ( self ) : activities = super ( Users , self ) . systray_get_activities ( ) for activity in activities : if activity [ 'model' ] != 'res.partner' : continue activity [ 'icon' ] = modules . module . get_module_icon ( 'contacts' ) return activities