build_domain
Generate validated Odoo domains from structured conditions to ensure proper data filtering in Odoo queries.
Instructions
Build a validated Odoo domain from structured conditions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conditions | Yes | ||
| fields_metadata | No | ||
| logical_operator | No | and |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | Reporting tool name. | |
| error | No | Sanitized error message when success is false. | |
| domain | No | Validated Odoo domain expression. | |
| issues | No | Validation errors and warnings. | |
| success | Yes | False when the call failed; see error. | |
| conditions | No | Normalized field/operator/value conditions. | |
| metadata_used | No |