Skip to Content
Menu
This question has been flagged
1 Reply
3689 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
1
Nov 16
4387
2
May 23
7493
0
Dec 20
3776
0
May 23
1273
1
Mar 24
2747