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
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
1
März 19
|
3479 | ||
|
0
Juli 25
|
204 | ||
|
1
Juni 25
|
1877 | ||
|
1
Juli 25
|
866 | ||
|
1
Apr. 25
|
1529 |