diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-12-09 11:21:16 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-12-09 11:21:16 +0700 |
| commit | 2123dbaab7b4ff49d90336d34e2be76e8eb07f8e (patch) | |
| tree | ffb262e609564fff1a506e91f1c23b601ee6a8d9 /indoteknik_api | |
| parent | 7ae86bcd136fcd3aebbaf9bb483ee474d2a19c0c (diff) | |
| parent | cb49fc4e0d1f8995626dbf2a12b5b29c67b98156 (diff) | |
Merge branch 'production' of bitbucket.org:altafixco/indoteknik-addons into production
Diffstat (limited to 'indoteknik_api')
| -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 52a044dc..77aeeef7 100644 --- a/indoteknik_api/models/res_users.py +++ b/indoteknik_api/models/res_users.py @@ -72,7 +72,7 @@ class ResUsers(models.Model): data['state_id'] = { 'id': user.state_id.id, 'name': user.state_id.name - } or None + } or 0 if user.kota_id: data['city'] = { |
