roykin/erp/config.php
Serveur preprod be83006fb6 push dev
2016-06-01 11:53:40 +02:00

38 lines
784 B
PHP

<?php
ini_set("memory_limit","256M");
// CONFIGURATION
$url = 'http://roykin.erp-odoo.fr:8069';
$db = 'roykin';
$username = "admin";
$password = 'adminroykin123';
// Load Demo Data
// $info = ripcord::client('https://demo.odoo.com/start')->start();
// list($url, $db, $username, $password) = array($info['host'], $info['database'], $info['user'], $info['password']);
$common = ripcord::client("$url/xmlrpc/2/common");
$common->version();
$uid = $common->authenticate($db, $username, $password, array());
$assoc_attr = [
1 => 26,
3 => 28,
4 => 29,
5 => 30,
6 => 31,
10 => 27,
28 => 26,
27 => 28,
26 => 29,
25 => 30,
24 => 31,
40 => 26,
35 => 27,
44 => 29,
46 => 31,
43 => 28
];