Odoo::Client - A simple Odoo ERP client that uses JSON RPC
use v6;
use Odoo::Client;
my $odoo = Odoo::Client.new(
hostname => "localhost",
port => 8069
);
my $uid = $odoo.login(
database => "<database>",
username => '<email>',
password => "<password>"
);
printf("Logged on with user id '%d'\n", $uid);
A simple Odoo ERP client that uses JSON RPC.
Returns a Odoo::Client object that is associated with Odoo instance. You need to call login
to actually start doing useful operations.
Returns a hash of Odoo version information.
Logins to the Odoo database with provided authentication credentials.
Invoke a method on a model and returns its results
Returns an Odoo::Client::Model
model. This is a helper method.
Ahmad M. Zawawi, azawawi on #perl6
MIT License