summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/users.py
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2023-09-29 02:32:56 +0000
committerIT Fixcomart <it@fixcomart.co.id>2023-09-29 02:32:56 +0000
commit78f205302c35cab2512971d64c8152aab2dcfa95 (patch)
tree72be75ad949fe9efaf7b55c8f7f5722225538b28 /indoteknik_custom/models/users.py
parent50b5bd7bd984ef108e8bd324440050a222d8262f (diff)
parent0bb47005022b33c79ecfb5924d41f35ce794c5fb (diff)
Merged in production (pull request #126)
Production
Diffstat (limited to 'indoteknik_custom/models/users.py')
-rw-r--r--indoteknik_custom/models/users.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/users.py b/indoteknik_custom/models/users.py
index 14fcae98..b90c0097 100644
--- a/indoteknik_custom/models/users.py
+++ b/indoteknik_custom/models/users.py
@@ -10,6 +10,7 @@ class Users(models.Model):
is_leader = fields.Boolean(string='Leader', help='Berhak Approval SO Margin < 15 dan Approval PO')
is_accounting = fields.Boolean(string='Accounting', help='Berhak Approval Internal Use')
is_logistic_approver = fields.Boolean(string='Logistic Approver', help='Berhak Approval Penerimaan Barang')
+ is_editor_product = fields.Boolean(string='Editor Product', help='Berhak Mengedit Data Product')
def notify_internal_users(self, message, title):
users = self.search([('share', '=', False)])