Skip to Content
Menú
This question has been flagged
1 Respondre
2886 Vistes

Hello guys I've extended pos_order. And made my own version of create.

The original create calls 

return super(pos_order, self).create(cr, uid, values, context=context) which returns order id.

How could i call this exact function from my own module? If i call return super(....) it will call the original pos_order.create which has some undesired logic


best regards

Matej

Avatar
Descartar
Autor Best Answer

http://stackoverflow.com/questions/36315689/odoo-8-method-resolution-order#comment60329596_36316491

has the answer

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de set. 23
1225
4
de nov. 22
13685
0
de set. 22
1221
0
de febr. 21
2347
2
de jul. 24
8741