diff options
| author | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-11-12 08:41:10 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-11-12 08:41:10 +0700 |
| commit | 4274751a04b7fc02b38a0af4683f06ae4f5508ad (patch) | |
| tree | 47ba4f8a55d4848693183d3836d7eaf41fa44a7a | |
| parent | c1fec44860dae0d762959f1ab34617f6ef6e42cf (diff) | |
fix notify
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index 6b1057dd..861089d5 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -2395,8 +2395,8 @@ class SaleOrder(models.Model): self.check_credit_limit() self.check_limit_so_to_invoice() order.approval_status = 'pengajuan1' - order.message_post(body="Mengajukan approval ke Team Sales") - return self._create_approval_notification('Team Sales') + order.message_post(body="Mengajukan approval ke Sales") + return self._create_approval_notification('Sales') if not order.with_context(ask_approval=True)._is_request_to_own_team_leader(): return self._create_notification_action( |
