Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/25/14, 2:50 AM|
|Seen: 1811 times|
|Last updated: 3/23/15, 3:25 AM|