Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3502 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
3583
1
ago 25
387
2
jul 25
2831
3
jul 25
637
1
jun 25
2103