Commit Graph

3 Commits

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
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