Commit Graph

8 Commits (67c02e55ede28d66db2f11aeb8beb218ccdabcd3)

Author SHA1 Message Date
Alexandre D. Díaz dfe4e8ae6c [IMP] web_pwa_oca: Add support for require system
Service workers need to load "Odoo Bootstrap" to be able to use
"require". The problem is that "Odoo Bootstrap" does operations
on the DOM (by using jQuery) and to avoid errors a minimal
compatibility layer "jquery-sw-compat.js" has been created to
allow using "require" in the service worker.

Moved Service Worker (js) code from the xml to python.
2021-03-11 19:06:29 +01:00
Alexandre D. Díaz 076ca81059 [IMP] web_pwa_oca: Readme 2020-12-11 17:03:58 +01:00
Sylvain LE GAL a2e801a440 [FIX] web_pwa_oca : do not raise an error if service workers is disabled (only log). Otherwise, odoo is unavailable in private mode with Firefox Browser 2020-12-11 11:28:52 +01:00
Alexandre D. Díaz 4a293d8d12 [IMP] web_pwa_oca: Drop BeforeInstallPrompt 2020-12-11 02:11:56 +01:00
Alexandre D. Díaz e5c219f9f3 [IMP] web_pwa_oca: Drop cache and refactor 2020-12-04 16:19:05 +01:00
João Marques 7473a485e9 [12.0][IMP] web_pwa_oca: configurable name and icon
Add ability to configure name, short name and icon for PWA in Odoo
General Settings.
The different icon sizes also get replaced by a single SVG

TT25979
2020-12-04 15:59:43 +01:00
Alexandre Díaz a74fbb34c0 [IMP] web_pwa_oca: Refactor to use OdooClass 2020-12-04 15:59:43 +01:00
eLBati e5b6ad3a71 Rename web_pwa -> web_pwa_oca 2020-06-05 18:09:17 +02:00