summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/sourcing_job_order.py
diff options
context:
space:
mode:
authorHafidBuroiroh <hafidburoiroh09@gmail.com>2026-03-12 13:39:02 +0700
committerHafidBuroiroh <hafidburoiroh09@gmail.com>2026-03-12 13:39:02 +0700
commit92c2d5297ce7843a7f14c57a92878f57ba8cf8a3 (patch)
treec0c800d1c409f7e9a7cb7da86224aa3c3342c291 /indoteknik_custom/models/sourcing_job_order.py
parent4a70e8255a74b301104c4eeec9f7cf1874425f0a (diff)
<hafid> fix notif sourcing
Diffstat (limited to 'indoteknik_custom/models/sourcing_job_order.py')
-rw-r--r--indoteknik_custom/models/sourcing_job_order.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sourcing_job_order.py b/indoteknik_custom/models/sourcing_job_order.py
index 5099b91d..523064f9 100644
--- a/indoteknik_custom/models/sourcing_job_order.py
+++ b/indoteknik_custom/models/sourcing_job_order.py
@@ -649,7 +649,7 @@ class SourcingJobOrderLine(models.Model):
def action_ask_approval(self):
bot_sjo = '8335015210:AAGbObP0jQf7ptyqJhYdBYn5Rm0CWOd_yIM'
- chat_sjo = self.show_salesperson.chat_id_telegram or False
+ chat_sjo = self.show_salesperson.partner_id.chat_id_telegram or False
# chat_sjo = '6076436058'
api_base = f'https://api.telegram.org/bot{bot_sjo}/sendMessage'