Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Community Apps Dependencies | Show |
Lines of code | 352 |
Technical Name |
web_pwa |
License | OPL-1 |
Website | http://www.disastersoftware.net/ |
Versions | 11.0 12.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Community Apps Dependencies | Show |
Lines of code | 352 |
Technical Name |
web_pwa |
License | OPL-1 |
Website | http://www.disastersoftware.net/ |
Versions | 11.0 12.0 |
Odoo progressive web app
Native odoo application thanks to PWA support.

Push your installations to the next level
Build fast, integrated, reliable and engaging applications.
- Secure due to HTTPS protocol support.
- Platform independent: you need only a supported browser .
- Supports any backend theme, for example web_responsive to get a mobile first odoo installation.
- Customizable icons, colors and name in a few click with PWA settings interface.
- Optimized client, all static objects are cached and managed locally.
- Automatic cache cleanup every time an update is done on your Odoo installation.

Progressive Web App Documentation
Progressive web apps use modern web APIs along with traditional progressive enhancement strategy to create cross-platform web applications. These apps work everywhere and provide several features that give them the same user experience advantages as native apps.
Installation & users setup
Before installing the module, your python environment must have python-magic package installed.
pip install python-magic
Note
If you do not install the library properly, when you run your odoo application, it will return a module not found exception.
After library installation, you have to setup your proxy web server to enable HTTPS requests.
Note
Remember that PWA requires an HTTPS website, so make sure su correctly setup you Odoo application first.
To work properly, this module requires a Service-Worker-Allowed directive for service_worker.js file. You have to add this directive into your proxy server. Here is an example for NGINX server:
# Service worker directive location /web_pwa/static/src/js/service_worker.js { add_header 'Service-Worker-Allowed' '/'; proxy_pass http://<your-odoo-upstream>; }
After that, you can run your odoo application and install web_pwa module. Once installed, you can configure application data.
Note
This parts is available only if you activate developer mode in Settings -> Activate developer mode
Go under Settings -> Technical -> Web Application -> Manifest and open the pwa setting already created. Edit app info and set the icons: without them, browser will not recognize the application. Alter saving your modification you can refresh your web page and, if you have correctly fill the data, you will display the request of the browser to install the new app.
Known Issues
Changelog
1.0.0 (First release)
- first release of web_pwa module
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module