diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-09-23 02:29:32 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-09-23 02:29:32 +0000 |
| commit | d89ee26b54212ad5f4c1d45d71f6b2292102a682 (patch) | |
| tree | 5eb500cec23ad7a862a0a9529873ad11d3bb6726 | |
| parent | 24d8b692fe8f85d638da0c9d4fbc22a860464ed9 (diff) | |
| parent | 3bb987d6dad51fb2b40d0ebec42c1143e8ee36ad (diff) | |
Merged in iman/new-register (pull request #227)
<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') |
