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
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
2
sie 25
|
2523 | ||
|
3
lut 25
|
3829 | ||
|
0
maj 24
|
46 | ||
|
1
kwi 24
|
3523 | ||
|
4
wrz 23
|
5071 |