diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-01-21 13:43:29 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-01-21 13:43:29 +0700 |
| commit | ff20b62d6932c6be4ffb56f63f3c05be3aa72c06 (patch) | |
| tree | b9bfad89162ade294b904275feba80d74d9a7b26 /indoteknik_custom/models/user_merchant_request.py | |
| parent | c7f6d959e0e7a2e8adc45cff515f2b5666f3e732 (diff) | |
<iman> update merchant
Diffstat (limited to 'indoteknik_custom/models/user_merchant_request.py')
| -rw-r--r-- | indoteknik_custom/models/user_merchant_request.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/user_merchant_request.py b/indoteknik_custom/models/user_merchant_request.py index 7f6c5f3c..a373a771 100644 --- a/indoteknik_custom/models/user_merchant_request.py +++ b/indoteknik_custom/models/user_merchant_request.py @@ -70,6 +70,7 @@ class UserMerchantRequest(models.Model): def write(self, vals): is_approve = True if self.state_merchant == 'approved' or vals.get('state_merchant') == 'approved' else False if is_approve: + # Informasi Perusahaan self.user_company_id.name_merchant = self.merchant_id.name_merchant self.user_company_id.pic_merchant = self.merchant_id.pic_merchant self.user_company_id.address_merchant = self.merchant_id.address |
