Hi everyone,
Im trying to override a method that was already overridden in other own model. What happens is that i set a breaking point in my method but it does not in into the method.
The code in the model A:
@api.multi
def action_state_approve(self):
for state in self:
state.state = 'approved'
So in my other Model is where Im trying to override the above method:
class ClassB(models.Model):
_inherit = 'sale.order'
@api.multi
def action_state_approve(self):
super(ClassB, self).action_state_approve()