## 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>
54 lines
1.3 KiB
XML
54 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
<!-- Main Menu -->
|
|
<menuitem
|
|
id="menu_whatsapp_root"
|
|
name="WhatsApp"
|
|
web_icon="odoo_whatsapp_hub,static/description/icon.png"
|
|
sequence="50"
|
|
/>
|
|
|
|
<!-- Chat Hub (Dollars Interface) -->
|
|
<menuitem
|
|
id="menu_whatsapp_chat_hub"
|
|
name="Chat Hub"
|
|
parent="menu_whatsapp_root"
|
|
action="action_dollars_whatsapp_chat"
|
|
sequence="5"
|
|
/>
|
|
|
|
<!-- Conversations Menu (classic view) -->
|
|
<menuitem
|
|
id="menu_whatsapp_conversations"
|
|
name="Conversaciones (Lista)"
|
|
parent="menu_whatsapp_root"
|
|
action="action_whatsapp_conversation"
|
|
sequence="10"
|
|
/>
|
|
|
|
<!-- Accounts Menu -->
|
|
<menuitem
|
|
id="menu_whatsapp_accounts"
|
|
name="Cuentas"
|
|
parent="menu_whatsapp_root"
|
|
action="action_whatsapp_account"
|
|
sequence="20"
|
|
/>
|
|
|
|
<!-- Configuration Menu -->
|
|
<menuitem
|
|
id="menu_whatsapp_config"
|
|
name="Configuración"
|
|
parent="menu_whatsapp_root"
|
|
sequence="100"
|
|
/>
|
|
|
|
<menuitem
|
|
id="menu_whatsapp_accounts_config"
|
|
name="Cuentas WhatsApp"
|
|
parent="menu_whatsapp_config"
|
|
action="action_whatsapp_account"
|
|
sequence="10"
|
|
/>
|
|
</odoo>
|