pyvelm v0.21.0¶
Release date: 2026-05-29
Minor release: form notebooks, One2many dialog/inline toggle, keyboard-nav inline grids, Many2one dialog open, Ctrl+S save, save toasts, and sticky form actions.
Highlights¶
Form notebooks¶
Tabbed sections on long forms (Odoo-style):
notebook(
"details",
pages=[
page("main", "Main", ["name", "partner_id"]),
page("lines", "Lines", [field("line_ids", edit_toggle=True, ...)]),
],
)
One2many: Dialog vs Inline grid¶
On parent edit forms, switch per field without duplicating tabs:
field(
"state_ids",
widget="dialog",
edit_toggle=True,
list_view="geo_data.state.compact",
columns=["name", "short_code", "code", "type"],
)
Inline grids support Excel-style keyboard navigation (Tab, Enter, arrows).
Many2one: open related record in a dialog¶
List and form cells show the label as plain text plus a small open
button. The related form loads in PvDialog; use Open full page in
the dialog title when you need the full record route.
Form UX¶
- Ctrl+S / Cmd+S — save (same as the Save button).
- Toast on successful save or create.
- Sticky action bar while scrolling.
Upgrade¶
After pulling new views or demo modules, bump module versions and run
pyvelm db migrate (or Apps → Sync). This release ships geo_data
0.1.3 and vellum_demo 0.5.3 as reference examples.
Rebuild front-end assets if you serve static files from a local checkout:
Docs¶
- Form UX — notebooks, sticky bar, Ctrl+S, toasts,
PvDialog - One2many on parent forms —
edit_toggle, inline grid keys - Building UIs
- Geo data — country form notebook example
- CHANGELOG