I am trying to extend a Web JS module to override the function set_title_part(). The module I developed works perfectly for OpenERP 7 but does not work for Odoo 8.
Module Name: generic_web_customization
_openerp_.py
{
    'name': 'Generic Web Customization',
    'version': '1.0',
    'category': 'Web',
    'summary': 'Apply generic customizations',
    'description': """ Apply generic customizations  """,
    'author': 'Shawn',
    'website': 'http://www.google.com',
    'depends': ['base','web'],
    'demo': [],
    'installable': True,
    'application': True,
    'auto_install': False,
}
/static/src/js/custom_title.js
openerp.generic_web_customization = function(instance)
{
    instance.web.WebClient.include(
    {
        set_title_part: function(part, title) {
            var tmp = _.clone(this.get("title_part"));
            tmp[part] = title;
            this.set("title_part", tmp);
           console.log("extended");
        },
    });
};
__init__.py
// Empty class, as there are no python files to be included
I have followed the Odoo tutorial exactly as described, but the JS file does not get invoked. I can't progress any further as a result of this issue. Would appreciate any input on this. Thanks !
 
                        
Looking through some of the default modules, it seems that they have explicitly called the .js files from an xml file with template inheriting "web.assets_backend". Is this the way to invoke .js files in Odoo 8 ? The Odoo docs made it seem like browsers automatically look for a static/src folder to execute .js and .css files . Why is the procedure made so horribly complex now?