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

Hi,

I'm trying this code to update the tags_id of a lead. $result returns true but doesn't work.

$result = $models->execute_kw($db, $uid, $password, 'crm.lead', 'write', array( array((int)$lead_id), array('tag_ids' => array(4,$tag_id))));

Thanks in advance

Avatar
Descartar
Mejor respuesta

Hi, Santi:

take a look at this,

\http://thierry-godin.developpez.com/openerp/openerp-xmlrpc-php-en/

in the write method you can see an example,

Kind regards.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
nov 16
5008
2
may 23
8414
0
dic 20
4336
0
may 23
1899
1
mar 24
4590