Skip to Content
Menu
This question has been flagged
1 Reply
1758 Views

(function() { 

   'use strict';
    var website = odoo.website;
    website.odoo_website = {};
    website.snippet.options.snippet_testimonial_options = website.snippet.Option.extend({ 

       on_focus: function() {

                      alert("On focus!");
        }   

})})();

Avatar
Discard
Best Answer

hi,

Try var website = require("website.website");

cheers :)

Avatar
Discard