Skip to content

pyvelm v0.8.0

Release date: 2026-05-25

White-label branding per company (with environment fallbacks), layout polish on login and profile pages, and datepicker fixes for forms and inline tables.


Highlights

White-label branding

Configure on Settings → Companies (res.company) or via PYVELM_* environment variables:

Setting Purpose
app_name / PYVELM_APP_NAME Product name in chrome and page titles
app_tagline / PYVELM_APP_TAGLINE Login subtitle
logo_url / logo_url_dark Light and dark theme logos
favicon_url Favicon
copyright_text, support email/URL Footer
show_powered_by Hide “Powered by pyvelm” when false
primary_color Theme accent (existing)

Shared templates: _brand_mark.html, _brand_logo.html, _head_branding.html, _footer_branding.html, _topnav_brand.html. See docs/branding.md.

Date & datetime pickers

  • Scoped initpvInitDatepickers / pvInitDatetimePickers avoid double calendars on HTMX swaps.
  • Floating popups — Datetime panels and Flowbite date dropdowns mount on document.body with a high z-index so inline O2M tables (e.g. comments) do not clip them.
  • Table overflow — Inline edit tables use overflow-visible where pickers open.

UI fixes

  • Color widgetpvColorPicker Alpine component fixes primary_color reset on company save.
  • Image URL fieldtype="text" so attachment download paths validate on profile.
  • Top nav — My Profile / Change password use the same brand mark as the sidebar.

Upgrade

pip install -U pyvelm
  1. Sync the base module (0.21.0) so branding columns exist: 0.19 → 0.20 and 0.20 → 0.21 migrations add company branding fields and logo_url_dark.
  2. Set branding on your default company or export PYVELM_* in deployment env.
  3. Hard-refresh the browser after upgrade so pv_datetime_picker.js and CSS update.

Module versions

  • base0.21.0 (branding columns on res.company)