saleorder

package
v0.32.0-beta2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Odoo16Client

type Odoo16Client interface {
	Read(string, []int64, *odooclient.Options, interface{}) error
	CreateSaleOrder(*odooclient.SaleOrder) (int64, error)
	FindResPartners(*odooclient.Criteria, *odooclient.Options) (*odooclient.ResPartners, error)
}

type Odoo16Credentials

type Odoo16Credentials = odooclient.ClientConfig

type Odoo16Options

type Odoo16Options struct {
	SaleOrderClientReferencePrefix string
	SaleOrderInternalNote          string
	Odoo8CompatibilityMode         bool
}

type Odoo16SaleOrderStorage

type Odoo16SaleOrderStorage struct {
	// contains filtered or unexported fields
}

func (*Odoo16SaleOrderStorage) CreateSaleOrder

func (s *Odoo16SaleOrderStorage) CreateSaleOrder(org organizationv1.Organization) (string, error)

func (*Odoo16SaleOrderStorage) GetSaleOrderName

func (s *Odoo16SaleOrderStorage) GetSaleOrderName(org organizationv1.Organization) (string, error)

type SaleOrderStorage

type SaleOrderStorage interface {
	CreateSaleOrder(organizationv1.Organization) (string, error)
	GetSaleOrderName(organizationv1.Organization) (string, error)
}

func NewOdoo16Storage

func NewOdoo16Storage(credentials *Odoo16Credentials, options *Odoo16Options) (SaleOrderStorage, error)

func NewOdoo16StorageFromClient

func NewOdoo16StorageFromClient(client Odoo16Client, options *Odoo16Options) SaleOrderStorage

Directories

Path Synopsis
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL