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.
Since delegation inheritance does not inherits methods how would I call a method from the model I have inherited from in my new model?
I think you got little confused here,
Delegation Inheritance will inherit methods too.
you just need to call it using self.METHOD_NAME
Best example is mail.thread object which would have been inherited in almost the main objects, So if you notice method message_post is actually defined in mail.thread, while its child class can simply call the method the way it calls its own method
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: 11/20/16, 5:06 PM|
|Seen: 370 times|
|Last updated: 11/21/16, 6:10 AM|