diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-11-08 13:56:37 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-11-08 13:56:37 +0700 |
| commit | 1cf2ec912af62cca22de4c529d1bec154ca33bac (patch) | |
| tree | 14ea6e1f91df45112d3b192f2141bfe7fb111223 /indoteknik_custom/models/user_company_request.py | |
| parent | 4f4bcf8ba7aa3f3f1b688997d9ec8b8cd913dad3 (diff) | |
<iman> update quotation website
Diffstat (limited to 'indoteknik_custom/models/user_company_request.py')
| -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 86e66934..64e11700 100644 --- a/indoteknik_custom/models/user_company_request.py +++ b/indoteknik_custom/models/user_company_request.py @@ -74,7 +74,7 @@ class UserCompanyRequest(models.Model): if not self.is_approve and is_approve: if is_approve == 'approved': - self.user_id.parent_id = self.user_company_id.id + self.user_id.parent_id = self.user_company_id.id if self.user_company_id.id else vals.get('user_company_id') self.user_id.customer_type = self.user_company_id.customer_type self.user_id.npwp = self.user_company_id.npwp self.user_id.sppkp = self.user_company_id.sppkp |
