partner_id=modelsE.execute_kw(dbE, uidE, passwordE, 'res.partner', 'search', ['partner_id_enterprise', '=', val['partner_id_enterprise']],)
TypeError: string indices must be integers
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
partner_id=modelsE.execute_kw(dbE, uidE, passwordE, 'res.partner', 'search', ['partner_id_enterprise', '=', val['partner_id_enterprise']],)
TypeError: string indices must be integers
Hi,
It seems the type of variable val is string, so you cannot call like val['partner_id_enterprise'], please verify the data type is expected to be string itself, or make necessary change.
Thanks
| 関連投稿 | 返信 | ビュー | 活動 | |
|---|---|---|---|---|
|
2
8月 25
|
3611 | |||
|
3
2月 25
|
5051 | |||
|
0
5月 24
|
46 | |||
|
1
4月 24
|
4313 | |||
|
4
9月 23
|
6288 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.