sudo usermod -a -G sudo <username>
Evitando:
is not in the sudoers file. This incident will be reported.
sudo usermod -a -G sudo <username>
is not in the sudoers file. This incident will be reported.
$ sudo apt-get install build-essential g++
$open = new OpenERP();
$p = $open->res_partner('country')->get(1);
print $p->id;
print $p->country->id; //many2one => res.country
print $p->country('name')->name;
$fields = array('street', 'email');
$results = $open->res_partner_address($fields)->search('email', '=', 'foo@bar.com');
foreach ($results as $id => $address) {
print "<h1>" . $id . "</h1>";
print "<pre>" . $address->info() . "</pre>";
print "<hr>";
}