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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
3
Respuestas
15258
Vistas
The below steps to access html File in Openerp
- create custom web module.
- Add the file in the Location
web_custom/static/src/index.html
- In the
__openerp__.py
File add the path Location. - Install the web custom module in openerp
And installed the module to access the file http://localhost:PortNo/web_custom/static/src/index.html
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>
Great, please mark the answer as correct if it worked for you. Thanks
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse
thank you prakash..it works...