Skip to Content
Menú
This question has been flagged
1 Respondre
3489 Vistes

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 : /

Avatar
Descartar
Autor Best Answer

Company type will change to "Company" when field is_company==True

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de març 19
3578
1
d’ag. 25
370
2
de jul. 25
2818
3
de jul. 25
632
1
de juny 25
2092