Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4309 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
lis 16
5419
2
kvě 23
8788
0
pro 20
4676
0
kvě 23
2256
1
bře 24
5351