Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4197 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Nov 16
5242
2
Mei 23
8650
0
Des 20
4549
0
Mei 23
2099
1
Mar 24
5064