summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2022-08-05 17:21:45 +0700
committerIT Fixcomart <it@fixcomart.co.id>2022-08-05 17:21:45 +0700
commit84e47ff9d92b7699f4fa151f3665da0c25f6208f (patch)
tree48a5d97d0fa7b674a8b9560a9a589bfb4c80c565
parent38e43997754a6f2c7eadacd5bf09d8481f82bccc (diff)
Menambahkan field reset_password_token di model res.users
-rw-r--r--indoteknik_custom/models/__init__.py1
-rw-r--r--indoteknik_custom/models/res_users.py7
2 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/models/__init__.py b/indoteknik_custom/models/__init__.py
index afef17eb..6573205e 100644
--- a/indoteknik_custom/models/__init__.py
+++ b/indoteknik_custom/models/__init__.py
@@ -9,3 +9,4 @@ from . import x_partner_purchase_order
from . import x_product_tags
from . import stock_vendor
from . import crm_lead
+from . import res_users
diff --git a/indoteknik_custom/models/res_users.py b/indoteknik_custom/models/res_users.py
new file mode 100644
index 00000000..16820952
--- /dev/null
+++ b/indoteknik_custom/models/res_users.py
@@ -0,0 +1,7 @@
+from odoo import models, fields
+
+
+class ResUsers(models.Model):
+ _inherit = 'res.users'
+
+ reset_password_token = fields.Char(string="Reset Password Token")