Skip to Content
Menu
This question has been flagged
1 Atsakyti
3129 Rodiniai

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

Portretas
Atmesti
Autorius Best Answer

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

has the answer

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
rugs. 23
1532
4
lapkr. 22
14394
0
rugs. 22
1511
0
vas. 21
2655
2
liep. 24
9229