Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3230 Visualizzazioni

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
Abbandona
Autore Risposta migliore

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

has the answer

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
set 23
1606
4
nov 22
14526
0
set 22
1553
0
feb 21
2714
2
lug 24
9332