Commit Graph

5 Commits (fca2db9372e907579d9d2f7c466dbc726c2d2873)

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
Dimitrios T. Tanis 065f7fff60 [12.0][FIX] web_pwa_oca: manifest and workers should only be present in backend 2021-01-21 00:00:37 +02: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
Alexandre Díaz a74fbb34c0 [IMP] web_pwa_oca: Refactor to use OdooClass 2020-12-04 15:59:43 +01:00