diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-01-10 10:09:18 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-01-10 10:09:18 +0700 |
| commit | e4abbde470d917d04256c9804b80d82194d73b51 (patch) | |
| tree | 5f3ec2b28c7197d339b58d13a93967fa4a498a53 /indoteknik_api/models | |
| parent | f0f31234dfaa22850ebb502211a4488b4981f17c (diff) | |
| parent | 9eeee43ec3cb57d02a2dcddf03768a2a8f3ea3d8 (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.py | 1 |
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 '', |
