| Thread Previous • Date Previous • Date Next • Thread Next |
db.web.FormView means the FormView class for this specific db because it can be extended by any other module installed by doing:
db.web.FormView = db.web.FormView.extend(...overrides...}) On 09/13/2011 01:10 AM, Antony Lesuisse wrote:
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' ?
| Thread Previous • Date Previous • Date Next • Thread Next |