search_by_attribute
Search Odoo elements using advanced attribute filtering. Find models, fields, views, or actions by specific attributes like field type, model type, or view type.
Instructions
Search Odoo elements by their attributes (advanced filtering).
Args: item_type: Type of item to search (model/field/view/action/etc) attribute_filters: Dict of attribute filters (e.g., {"field_type": "Many2one", "required": true}) module: Filter by module (optional) limit: Maximum results per page (default: 20, max: 100) offset: Number of results to skip for pagination (default: 0)
Returns: Matching items with their details and pagination info
Examples: - Find all Many2one fields: item_type="field", attribute_filters={"field_type": "Many2one"} - Find all transient models: item_type="model", attribute_filters={"model_type": "transient"} - Find all form views: item_type="view", attribute_filters={"view_type": "form"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| module | No | ||
| offset | No | ||
| item_type | Yes | ||
| attribute_filters | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||