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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 2292 times|
|Last updated: 8/15/15, 3:19 AM|