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.
I have a simple coding question. I am inheriting from a model pos.order. I want to execute a simple function from that model and then modify it, but it doesn't work. This is how I made it:
_inherit = 'pos.order'
_name = 'pos.order'
return super(pos_order, self).create_picking()
I don't know why the super function does not work. I already confirmed that code in that file will be executed, but in that case "super" does not work. No idea what I am doing wrong.
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: 9/27/16, 4:02 PM|
|Seen: 769 times|
|Last updated: 9/28/16, 7:14 AM|