[FIX] crm: use correct effect type

The rainbow_man effect has 'rainbow_man' type, not 'rainbow'.  This is
what happens when someone decides to change the spec after testing has
occurred...
This commit is contained in:
Géry Debongnie
2017-07-12 14:51:13 +02:00
parent 4330ea0267
commit 737033d987
+1 -1
View File
@@ -396,7 +396,7 @@ class Lead(models.Model):
'fadeout': 'slow',
'message': message,
'img_url': '/web/image/%s/%s/image' % (lead.team_id.user_id._name, lead.team_id.user_id.id) if lead.team_id.user_id.image else '/web/static/src/img/smile.svg',
'type': 'rainbow',
'type': 'rainbow_man',
}
}
return True