Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Or something like this
_inherit = 'report'
super(inherit_something,self).get_pdf(cr,uid,ids,report_name, context=context,data = data)
Just for your information, if you are trying eliminate of calling super method (for ORM Methods), its because sometimes it may raise exception if you call super after your modification for ORM Methods.
instead of this -> super(stock_move, self).write(cr, uid, ids, vals, context=context)
you can give-> osv.osv.write(self, cr, uid, ids, vals, context=context)
This will call directly write function of ORM...
Hope this helps....
The question title indicate that you 've known that there is something that is called 'super', so I think you should've done more search in the source code of the Odoo itself and see how this 'super' is used, then you can predict how it is used. I do this and this helps me formulate more specific questions. This would enhance you by the time.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/9/15, 8:13 AM|
|Seen: 5385 times|
|Last updated: 8/15/15, 3:19 AM|