This module is used for adding extra parameters to the AI OCA Bridge's payloads
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets you add custom extra parameters to the data sent to the AI system by the AI OCA Bridge, using either simple expressions or small formulas.
This module extends the AI OCA Bridge so that each AI bridge configuration can include additional pieces of information in the request sent to the AI system.
On the AI bridge form, a new "Extra Parameters" field lets you attach one or more extra parameters. These are managed from a new menu entry "AI Bridge Extra Parameters" under the AI Bridge menu, where you can create, list and edit them.
Each extra parameter has a name, a type of evaluation (Expression or Formula) and a context (Record or Bridge Self).
- With Expression, you write text that may contain values in curly braces; each value is calculated from the record or from the bridge itself and inserted into the text.
- With Formula, you write a small script that must assign a value to a variable called result; this value is sent as the parameter.
The module checks what you write when you save: it rejects unsafe operations (such as writing, deleting, importing or executing code), unknown variables, unbalanced braces, and formulas that do not set result. It also provides validation buttons on the parameter form.
When a bridge builds its request, the extra parameters are evaluated and added under extra_parameters. For sample payloads, a record is picked automatically if needed.
Depends on
Menus it adds
Models and fields (2)
- ai.bridge · extends an existing modelextra_parameter_ids (Extra Parameters)
- ai.extra.parameter · new modelname, formula, expression, evaluate_type, parameter_type
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/ai.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0This module allows adding extra parameters to be sent in the bridge's payloads, using Python expressions. These parameters, unlike fields, can be used independently from the model.
Extra Parameters
Create extra parameters by navigating to: AI Bridge → AI Bridge Extra Parameters. Extra parameters define what additional information will be available in the payload.
Fields Description
Parameter Type:
- Record: Evaluated in the context of the record being processed.
- Bridge Self: Evaluated in the context of the AI Bridge itself (useful for using
self.env[...]).
Name: Name for this extra parameter.
Value: The actual information the agent will use.
- Use curly braces
{}for dynamic values. Example:{object.name}forobject.name,{object.env["product.product"].search([]).mapped("name")}for passing all product names. - Without braces: the agent receives literal text.
Usage
Source · Odoo 18.0When configuring AI OCA Bridge's record payload, add some of your previously created extra parameters.
No verified information in OCA: Installation.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.