summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/users.py
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-11-10 15:51:23 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-11-10 15:51:23 +0700
commit25722cc3ab5ac5afef4d77947f8e2f27355e6837 (patch)
tree7184fd0af0129433446f8b195d7683e5494cc402 /indoteknik_custom/models/users.py
parent99e673d2cc5f702cf0a438126ba26d991a3ce6e4 (diff)
parentb4e74170aeaf00937f78e5af9047218ddb17516c (diff)
Merge branch 'production' into cr/auth
# Conflicts: # indoteknik_custom/__manifest__.py
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 b90c0097..2ff9933e 100644
--- a/indoteknik_custom/models/users.py
+++ b/indoteknik_custom/models/users.py
@@ -11,6 +11,7 @@ class Users(models.Model):
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')
+ is_admin_reconcile = fields.Boolean(string='Admin Reconcile', help='Berhak Mengedit Journal Reconcile')
def notify_internal_users(self, message, title):
users = self.search([('share', '=', False)])