how can i access a file which is located in the folder using href in xml code.for example my path for a file which is located in my localhost is /home/harmony8/Desktop/index.html..how can i access this file through href
The below steps to access html File in Openerp
- create custom web module.
- Add the file in the Location
- In the
__openerp__.pyFile add the path Location.
- Install the web custom module in openerp
And installed the module to access the file
The below code to open the link href in xml code.
<a href="#" onclick="window.open('/web_custom/static/src/index.html', '_blank')" >To Access Index Html Page</a>