Skip to Content
मेन्यू
This question has been flagged
1 Reply
3307 Views

partner_id=modelsE.execute_kw(dbE, uidE, passwordE, 'res.partner', 'search', ['partner_id_enterprise', '=', val['partner_id_enterprise']],)

 TypeError: string indices must be integers

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
2
अग॰ 25
2521
3
फ़र॰ 25
3824
0
मई 24
46
1
अप्रैल 24
3522
4
सित॰ 23
5068