I'm new to openerp, and try to build a web module by following doc.openerp.com/trunk/web/module/ step by step, now the problem is when I began to change action to instance.web.Widget.extend
instance.web_example.Action = instance.web.Widget.extend({
className: 'oe_web_example',
start: function () {
// this.$el.text("Hello, world!");
console.log("Executed the action", action);
return this._super();
}
});
when I click the menu i got this error , TypeError: ClientWidget is null, I double checked the javascript file and __openerp__.py which is exactly identical to the document.
The database was clean and no other module installed but this one.
Any one any idea?