Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
5865 Näkymät

How can I run my static page on OpenERP Server ?

Which directly run single static page & js & css ?

Does it possible for feature not available ?

Avatar
Hylkää
Paras vastaus

files in the static folder of an module are accessible via webbrowser for example http://127.0.0.1:8069/test/static/test2.html

"test" is a module name = a folder in the openerp addon path (path is specified in the openerp_serverrc file) with

  • folder with name "static"

  • html file "test2.html" inside static folder

  • "__init__.py" - empty text file

  • "__openerp__.py" this content { "name": "test", "version": "1.0.0", "depends": [], "author": "test", "category": "Layout", "description": """ test """, "init_xml" : [], 'data': [], 'demo': [], 'installable': True, 'active': False, }

Avatar
Hylkää