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
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
1
mar 19
|
4160 | |||
|
1
ago 25
|
1310 | |||
|
1
ago 25
|
1694 | |||
|
2
lug 25
|
4593 | |||
|
3
lug 25
|
1769 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.