A simple Odoo client using JSON RPC
Branch: master
Clone or download
azawawi Merge pull request #1 from samcv/SPDX-license
Use SPDX identifier in license field of META6.json
Latest commit d7469cb Dec 17, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Bump version to 0.0.2. Add more docs and markdown doc generation script Jan 23, 2017
examples
lib/Odoo Add a workaround for button_immediate_install (runtime method additio… Jan 23, 2017
logotype
t Switch to AUTHOR_TESTING Jan 20, 2017
tools Bump version to 0.0.2. Add more docs and markdown doc generation script Jan 23, 2017
.gitignore
.travis.yml Test on 2016.11 and latest on AppVeyor. Various CI script fixes Jan 23, 2017
LICENSE Initial commit Jan 16, 2017
META6.json
README.md Whitespace nudge Jan 23, 2017
appveyor.yml

README.md

Odoo::Client Build Status Build status

A simple Odoo ERP client that uses JSON RPC.

Example

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.

Installation

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

$ zef install Odoo::Client

Testing

  • 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

Author

Ahmad M. Zawawi, azawawi on #perl6

License

MIT License