diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-23 09:28:45 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-23 09:28:45 +0700 |
| commit | 3bb987d6dad51fb2b40d0ebec42c1143e8ee36ad (patch) | |
| tree | 256f41e625f05f603951c51bbd25de8d0ac93327 | |
| parent | 6c5d45e9062c6d5b2c3c3070a3d4eaead923c101 (diff) | |
<iman> update bug
| -rw-r--r-- | indoteknik_custom/models/user_company_request.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/user_company_request.py b/indoteknik_custom/models/user_company_request.py index 8122c6a0..b02830bd 100644 --- a/indoteknik_custom/models/user_company_request.py +++ b/indoteknik_custom/models/user_company_request.py @@ -16,7 +16,7 @@ class UserCompanyRequest(models.Model): def write(self, vals): user = self.get_user_by_email(self.user_id.email) - user.user_company_name = self.user_input + user.parent_name = self.user_input is_approve = vals.get('is_approve') if self.is_approve and is_approve: raise UserError('Tidak dapat mengubah approval yang sudah diisi') |
