跳至內容
選單
此問題已被標幟
1 回覆
4339 瀏覽次數

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

頭像
捨棄
最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
11月 16
5474
2
5月 23
8826
0
12月 20
4724
0
5月 23
2287
1
3月 24
5449