From 3bb987d6dad51fb2b40d0ebec42c1143e8ee36ad Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Mon, 23 Sep 2024 09:28:45 +0700 Subject: update bug --- indoteknik_custom/models/user_company_request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.3