about 9 years ago
If you want to Javascript Options in OpenERP(Odoo) follow the below mentioned code in your Static->SRC->JS file: -
<div data-js="snippet_testimonial_options" data-selector=".snippet_testimonial"> [...] </div> (function() { 'use strict'; var website = openerp.website; website.openerp_website = {}; })(); (function() { 'use strict'; var website = openerp.website; website.openerp_website = {}; website.snippet.options.snippet_testimonial_options = website.snippet.Option.extend({ on_focus: function() { alert("On focus!"); } }) })();
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)