diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-05-16 16:14:31 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-05-16 16:14:31 +0700 |
| commit | 2ab715ecff3ec0a63e5924cc1b3a65741c40b99f (patch) | |
| tree | c29e16b715b87b9821e2e1d15d6d74a9c79ee817 | |
| parent | 7295900f7495f1af4e7349bd6147ea7cb9edc26c (diff) | |
change from kota to kecamatan
| -rw-r--r-- | indoteknik_api/models/res_users.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_api/models/res_users.py b/indoteknik_api/models/res_users.py index 80de083d..69981e41 100644 --- a/indoteknik_api/models/res_users.py +++ b/indoteknik_api/models/res_users.py @@ -53,7 +53,7 @@ class ResUsers(models.Model): 'industry_id': user.industry_id.id or None, 'tax_name': user.nama_wajib_pajak or '', 'npwp': user.npwp or '', - 'rajaongkir_city_id': user.kota_id.rajaongkir_id or 0, + 'rajaongkir_city_id': user.kecamatan_id.rajaongkir_id or 0, } if user.kota_id: |
