diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-10-01 14:56:06 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-10-01 14:56:06 +0700 |
| commit | 37ee561ff633776ef984d4d9e441981aecbca762 (patch) | |
| tree | a397e0309a00762fc3a768268ae1475f350b73a8 /indoteknik_api | |
| parent | fba08fba49c8c885d2f087516892f0747922839a (diff) | |
<iman> update add parameter
Diffstat (limited to 'indoteknik_api')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_api/controllers/api_v1/user.py b/indoteknik_api/controllers/api_v1/user.py index 1528306f..8a9d8f68 100644 --- a/indoteknik_api/controllers/api_v1/user.py +++ b/indoteknik_api/controllers/api_v1/user.py @@ -447,7 +447,7 @@ class User(controller.Controller): ('name', 'ilike', business_name) ] if parent_id: - parameter = ['id', '=', parent_id] + parameter = (('id', '=', parent_id)) match_company = request.env['res.partner'].search(parameter, limit=1) match_ratio = 0 if match_company: |
