Skip to Content
Menu
This question has been flagged
1 Atsakyti
4328 Rodiniai

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

Portretas
Atmesti
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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
lapkr. 16
5442
2
geg. 23
8815
0
gruod. 20
4704
0
geg. 23
2271
1
kov. 24
5404