Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3467 Vistas

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 Mejor respuesta

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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 19
3549
2
jul 25
2720
3
jul 25
551
1
jul 25
243
1
jun 25
1993