Repository navigation
Releases
Releases · coolsam726/pyvelm
v1.4.6
[1.4.6] — 2026-06-12
Added
- Schema field reactivity — Filament-style
Field.make()chains: inferred
HTMX live drivers fromdepends_onand*_whendomains,options_domain
for Many2one/Many2many picker filtering, nested dotted paths
(company_id.currency_id.code) on live forms, and/api/m2o/search?domain=…. - Docs onboarding — learning path, security guide refresh, and screenshot
lightbox on the docs site.
Fixed
- Release packaging — restore CHANGELOG section required by the release
workflow (v1.4.5 tag publish failed without it).
v1.4.5
What's Changed
- Schema field reactivity: domains, callables, and nested paths by @coolsam726 in #54
- Reorganize docs onboarding and add screenshot lightbox by @coolsam726 in #55
- Bump version to v1.4.5 by @coolsam726 in #56
- Bump version to v1.4.5 by @coolsam726 in #57
Full Changelog: v1.4.4...v1.4.5
v1.4.4
[1.4.4] — 2026-06-12
Added
- List import / export — Odoo-style wizard in
PvDialog: upload CSV/Excel,
column mapping, dry-run Test, partial Import (valid rows commit; failures
download as{model}_import_failed.xlsxwith an Error column). - Import template builder — pick columns, drag-reorder, optional pre-fill from
current list data; Many2one cells resolve by numeric ID, name, or code
(e.g. country ISO). - List toolbar ⋮ menu — Import, Export CSV, and Export Excel grouped under
More actions (after New). - Floating dialog UX — fixed header and footer with scrollable body, corner
resize, and a full-screen toggle on content dialogs.
Fixed
- Dialog footer submits — action bars stay inside their
<form>(sticky at
the bottom of the dialog body) so HTMX posts includepayloadand field
mappings; fixes import Test returning 422 and navigating to an unstyled page. - Import update-by-id —
browse().exists()replaced withsearchso stale
IDs do not match deleted rows. - Dialog record edit access — edit routes respect
record_form_accesslike
full-page forms.
v1.4.3
[1.4.3] — 2026-06-11
Fixed
- POST toolbar actions — header, page, and row actions with
method: POST
(e.g. cron Run Now) no longer render as<a href>GET links that returned
405 Method Not Allowed. - View schema callables — field
default/ visibility callables in view arch
survive module sync viamodule:qualnameJSON refs restored inresolve_arch. - Manifest DATA imports —
DATA.pyfiles load under their real package
path so relative imports (e.g.from ..helpers import …) work on sync.
v1.4.2
[1.4.2] — 2026-06-11
Added
- Odoo 19 document layouts — Wave, Bubble, and Folder external layouts
(table-based headers for wkhtmltopdf; designer preview parity). - Prism code display — readonly
Codefields render with syntax highlighting
(code_displaywidget +pv_code_display.js). - velmphp-style HTML editor toolbar — TipTap mail editor toolbar extracted to
partials withpv_tiptap_simple_theme.css. - Workflow step fields — configurable field type and attributes on workflow
builder steps and transition forms.
Changed
- Page titles — browser tab titles use branding
app_namevia
layouts/_app_title_suffix.html. - Form breadcrumbs — Home → list → record → Edit progression on form views.
- Computed fields — always readonly/disabled on edit forms.
- Notebook tabs — one2many relationships can use
Notebookon record forms
(partnersexample).
Fixed
- Module sync status — apps catalog no longer stuck on “Sync” after completion
(SQLite/MySQL nullability sync + single catalog reload). - Bundled module discovery —
contactsand other builtins always merged in
loader.discover()so dependency resolution works (e.g.workflow→contacts). - Wave / Bubble layouts — company logo and address overlay the decorative SVG
instead of rendering full-width below the shape.
v1.4.1
[1.4.1] — 2026-06-10
Fixed
- PyPI release workflow —
skip-existing: trueon the publish step so a
re-run or duplicate tag push does not fail when the wheel is already on PyPI.
v1.4.0
[1.4.0] — 2026-06-09
Added
system_auditmodule — opt-in IT audit trail:ir.audit.log(CRUD),
ir.login.log(login/logout/failure),ir.user.lifecycle(user events);
CSV export routes; daily retention cron (audit_purgeserver action);
PYVELM_AUDIT_RETENTION_DAYS(default 90). Install from Apps.ActionForm/ view-actions —Action.make().form(ActionForm…)on list
page_actionsand formheader_actions; inline dialogs at
/web/view-actions/{module}/{view}/{slot}/{key}/form(GET HTML, POST JSON).
Examplepartnerslist includes Quick add.- Schema DX (Filament-style) — view
Field.make()chains accept callables for
visible,required,readonly, andhidden;*_whenhelpers wrap
Odoo domains.live()/live(on_blur)/live(debounce=…)re-render forms
via HTMX;visible_js()uses Alpine$get/pvFormVal. - ORM
index()/unique()— fluent field chains and model_sql_indexes/
_sql_uniques;Blueprint.unique()and alter-timeindex()/unique(). Manifest.bootstrap(False)— bundled modules can skip fresh-DB auto-install.
Changed
- Coverage gate raised to 98% (
pyproject.toml, CI). - Schema DX tests —
schema_evalandfield_buildersat 100% line coverage
(domain paths, fluent ORM chains, live-form predicates). - Schema DX demo — example
partnersform useslive()+visible_when;
HTTP tests cover/web/views/.../livere-renders.
Fixed
- List bulk row selection — individual checkboxes sync via
setRowSelected
(fixes toggle desync with Alpine:checkedbinding). - Inline action Many2one fields — use
comodel_namewhen building relation
pickers in view-action dialogs.
v1.3.2
[1.3.2] — 2026-06-10
Added
- Bundled
contactsmodule — shipsres.partnerin the wheel with list/form
views, sidebar menu, and install hooks. The examplepartnersaddon now
_inherits the bundled model for demo fields (tags, age, workflow display).
workflowdepends oncontacts; the admin dashboard links to
/web/views/contacts/partner.list.
v1.3.1
[1.3.1] — 2026-06-10
Added
- Dev server stub refresh — development
pyvelm serve/app.serve
/examples.serveregenerate.pyvelm/typing/on startup (and on each
--reloadimport). Opt out withPYVELM_STUBS_ON_SERVE=0or
pyvelm serve --no-stubs. - Release version bump script —
./scripts/bump_version.sh <X.Y.Z>updates
pyproject.toml,pyvelm.__version__, finalizesCHANGELOG.md, and
refreshes docs pointers;--checkverifies the Python files agree (CI). - IDE model-name autocomplete —
pyvelm make:stubsnow augments fluent
ListView.make(…).model("…"), legacylist_view(…, model, …),
grant_model_access(env, "…"), plus existingenv["…"],
env.query("…"),env.registry["…"], and relational field comodels.
Per-addonexecutionEnvironmentsinpyrightconfig.jsonscope
ModelNameto each module and its transitiveDEPENDSchain.
Model declarations:_name/_inheritonmodels.Model, relational
field comodels (constructor and.comodel("…")fluent chains).
v1.3.0
[1.3.0] — 2026-06-09
Added
- List bulk actions — row checkboxes, select-all, bulk action bar on list
pages. Default Delete when the user has unlink access and the list has no
sequencedrag-reorder field. Custom actions viabulk_actionson the
list arch; POST/web/records/{module}/{name}/bulkwith{action, ids}. DetailView— read-only record page (view_type="detail") with the
same section/notebook layout as forms. Lists link viadetail_viewon the
list arch (or the first detail view for the model). Edit jumps to the
paired form whenform_viewis set.- List
row_actions— per-row toolbar buttons resolved like form header
actions. - IDE stubs for fluent ORM fields —
pyvelm make:stubsoverloads
Char(),Text(),Integer(), etc. to returnOrmFieldBuilderso
Char().required()chains autocomplete in the editor.