Claude AI
5dd3499097
feat: Major WhatsApp integration update with Odoo and pause/resume
...
## 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 >
2026-01-30 20:48:56 +00:00
Claude AI
28592254b2
fix(odoo): agregar store=True a campos computados
...
- unread_count: necesario para filtros de búsqueda
- last_message_preview: necesario para vistas
Campos computados sin store=True no pueden usarse en dominios de filtros.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-30 00:38:13 +00:00
Claude AI
ece4398807
fix(odoo): corregir método create para Odoo 17+
...
- Usar @api.model_create_multi en lugar de @api.model
- Manejar vals_list como lista de diccionarios
En Odoo 17+, create() recibe una lista de valores, no un diccionario único.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-30 00:24:40 +00:00
Claude AI
c8c6deb4de
feat(odoo): add WhatsApp account model
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-29 22:43:08 +00:00
Claude AI
e85c9c10b5
feat(odoo): add WhatsApp conversation model
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-29 22:43:06 +00:00
Claude AI
1074bf6739
feat(odoo): extend res.partner with WhatsApp fields
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-29 22:43:03 +00:00
Claude AI
7551a3d8b7
feat(odoo): add WhatsApp message model
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-29 22:43:02 +00:00
Claude AI
87d59ca433
feat(odoo): create module structure and manifest
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-29 22:40:07 +00:00