pyvelm v0.20.1¶
Release date: 2026-05-28
Patch release: list views honour a static domain, and IDE stub generation works better in VS Code for this repo and example modules.
Highlights¶
List view domain¶
Pin a list to a subset of records (same semantics as graph/pivot):
list_view(
"lead.open", "crm.lead",
fields=["name", "stage"],
form_view="lead.form",
domain=[("active", "=", True)],
)
The domain is ANDed with toolbar search and filter chips. Previously it was only used for prev/next record navigation, not for the table query.
IDE stubs (make:stubs)¶
- Refreshes
pyrightconfig.jsonon every run (correctincludeforexamples/modules, not onlyapp/). - Stubs for
Many2one("…"), menuview="…", and simplifiedModelNameoverloads onenv[].
See IDE typing stubs for VS Code setup.
Upgrade¶
No database migration. Re-run pyvelm make:stubs after upgrade if you use
IDE typing.