Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
3246 Visninger

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
Kassér
Forfatter Bedste svar

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

has the answer

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
sep. 23
1612
4
nov. 22
14537
0
sep. 22
1557
0
feb. 21
2722
2
jul. 24
9341