summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/sourcing_job_order.py
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2026-03-12 06:39:51 +0000
committerIT Fixcomart <it@fixcomart.co.id>2026-03-12 06:39:51 +0000
commitb91d6d680dbb1c34c23ba6f3818db27dc4c335df (patch)
tree6021a684f553e50ec0156a4b2dd95c67c09178b3 /indoteknik_custom/models/sourcing_job_order.py
parent0ef21d76d449faa2262c84fe88c2ef2578b388d2 (diff)
parent92c2d5297ce7843a7f14c57a92878f57ba8cf8a3 (diff)
Merged in CR/Sourcing-Job (pull request #499)
<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'