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.
Hi, in my file purchase.py :
_inherit = 'purchase.order'
I have this method :
And i want to override the inherited method "button_confirm" to do the check_po method from below. So just after check_po, in the same file, i do :
return super(purchase_order, self)
But when i choose a Purchase (Request for quotation) and i click on the "CONFIRM ORDER" button, nothing happen.
It doesn't even confirm the purchase and i suppose it doesn't do the "check_po".
Thank you in advance.
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: 3/1/16, 4:10 AM|
|Seen: 818 times|
|Last updated: 9/20/16, 7:57 AM|