summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2026-03-13 01:52:40 +0000
committerIT Fixcomart <it@fixcomart.co.id>2026-03-13 01:52:40 +0000
commit7bb3ce76513f49202d77df01a04f7ca9203b41f0 (patch)
tree512b9720189caa8cdf7f2c9917e2bbc2b6f9f42e
parentaa26f8dc29f0bab83a702243f4801fd017c50387 (diff)
parentb29d8538eb4b2f42ff60e896f9a1647e962d8ffc (diff)
Merged in CR/Sourcing-Job (pull request #503)
<hafid> fix notif sourcing
-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"