Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4213 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
nov. 16
5265
2
mai 23
8675
0
déc. 20
4556
0
mai 23
2129
1
mars 24
5088