summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-08-08 13:13:31 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-08-08 13:13:31 +0700
commitccdebe1c144323569efa2a9eecbcb4ca7849960e (patch)
treef0d623431c003aa9bfeacf9dcdf80cf240de036a
parent84bc1b36415d2f8baecaf6d5acdd4bf77d4187e0 (diff)
<miqdad> cancel permission
-rw-r--r--indoteknik_custom/models/tukar_guling_po.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/tukar_guling_po.py b/indoteknik_custom/models/tukar_guling_po.py
index cbbfb348..0badc117 100644
--- a/indoteknik_custom/models/tukar_guling_po.py
+++ b/indoteknik_custom/models/tukar_guling_po.py
@@ -497,7 +497,7 @@ class TukarGulingPO(models.Model):
user = self.env.user
if not (
- user.has_group('indoteknik_custom.group_role_sales') or
+ user.has_group('indoteknik_custom.group_role_purchasing') or
user.has_group('indoteknik_custom.group_role_fat') or
user.has_group('indoteknik_custom.group_role_logistic')
):