Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4230 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
лист. 16
5294
2
трав. 23
8687
0
груд. 20
4571
0
трав. 23
2145
1
бер. 24
5125