summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/users.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-11-03 13:42:51 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-11-03 13:42:51 +0700
commit566a20db595a2b0a1959a12d289361b16e1ef172 (patch)
tree1cc955d3392241639a025b5860be246650f201c5 /indoteknik_custom/models/users.py
parent3a8d2713d749ce40d3755d4e0b22898ace4b0d6d (diff)
add approval in editing reconcile & journal entries
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)])