A very simple module would look like this:

openerp.addons.my_little_module = function(app) {
        app.my_little_module.MyLittleWidget = app.web.Widget.extend({
                ...code...
        });
        app.web.FormView = app.web.FormView.extend({
                ...override...
        })
}

What are the other possibilities for 'app' ?

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-web
Post to     : openerp-dev-web@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-web
More help   : https://help.launchpad.net/ListHelp

Reply via email to