Cmdlets for Odoo

Build 25.0.9434

OdooEdition Parameter (Connect-Odoo Cmdlet)

Specifies the edition of Odoo that you are connecting to: Odoo Online or Odoo OnPremise.

Syntax

Connect-Odoo -OdooEdition string

Possible Values

Odoo Online, Odoo OnPremise

Data Type

cstr

Default Value

"Odoo Online"

Remarks

This property determines how the cmdlet interacts with your Odoo instance based on its deployment type:

  • When set to Odoo Online, the cmdlet adjusts float, decimal, and double handling in INSERT statements to account for the system's locale and cultural settings. This helps ensure proper formatting and compatibility with cloud-hosted Odoo instances.
  • When set to Odoo OnPremise, the cmdlet assumes a local deployment and disables certain behaviors specific to Odoo Online.

Set this property to match the environment your Odoo instance is running in. If you're using Odoo via a hosted subdomain like https://yourcompany.odoo.com, choose Odoo Online. For self-hosted instances, choose Odoo OnPremise.

This is a required parameter.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434