Skip to content

magma-labs/solidus_odoo

Repository files navigation

SolidusOdoo

Introduction goes here.

Installation

Add solidus_odoo to your Gemfile:

gem 'solidus_odoo'

Add ooor to your Gemfile:

gem 'ooor', git: 'https://github.com/akretion/ooor.git'

For more info on Ooor gem you can Click here

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g solidus_odoo:install

Odoo Gem

The ooor gem will generate an ooor.yml in your config/ path You will have to configure this file with your data. Example:

development:
  database: XXXXXXXXXXX
  username: XXXXXXXXXXX
  password: XXXXXXXXXXX
  url:      XXXXXXXXXXX

Here you will place all the necessary credentials to get access to your odoo account.

For more info on Odoo you can Click here

For More information about the API, you can consult the odoo documentation here: Odoo Api Dcumentation

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs, and Rubocop static code analysis. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'solidus_odoo/factories'

Copyright (c) 2018 [name of extension creator], released under the New BSD License

About

Solidus extension for Odoo Integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published