summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/ir_actions_report.py
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/models/ir_actions_report.py')
-rw-r--r--indoteknik_custom/models/ir_actions_report.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/ir_actions_report.py b/indoteknik_custom/models/ir_actions_report.py
index d620f8a7..286c3a3d 100644
--- a/indoteknik_custom/models/ir_actions_report.py
+++ b/indoteknik_custom/models/ir_actions_report.py
@@ -15,13 +15,13 @@ class IrActionsReport(models.Model):
return
telegram_data = {
'tittle': sale_order.name,
- 'about': 'Permintaan retur ' + sale_order.name,
+ 'about': sale_order.name + ' Telah Di Print',
'id_data': sale_order.id,
'username': '@' + sale_order.name.replace('/', '')
}
channel_data = self.env['website.telegram'].search([('tittle', '=', sale_order.name)])
if channel_data:
- channel_data.send_to_telegram(sale_order.name + " Telah di print")
+ channel_data.send_to_telegram(sale_order.name + " Telah di print Oleh " + self.env.user.name)
for pick in self:
self._check_telegram(pick)
else: