This commit represents a significant architectural improvement: - Completely replaced openwebui_connector with a more robust openwebui_base module - Centralized OpenWebUI API integration for better maintainability - Redesigned helpdesk_sale_order_ai to use the new openwebui_base module - Added support for multiple OpenWebUI providers and models - Improved error handling and response parsing - Added proper template management with openwebui_prompt_template - Fixed KeyError issues with safe template substitution - Streamlined API client initialization and usage
32 lines
1.1 KiB
Python
32 lines
1.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
{
|
|
'name': 'Helpdesk Sale Order AI',
|
|
'license': 'LGPL-3',
|
|
'version': '18.0.0.1',
|
|
'category': 'Sales/Sales',
|
|
'summary': """Automatically create sales orders from helpdesk tickets using AI.""",
|
|
'description': """
|
|
Extends the Helpdesk Sale Order module to automatically create sales orders from helpdesk tickets using AI.
|
|
|
|
This module adds AI capabilities to analyze ticket content and automatically generate appropriate sales orders
|
|
with relevant products and services based on the ticket description.
|
|
""",
|
|
'author': 'Bemade',
|
|
'maintainer': 'it@bemade.org',
|
|
'depends': [
|
|
'helpdesk_sale_order',
|
|
'openwebui_base',
|
|
],
|
|
'data': [
|
|
'security/ir.model.access.csv',
|
|
'views/helpdesk_team_views.xml',
|
|
'views/helpdesk_ticket_views.xml',
|
|
'views/helpdesk_ticket_button_views.xml',
|
|
'views/res_config_settings_views.xml',
|
|
'views/ai_prompt_template_views.xml',
|
|
],
|
|
'installable': True,
|
|
'application': False,
|
|
'post_init_hook': 'post_init_hook',
|
|
}
|