Merge pull request #522 from expsa/pla-fix-trans-issue-225

Pla fix trans issue 225
This commit is contained in:
Moutaz Muhammad 2024-08-05 14:17:57 +03:00 committed by GitHub
commit 53f2f8d196
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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):