From 69b84d53a07b77aaca96f88ff4a3b24e52d48fc3 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Mon, 20 Jan 2025 12:57:18 +0700 Subject: update code --- indoteknik_custom/models/ir_actions_report.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indoteknik_custom/models/ir_actions_report.py') diff --git a/indoteknik_custom/models/ir_actions_report.py b/indoteknik_custom/models/ir_actions_report.py index 31bcf168..e6b9c303 100644 --- a/indoteknik_custom/models/ir_actions_report.py +++ b/indoteknik_custom/models/ir_actions_report.py @@ -14,7 +14,8 @@ class IrActionsReport(models.Model): if sale_order.amount_total < 200000000: return # id ci vita 79160 - partner = request.env['res.partner'].search([('id', '=', 112718)], limit=1) + # id iman 112718 + partner = request.env['res.partner'].search([('id', '=', 79160)], limit=1) telegram_data = { 'tittle': sale_order.name, 'about': sale_order.name, -- cgit v1.2.3