stop sending not needed notification
This commit is contained in:
parent
55a5d3a166
commit
c302365b8e
|
|
@ -121,8 +121,8 @@ class InternalTransaction(models.Model):
|
|||
print(record.employee_id.employee_id.phone)
|
||||
print(message)
|
||||
request = company_id.send_sms(str(record.employee_id.employee_id.phone), message if message else "")
|
||||
for rec in record:
|
||||
rec.action_send_notification(subj, msg, partner_ids)
|
||||
# for rec in record:
|
||||
# rec.action_send_notification(subj, msg, partner_ids)
|
||||
return res
|
||||
|
||||
def action_approve(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue