summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-09-20 15:42:00 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-09-20 15:42:00 +0700
commitcabac3c1d89beb6a86e58be820a06d85607c8313 (patch)
tree4f5960e0df031c2fe7fc2bf5a6fcf85276da1b65
parente07e8f432560de2c2f5ad05d841e8caca2c153d0 (diff)
<iman> update new register
-rw-r--r--indoteknik_api/controllers/api_v1/user.py1
-rwxr-xr-xindoteknik_custom/models/res_users.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/indoteknik_api/controllers/api_v1/user.py b/indoteknik_api/controllers/api_v1/user.py
index 49a3e914..669da281 100644
--- a/indoteknik_api/controllers/api_v1/user.py
+++ b/indoteknik_api/controllers/api_v1/user.py
@@ -322,7 +322,6 @@ class User(controller.Controller):
'activation': True,
'user': self.response_with_token(user)
})
- # tambahkan send email ke user untuk kasi notifikasi akun bisnis ini dalam review
parameter = [
('user_id', '=', user.partner_id.id)
]
diff --git a/indoteknik_custom/models/res_users.py b/indoteknik_custom/models/res_users.py
index e339049d..d8eb348a 100755
--- a/indoteknik_custom/models/res_users.py
+++ b/indoteknik_custom/models/res_users.py
@@ -12,7 +12,7 @@ class ResUsers(models.Model):
otp_code = fields.Char(string='OTP Code')
otp_create_date = fields.Datetime(string='OTP Create Date')
payment_terms_id = fields.Many2one('account.payment.term', related='partner_id.property_payment_term_id', string='Payment Terms')
- user_company_name = fields.Char(string="User Company Name ")
+ user_company_name = fields.Char(string="User Company Name")
def _generate_otp(self):