AI OCA Bridge Extra Parameters

ai_oca_bridge_extra_parameters
REPOSITORY
REPOSITORYOCA/ai
GIT
GIThttps://github.com/OCA/ai.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/ai/tree/18.0/ai_oca_bridge_extra_parameters
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAI
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Binhex
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Binhex
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Ariel Barreiros
WEBSITE
WEBSITEhttps://github.com/OCA/ai
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/ai:
    - ai_oca_bridge
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module is used for adding extra parameters to the AI OCA Bridge's payloads

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
ai_bridge_form_view_extra_parameters ai.bridge.form.extra.parameters ai.bridge field Inherits ai_oca_bridge.ai_bridge_form_view
view_ai_extra_parameter_form ai.extra.parameter.form ai.extra.parameter form New
view_ai_extra_parameter_tree ai.extra.parameter.tree ai.extra.parameter list New
Models touched (2)

New fields (1)
  • extra_parameter_ids Many2many → ai.extra.parameter
    help='Additional parameters to be sent to the AI system. These can be used to customize the AI request using expressions or fixed input.' string='Extra Parameters' args: 'ai.extra.parameter'
Public methods (0)

No public methods.

New fields (5)
  • evaluate_type Selection
    default='expression' help="Defines how the parameter is evaluated. 'expression' means it will be evaluated as a Python expression, 'formula' means it will be evaluated as a formula expression." required=True args: [('expression', 'Expression'), ('formula', 'Formula')]
  • expression Char
  • formula Text
    default="if object:\n result = {'result_key': object.property}\n"
  • name Char
    required=True
  • parameter_type Selection
    default='record' help="Defines the context in which this parameter is evaluated. 'record' means it will be evaluated in the context of the record being processed, 'self' means it will be evaluated in the context of the AI bridge itself." required=True args: [('record', 'Record'), ('self', 'Bridge Self')]
Public methods (3)
  • evaluate_parameter(self, obj=None)
  • validate_parameter_expression(self)
  • validate_parameter_formula(self)
REPOSITORY
REPOSITORYOCA/ai
GIT
GIThttps://github.com/OCA/ai.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/ai/tree/17.0/ai_oca_bridge_extra_parameters
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAI
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Binhex
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Binhex
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Ariel Barreiros, Adasat Torres de Leon
WEBSITE
WEBSITEhttps://github.com/OCA/ai
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/ai:
    - ai_oca_bridge
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module is used for adding extra parameters to the AI OCA Bridge's payloads

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
ai_bridge_form_view_extra_parameters ai.bridge.form.extra.parameters ai.bridge field Inherits ai_oca_bridge.ai_bridge_form_view
view_ai_extra_parameter_form ai.extra.parameter.form ai.extra.parameter form New
view_ai_extra_parameter_tree ai.extra.parameter.tree ai.extra.parameter tree New
Models touched (2)

New fields (1)
  • extra_parameter_ids Many2many → ai.extra.parameter
    help='Additional parameters to be sent to the AI system. These can be used to customize the AI request using expressions or fixed input.' string='Extra Parameters' args: 'ai.extra.parameter'
Public methods (0)

No public methods.

New fields (5)
  • evaluate_type Selection
    default='expression' help="Defines how the parameter is evaluated. 'expression' means it will be evaluated as a Python expression, 'formula' means it will be evaluated as a formula expression." required=True args: [('expression', 'Expression'), ('formula', 'Formula')]
  • expression Char
  • formula Text
    default="if object:\n result = {'result_key': object.property}\n"
  • name Char
    required=True
  • parameter_type Selection
    default='record' help="Defines the context in which this parameter is evaluated. 'record' means it will be evaluated in the context of the record being processed, 'self' means it will be evaluated in the context of the AI bridge itself." required=True args: [('record', 'Record'), ('self', 'Bridge Self')]
Public methods (3)
  • evaluate_parameter(self, obj=None)
  • validate_parameter_expression(self)
  • validate_parameter_formula(self)
REPOSITORY
REPOSITORYOCA/ai
GIT
GIThttps://github.com/OCA/ai.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/ai/tree/16.0/ai_oca_bridge_extra_parameters
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAI
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Binhex
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Binhex
COMMITTERS
COMMITTERSWeblate, oca-ci, Ariel Barreiros
WEBSITE
WEBSITEhttps://github.com/OCA/ai
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/ai:
    - ai_oca_bridge
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module is used for adding extra parameters to the AI OCA Bridge's payloads

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
ai_bridge_form_view_extra_parameters ai.bridge.form.extra.parameters ai.bridge field Inherits ai_oca_bridge.ai_bridge_form_view
view_ai_extra_parameter_form ai.extra.parameter.form ai.extra.parameter form New
view_ai_extra_parameter_tree ai.extra.parameter.tree ai.extra.parameter tree New
Models touched (2)

New fields (1)
  • extra_parameter_ids Many2many → ai.extra.parameter
    help='Additional parameters to be sent to the AI system. These can be used to customize the AI request using expressions or fixed input.' string='Extra Parameters' args: 'ai.extra.parameter'
Public methods (0)

No public methods.

New fields (5)
  • evaluate_type Selection
    default='expression' help="Defines how the parameter is evaluated. 'expression' means it will be evaluated as a Python expression, 'formula' means it will be evaluated as a formula expression." required=True args: [('expression', 'Expression'), ('formula', 'Formula')]
  • expression Char
  • formula Text
    default="if object:\n result = {'result_key': object.property}\n"
  • name Char
    required=True
  • parameter_type Selection
    default='record' help="Defines the context in which this parameter is evaluated. 'record' means it will be evaluated in the context of the record being processed, 'self' means it will be evaluated in the context of the AI bridge itself." required=True args: [('record', 'Record'), ('self', 'Bridge Self')]
Public methods (3)
  • evaluate_parameter(self, obj=None)
  • validate_parameter_expression(self)
  • validate_parameter_formula(self)