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.