Skip to content

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.json on every run (correct include for examples/modules, not only app/).
  • Stubs for Many2one("…"), menu view="…", and simplified ModelName overloads on env[].

See IDE typing stubs for VS Code setup.


Upgrade

pip install -U pyvelm==0.20.1

No database migration. Re-run pyvelm make:stubs after upgrade if you use IDE typing.


Docs