feat(odoo): add activeblue_ai Odoo 18 module with OWL2 frontend
Models: - ab.ai.bot: service URL, webhook secret, privacy mode, ping/dispatch - ab.ai.directive: full directive lifecycle log with status tracking - ab.ai.log: activity log with level/agent/record linkage - ab.ai.agent.registry: agent list synced from agent service Controllers: - webhook.py: /ai/webhook/callback handles directive_completed, escalation, sweep_findings - health_proxy.py: /ai/health proxies agent service detailed health - approval.py: /ai/chat dispatch, /ai/approval/pending, /ai/approval/respond Security: - group_ai_user (chat) + group_ai_manager (configure, approve, logs) - ir.model.access.csv for all 4 models Views: list/form for bot, directives, logs, registry; main menu with AI brain icon OWL2 frontend: - systray_button.js: brain icon in top bar, status dot, pending approval badge - ai_panel.js: slide-in chat panel, approval workflow, 30s poll for pending items - CSS: slide-in animation, message bubbles, loading dots, approval section Data: 4 cron jobs (ping, registry sync, directive/log cleanup) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
37
addons/activeblue_ai/__manifest__.py
Normal file
37
addons/activeblue_ai/__manifest__.py
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
'name': 'ActiveBlue AI',
|
||||
'version': '18.0.0.1.0',
|
||||
'summary': 'Multi-agent AI assistant for Odoo 18',
|
||||
'description': """
|
||||
ActiveBlue AI integrates a multi-agent AI system into Odoo 18.
|
||||
Features a Master AI with 8 specialist agents for finance, accounting,
|
||||
CRM, sales, project management, eLearning, expenses, and HR.
|
||||
""",
|
||||
'author': 'ActiveBlue',
|
||||
'website': 'https://activeblue.net',
|
||||
'category': 'Productivity',
|
||||
'license': 'LGPL-3',
|
||||
'depends': ['base', 'mail', 'web'],
|
||||
'data': [
|
||||
'security/ir.model.access.csv',
|
||||
'security/res_groups.xml',
|
||||
'data/ir_cron.xml',
|
||||
'views/ab_ai_bot_views.xml',
|
||||
'views/ab_ai_directive_views.xml',
|
||||
'views/ab_ai_log_views.xml',
|
||||
'views/ab_ai_registry_views.xml',
|
||||
'views/menus.xml',
|
||||
],
|
||||
'assets': {
|
||||
'web.assets_backend': [
|
||||
'activeblue_ai/static/src/css/activeblue_ai.css',
|
||||
'activeblue_ai/static/src/xml/systray.xml',
|
||||
'activeblue_ai/static/src/xml/ai_panel.xml',
|
||||
'activeblue_ai/static/src/js/components/ai_panel.js',
|
||||
'activeblue_ai/static/src/js/components/systray_button.js',
|
||||
],
|
||||
},
|
||||
'installable': True,
|
||||
'application': True,
|
||||
'auto_install': False,
|
||||
}
|
||||
Reference in New Issue
Block a user