summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-12-09 11:21:16 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-12-09 11:21:16 +0700
commit2123dbaab7b4ff49d90336d34e2be76e8eb07f8e (patch)
treeffb262e609564fff1a506e91f1c23b601ee6a8d9
parent7ae86bcd136fcd3aebbaf9bb483ee474d2a19c0c (diff)
parentcb49fc4e0d1f8995626dbf2a12b5b29c67b98156 (diff)
Merge branch 'production' of bitbucket.org:altafixco/indoteknik-addons into production
-rw-r--r--indoteknik_api/models/res_users.py2
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'] = {