odoo8

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const VSHNAccountingContactNameKey = "billing.appuio.io/vshn-accounting-contact-name"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.25.0

type Config struct {
	CountryIDs                   map[string]int
	AccountingContactDisplayName string
	LanguagePreference           string
	PaymentTermID                int
}

type FailedRecordScrubber added in v0.26.0

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

func NewFailedRecordScrubber added in v0.26.0

func NewFailedRecordScrubber(odooURL string, debugTransport bool) *FailedRecordScrubber

func (*FailedRecordScrubber) CleanupIncompleteRecords added in v0.26.0

func (s *FailedRecordScrubber) CleanupIncompleteRecords(ctx context.Context, minAge time.Duration) error

CleanupIncompleteRecords looks for partner records in Odoo that still have the "inflight" flag set despite being older than `minAge`. Those records are then deleted. Such records might come into existence due to a partially failed creation request.

type Odoo8Storage added in v0.26.0

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

func NewOdoo8Storage

func NewOdoo8Storage(odooURL string, debugTransport bool, conf Config) *Odoo8Storage

func (*Odoo8Storage) Create added in v0.26.0

func (*Odoo8Storage) Get added in v0.26.0

func (*Odoo8Storage) List added in v0.26.0

func (*Odoo8Storage) Update added in v0.26.0

Directories

Path Synopsis
clientmock
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