diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2023-07-24 08:38:12 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2023-07-24 08:38:12 +0000 |
| commit | c344ccd81208b5b466ae047dbb9e084dd5d0f358 (patch) | |
| tree | c07caf6a1df48719b828fbe270bb62ccc3e0c947 /indoteknik_api/models/res_users.py | |
| parent | 989002aca3ed9b1e724e9b98d8ca3513ba598663 (diff) | |
| parent | 2ad6b4ecf783b5dfe0d4aa11f238cbf6aefd9747 (diff) | |
Merged in production (pull request #66)
Production
Diffstat (limited to 'indoteknik_api/models/res_users.py')
| -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 69981e41..0fe9008b 100644 --- a/indoteknik_api/models/res_users.py +++ b/indoteknik_api/models/res_users.py @@ -20,6 +20,7 @@ class ResUsers(models.Model): data = { 'id': res_user.id, 'parent_id': res_user.parent_id.id or False, + 'parent_name': res_user.parent_id.name or False, 'partner_id': res_user.partner_id.id, 'name': res_user.name, 'email': res_user.login, |
