A simple Odoo client using JSON RPC
Perl 6
Switch branches/tags
Nothing to show
Latest commit d7469cb Dec 16, 2017 @azawawi azawawi Merge pull request #1 from samcv/SPDX-license
Use SPDX identifier in license field of META6.json


Odoo::Client Build Status Build status

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);

For more examples, please see the examples folder.


To install it using zef (a module management tool bundled with Rakudo Star):

$ zef install Odoo::Client


  • To run tests:
$ prove -ve "perl6 -Ilib"
  • To run all tests including author tests (Please make sure Test::Meta is installed):
$ zef install Test::META
$ AUTHOR_TESTING=1 prove -e "perl6 -Ilib"

See Also


Ahmad M. Zawawi, azawawi on #perl6


MIT License