pyvelm v0.7.0¶
Release date: 2026-05-23
Record-form chatter (Odoo-style activity), automatic field tracking, and a workflow history timeline — plus layout and workflow fixes from the 0.6.0 line.
Highlights¶
Activity / chatter on forms¶
Any model that mixes in MailThread (before BaseModel) shows an Activity
panel on display forms:
| Feature | Description |
|---|---|
| Feed | Notes, emails, and field-change lines — newest first |
| Filters | All · Notes · Emails · Changes |
| Log note | Internal comment (subtype=note) |
| Send email | Queues SMTP via notify() with recipient + optional subject |
| Attachments | Upload files on compose; linked to mail.message |
Example models: crm.lead, feedback.intake, res.partner (via PartnerWorkflow).
Field tracking¶
Set on any field:
On write(), tracked fields post a chatter line (subtype=mail_tracking) with
old → new values (including Many2one / Many2many display names).
Workflow history¶
The workflow bar includes a Workflow history timeline (workflow chatter + pending approvals). The activity column shows workflow + general chatter side by side on wide screens.
Upgrade¶
- Sync or reinstall apps if you use example modules (partners workflow, feedback intake tracking fields).
- Open any
MailThreadrecord in display mode to see the Activity panel. - No new PyPI dependencies beyond v0.6.0.
API routes (chatter)¶
GET /web/chatter/panel?model=&res_id=&filter=&mode=— HTMX fragmentPOST /web/chatter/post— log note or send email (multipart form fields)
Programmatic posting unchanged: record.message_post(...), record.notify(...).