Hi,
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:
class pos_order(osv.osv):
_inherit = 'pos.order'
_name = 'pos.order'
@api.multi
def create_picking(self):
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.
Any ideas?