This commit is contained in:
eslamabady 2024-10-13 14:09:11 +03:00
parent 710c72d76b
commit 01a32a4d77
1 changed files with 4 additions and 4 deletions

View File

@ -218,10 +218,10 @@ class EmployeeNotification(models.Model):
})}
partner_id.send_notification(
subject,msg,data=data, all_device=True)
emp.user_push_notification({
'title' : rec.msg,
'body' : rec.subject,
})
# emp.user_push_notification({
# 'title' : rec.msg,
# 'body' : rec.subject,
# })
else:
raise ValidationError(_("No employee Selected"))
rec.state = 'send'