How do you fill a selection field with API? Tried using
server.execute_kw(db, uid, password, 'res.partner', 'write', [[id], {
'company_type': 'company'
}])
Also tried 'Company', 1 (as it's the 2nd member of the selection)
Got no ideas left : /
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How do you fill a selection field with API? Tried using
server.execute_kw(db, uid, password, 'res.partner', 'write', [[id], {
'company_type': 'company'
}])
Also tried 'Company', 1 (as it's the 2nd member of the selection)
Got no ideas left : /
Company type will change to "Company" when field is_company==True
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
1
mar. 19
|
3471 | ||
|
0
jul. 25
|
164 | ||
|
1
jun. 25
|
1857 | ||
|
1
jul. 25
|
847 | ||
Original project names via the API
Resolvido
|
|
1
abr. 25
|
1522 |