This question has been flagged

hi ,

i follow odoo theme turtorial for odoo v9

but some things are not work for me my odoo version is 9

in theme tutorial when i use

<xpath expr="//div[@id='snippet_feature']" position="inside"> for snippet so it not render properly

after i used following line for that

<xpath expr="//div[@id='snippet_feature']/div[contains(@class, 'o_panel_body')]" position="inside">

so it works but js part not work in js part i create one function that give alert on focus event but this not work in that

can you plz tell me the reason for that

i also try to create another custom snippets also in that i phase same issue for js and css .

css and js arre attached but not worked properly means not make any effect on snippet

can you plz help

thank in advance

Avatar
Discard

Did you include the css and javascript files in your view? Check the html sourcecode in the browser.

Author

yes i check in source code in browser all css and js include perfectly but not make any effect