stop sending not needed notification

This commit is contained in:
ronozoro 2024-08-05 14:14:10 +03:00
parent 55a5d3a166
commit c302365b8e
No known key found for this signature in database
GPG Key ID: 7C2BDED35C62C0F3
1 changed files with 2 additions and 2 deletions

View File

@ -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):