summaryrefslogtreecommitdiff
path: root/indoteknik_api/models
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-01-10 10:09:18 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-01-10 10:09:18 +0700
commite4abbde470d917d04256c9804b80d82194d73b51 (patch)
tree5f3ec2b28c7197d339b58d13a93967fa4a498a53 /indoteknik_api/models
parentf0f31234dfaa22850ebb502211a4488b4981f17c (diff)
parent9eeee43ec3cb57d02a2dcddf03768a2a8f3ea3d8 (diff)
Merge branch 'release' of bitbucket.org:altafixco/indoteknik-addons into release
Diffstat (limited to 'indoteknik_api/models')
-rw-r--r--indoteknik_api/models/res_users.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_api/models/res_users.py b/indoteknik_api/models/res_users.py
index 2cab29bd..8eddc85e 100644
--- a/indoteknik_api/models/res_users.py
+++ b/indoteknik_api/models/res_users.py
@@ -7,6 +7,7 @@ class ResUsers(models.Model):
def api_single_response(self, res_user, with_detail=''):
data = {
'id': res_user.id,
+ 'partner_id': res_user.partner_id.id,
'name': res_user.name,
'email': res_user.login,
'phone': res_user.phone or '',