$ 42.03
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 173 |
Technical Name |
web_external_resource |
License | OPL-1 |
Website | http://www.disastersoftware.net/ |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 173 |
Technical Name |
web_external_resource |
License | OPL-1 |
Website | http://www.disastersoftware.net/ |
Odoo External Resource Loader
Include external URI into your Odoo application easily
- Create easily resource link into your odoo, our module will think to action and menu item!.
- Edit the menu item with the smart button, and place it where do you want.
- Read our guide to setup correctly the external pages.
- No coding skills required, just install and it works.
- Full support for any browser.
External Resource Loader Documentation
Whit this module you can include extra site inside your Odoo application as a simple menu item. Make sure your external site can be edited to setup properly the Content-Security-Policy property into headers.
Installation & users setup
Install this module into your odoo addons folder, no additional python library is required.
Note
This parts is available only if you activate developer mode in Settings -> Activate developer mode
Once module is installed, you have to go into Settings -> Technical -> External Resources and create a new external resource. After you save the new resource, an action and a menu item will be created. With the smart button you can edit the menu item and place it where do you want. Make sure to reload the page after menu items setup.
After resource definition, you have to setup the external resource web server properly in order to allow frame access from your Odoo application to the resource.
To load the resource properly, you have to edit the web server of the resource in order to set correctly the property Content-Security-Policy. Here is an example for NGINX server:
# Iframe Access directive # remember that host.domain is your Odoo url add_header Content-Security-Policy "frame-ancestors 'self' host.domain";
After that, you can go the menu-item created for the resource and check if it is loaded correctly.
Known Issues
Changelog
1.0.0 (First release)
- first release of web_external_resource 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