Cmdlets for Odoo

Build 25.0.9434

CheckPermissions Parameter (Connect-Odoo Cmdlet)

Specifies whether the provider uses the Odoo user's permissions to determine which tables and views to expose.

Syntax

Connect-Odoo -CheckPermissions bool

Data Type

bool

Default Value

true

Remarks

Odoo users have different levels of access to various models. When this property is set to true, the cmdlet checks model-level permissions to classify objects:

  • Models the user can modify appear as tables.
  • Models the user can only read appear as views.
  • Models the user cannot access are excluded from the schema.

To perform this permissions check, the cmdlet queries the ir.model.access model. However, most users do not have read access to this model by default. If the connecting user lacks access, and administrator-level access cannot be granted, set this property to false.

When this property is set to false, the cmdlet skips the permissions check and lists all models in Odoo as tables, regardless of the user’s actual access level.

Set this property to false only if the connecting user lacks access to ir.model.access.

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