## Frontend - Add media display (images, audio, video, docs) in Inbox - Add pause/resume functionality for WhatsApp accounts - Fix media URLs to use nginx proxy (relative URLs) ## API Gateway - Add /accounts/:id/pause and /accounts/:id/resume endpoints - Fix media URL handling for browser access ## WhatsApp Core - Add pauseSession() - disconnect without logout - Add resumeSession() - reconnect using saved credentials - Add media download and storage for incoming messages - Serve media files via /media/ static route ## Odoo Module (odoo_whatsapp_hub) - Add Chat Hub interface with DOLLARS theme (dark, 3-column layout) - Add WhatsApp/DRRR theme switcher for chat view - Add "ABRIR CHAT" button in conversation form - Add send_message_from_chat() method - Add security/ir.model.access.csv - Fix CSS scoping to avoid breaking Odoo UI - Update webhook to handle message events properly ## Documentation - Add docs/CONTEXTO_DESARROLLO.md with complete project context ## Infrastructure - Add whatsapp_media Docker volume - Configure nginx proxy for /media/ route - Update .gitignore to track src/sessions/ source files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
43 lines
1.5 KiB
Python
43 lines
1.5 KiB
Python
{
|
|
'name': 'WhatsApp Hub',
|
|
'version': '19.0.1.0.0',
|
|
'category': 'Marketing',
|
|
'summary': 'Integración WhatsApp Central para envío y recepción de mensajes',
|
|
'description': '''
|
|
Módulo de integración con WhatsApp Central:
|
|
- Enviar mensajes WhatsApp desde cualquier registro
|
|
- Ver historial de conversaciones en contactos
|
|
- Widget de chat en tiempo real
|
|
- Envío masivo a múltiples contactos
|
|
- Automatizaciones basadas en eventos
|
|
''',
|
|
'author': 'Consultoria AS',
|
|
'website': 'https://consultoria-as.com',
|
|
'license': 'LGPL-3',
|
|
'depends': ['base', 'contacts', 'mail'],
|
|
'data': [
|
|
'security/ir.model.access.csv',
|
|
'views/whatsapp_account_views.xml',
|
|
'views/whatsapp_conversation_views.xml',
|
|
'views/res_partner_views.xml',
|
|
'views/dollars_action.xml',
|
|
'wizards/send_whatsapp_wizard.xml',
|
|
'views/whatsapp_menu.xml',
|
|
'data/whatsapp_data.xml',
|
|
],
|
|
'post_init_hook': 'post_init_hook',
|
|
'assets': {
|
|
'web.assets_backend': [
|
|
'odoo_whatsapp_hub/static/src/css/whatsapp.css',
|
|
'odoo_whatsapp_hub/static/src/css/dollars_theme.css',
|
|
'odoo_whatsapp_hub/static/src/js/chat_action.js',
|
|
'odoo_whatsapp_hub/static/src/js/dollars_chat.js',
|
|
'odoo_whatsapp_hub/static/src/xml/chat_template.xml',
|
|
'odoo_whatsapp_hub/static/src/xml/dollars_template.xml',
|
|
],
|
|
},
|
|
'installable': True,
|
|
'application': True,
|
|
'auto_install': False,
|
|
}
|