Skip to Content

PMIS Website PWA

License: AGPL-3 PMISuite/website Version: 18.0

Adds website-specific Progressive Web App branding and shortcuts on top of OCA's web_pwa_customize and Odoo's service worker.

Features

  • Supplies a manifest for the current enabled website with app name, short name, colors, start URL, image, and shortcut records.

  • Uses inherited OCA/Odoo defaults when website branding is absent. A configured application image supplies 192-by-192 and 512-by-512 manifest icon URLs.

  • Restricts start and shortcut URLs to paths on the current origin outside /web and /odoo; invalid destinations fall back to /.

  • Publishes shortcut icons only for the current enabled website.

  • Registers the website worker at root scope and removes legacy PMIS page caches. Disabling PWA unregisters the PMIS worker on a subsequent website visit.

Configuration and usage

Requires pmis_website_sale_core and OCA web_pwa_customize. It installs with pmis_theme_base, whose website settings view supplies the configuration UI.

  1. Open the website's Theme PMISuite tab and enable Progressive Web App(PWA).

  2. Set the app names, colors, start URL, and a 512-by-512 application image.

  3. Add shortcuts with names, descriptions, destination paths, and icons.

  4. Visit that website in a browser supporting PWA installation and use its installation or Add to Home Screen action. Availability depends on the browser and its secure-context requirements.

Limits

Offline mode displays Odoo's public fallback. It does not cache account pages, carts, or checkout responses for offline shopping. Existing legacy page caches are removed on a website visit or worker activation; unrelated caches are retained.

The website worker uses root scope. Odoo's more specific backend worker remains separate. A different application's existing root worker prevents registration and needs separate integration. Backend PWA settings remain independent. Some Apple splash-screen presentation references Theme PMISuite assets.

Bug Tracker

Bugs are tracked on PMISuite Repository Issues.

Credits

Authors

Contributors

  • Matjaž Mozetič

Maintainers

LUXIM MATMOZ

Current maintainer:

sysadminmatmoz

Luxim is an independent R&D and deployment company focused on solving complex problems in the Odoo ecosystem.

Odoo Community Association

Luxim is an active member of OCA (Odoo Community Association).