Monday, June 17, 2024
2 changes
Enhancements to existing features
The subscription dashboard data has been refreshed to improve the information shown to sales teams. This helps users rely on more current and relevant dashboard views when tracking subscription sales performance.
The WhatsApp event integration is simplified so it no longer installs or depends on website event features. Event date information is handled directly by the event module, reducing unnecessary dependencies and cleanup while keeping messaging templates working.
Original PR description
RATIONALE Whatapp_event depends on website_event, which makes no sense. The only usage seems to be "whatsapp portal url" which is either * the portal url on some hardcoded models, if available; * the event website url (fuck it if not published by the way); * or contactus page because yolo All this could be moved into a website_whatsapp module or something like that anyway, to have a real whatsapp_event bridge module with only event. PURPOSE Remove dependency to website_event, to be event only. 'website_url' field existence can be checked with an "in", no need of a module just for that. Move "date_range" field from whatsapp to event, as anyway it calls a method already used in various templates. Move method itself on event model as it depends only on model. Rename field to "event_date_range" to match event dates fields naming. Remove dead code. Task-3768779