summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/users.py
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2023-11-25 02:42:37 +0000
committerIT Fixcomart <it@fixcomart.co.id>2023-11-25 02:42:37 +0000
commit4dcd1e3e1a3e4dced5a2d0d89d2fd4ee3e1fe7d3 (patch)
tree3e15c66065c81eead3fb40c9f87e3f2c269e20f2 /indoteknik_custom/models/users.py
parent2aee5a44abbe36961dfe23cc3d656aa48e11e0f9 (diff)
parent693e78afa8b9b4df99f417392b42bff12ea41f9e (diff)
Merged in production (pull request #132)
Production
Diffstat (limited to 'indoteknik_custom/models/users.py')
-rw-r--r--indoteknik_custom/models/users.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/users.py b/indoteknik_custom/models/users.py
index 2ff9933e..d95b56e7 100644
--- a/indoteknik_custom/models/users.py
+++ b/indoteknik_custom/models/users.py
@@ -12,6 +12,8 @@ class Users(models.Model):
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')
+ is_inbound = fields.Boolean(string='Operator Inbound')
+ is_outbound = fields.Boolean(string='Operator Outbound')
def notify_internal_users(self, message, title):
users = self.search([('share', '=', False)])