[FIX] hr: do not notify user when assigned to employee

This commit is contained in:
Christophe Simonis
2016-12-15 13:23:36 +01:00
parent b792c05cb5
commit 10778d4521
+5
View File
@@ -229,6 +229,11 @@ class Employee(models.Model):
user_field_lst.append(name)
return user_field_lst
@api.multi
def _message_auto_subscribe_notify(self, partner_ids):
# Do not notify user it has been marked as follower of its employee.
return
class Department(models.Model):