summaryrefslogtreecommitdiff
path: root/indoteknik_custom
diff options
context:
space:
mode:
authorHafidBuroiroh <hafidburoiroh09@gmail.com>2026-03-13 08:51:55 +0700
committerHafidBuroiroh <hafidburoiroh09@gmail.com>2026-03-13 08:51:55 +0700
commitb29d8538eb4b2f42ff60e896f9a1647e962d8ffc (patch)
tree512b9720189caa8cdf7f2c9917e2bbc2b6f9f42e /indoteknik_custom
parenta265a0d89375f54a251969e789410e76deda5e8a (diff)
<hafid> fix notif sourcing
Diffstat (limited to 'indoteknik_custom')
-rw-r--r--indoteknik_custom/models/sourcing_job_order.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/indoteknik_custom/models/sourcing_job_order.py b/indoteknik_custom/models/sourcing_job_order.py
index 15ea85b0..a93368dc 100644
--- a/indoteknik_custom/models/sourcing_job_order.py
+++ b/indoteknik_custom/models/sourcing_job_order.py
@@ -895,12 +895,6 @@ class SourcingJobOrderLine(models.Model):
subtype_xmlid="mail.mt_comment"
)
- if rec.md_person_ids:
- rec.md_person_ids.notify_success(
- message=f"Produk '{rec.product_name_md}' telah di-approve sales.",
- title="Approval Approved"
- )
-
self.env.user.notify_success(
message=f"Produk '{rec.product_name_md}' berhasil di-approve.",
title="Approved"