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>
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/25/14, 2:50 AM|
|Seen: 1713 times|
|Last updated: 3/23/15, 3:25 AM|