Skip to content

amawaziny/odoo-jsonrpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Odoo JSON-RPC

This library allows you to interact with Odoo Modules ORMs by retrieving all json strings as Java Object

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

#!java

OeExecutor executor = OeExecutor.getInstance(SCHEME, HOST, PORT, DATABASE, USERNAME, PASSWORD);
OeUserService service = new OeUserService(executor);
OeUser oeUser = service.findById(id);

Prerequisities

JDK6

Running the tests

  1. Change skipTests value to false

         <skipTests>false</skipTests>
    
  2. Configure test to connect to your Odoo server in /src/test/java/com/odoo/rpc/AbstractBaseTest.java

  3.      $ mvn clean install
    

Deployment

  • Include this library jar to you android, desktop or web application

  • Add to your local repository for use in your builds

      $ mvn install:install-file -Dfile=<path-to-odoo-jsonrpc-1.0.jar>
      
      $ mvn install:install-file -Dfile=<path-to-odoo-jsonrpc-1.0-javadoc.jar> -DgroupId=org.qfast.odoo-rpc \
      -DartifactId=odoo-jsonrpc -Dversion=1.0 -Dpackaging=jar
      
    
      $ mvn install:install-file -Dfile=<path-to-odoo-jsonrpc-1.0-sources.jar> -DgroupId=org.qfast.odoo-rpc \
      -DartifactId=odoo-jsonrpc -Dversion=1.0 -Dpackaging=jar
    

Built With

  • Maven

Authors

License

This project is licensed under Apache License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages