diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-20 15:42:00 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-20 15:42:00 +0700 |
| commit | cabac3c1d89beb6a86e58be820a06d85607c8313 (patch) | |
| tree | 4f5960e0df031c2fe7fc2bf5a6fcf85276da1b65 | |
| parent | e07e8f432560de2c2f5ad05d841e8caca2c153d0 (diff) | |
<iman> update new register
| -rw-r--r-- | indoteknik_api/controllers/api_v1/user.py | 1 | ||||
| -rwxr-xr-x | indoteknik_custom/models/res_users.py | 2 |
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): |
