Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once('ripcord.php');
- $url = "http://192.168.99.100:8069";
- $db = "bevepe";
- $username = "admin";
- $password = "test";
- $common = ripcord::client("$url/xmlrpc/2/common");
- $uid = $common->authenticate($db, $username, $password, array());
- $models = ripcord::client("$url/xmlrpc/2/object");
- $test=$models->execute_kw($db, $uid, $password, 'product.template', 'write',
- array(array(12849), array('company_product'=>array(array(6,0,array(1,3,4))))));
- print_r($test)
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement