PyVELM v0.23.0¶
Release date: 2026-05-28
Minor release: Odoo-compatible search domains with prefix &, |, and !
operators, plus clearer domain documentation.
Highlights¶
Odoo-style domains¶
Search domains, record rules, and report filters now accept prefix operators the same way Odoo does:
| Operator | Meaning |
|---|---|
& |
AND |
\| |
OR |
! |
NOT |
env["account.move"].search([
("state", "=", "posted"),
"|",
("name", "ilike", term),
("ref", "ilike", term),
])
Reads as: state = 'posted' AND (name ILIKE term OR ref ILIKE term).
Flat leaf lists still imply AND. The legacy ("__or__", "=", […]) leaf
(list search, Vellum .where_any()) expands to | groups automatically.
See Declaring models → Search domains.
File picker fix¶
MIME-type accept filters on the file library picker emit | domains; those
now compile correctly.
Upgrade¶
No schema or module manifest changes in this release.