Merge branch 'preprod_odex25_transactions' into dev_odex25_transactions

This commit is contained in:
zainab2097 2024-09-30 15:01:42 +03:00 committed by GitHub
commit 0105d4e1f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -122,8 +122,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):

View File

@ -152,6 +152,9 @@
<field name="margin_top">60</field>
<field name="margin_right">10</field>
<field name="margin_bottom">36</field>
<field name="margin_top">62</field>
<field name="margin_right">10</field>
<field name="margin_bottom">40</field>
<field name="margin_left">10</field>
<field name="header_line" eval="False"/>
<field name="header_spacing">35</field>