# README
Odoo JSONRPC
A client that allows us to query Odoo using JSONRPC.
Tests
To run the unit tests - task tests
To run the int tests - task int-tests
# Functions
Connect attempts to connect to Odoo server and returns the client or error.
# Constants
No description provided by the author
ProductModelID is the model identifier for a product within Odoo.
ProductTemplateID is the model identifier for a product template within Odoo.
No description provided by the author
SaleOrderModelID is the model identifier we use to fetch a SaleOrder from Odoo.
# Variables
CustomerNotFound is returned if we don't find the customer within Odoo.
# Structs
AuthError struct holds data for an authentication error response.
AuthErrorData struct holds data from an authentication error response.
AuthParams struct holds authentication parameters required for an auth request.
AuthRequest struct used to hold data for an authentication request.
AuthResponse struct holds response data returned from Odoo server.
AuthResult struct hold authentication data returned after successfull login.
Client holds client connection and the server metadata.
Customer represents a customer within Odoo.
OrderLineItem is a product that gets added to an order.
Product represents a product within Odoo.
ProductTemplate is the struct used to create a product within Odoo.
RPCError struct holds data related to RPC error.
RPCErrorData struct holds error data from a request error.
RPCResponse struct holds data returned from server on a successfull request.
SaleOrder represents a sales order within Odoo.
# Type aliases
List is a shortcut to []interface{}.