Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
4317 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
nov. 16
5421
2
maj 23
8797
0
dec. 20
4677
0
maj 23
2256
1
mar. 24
5353