Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2996 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

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

has the answer

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
zář 23
1386
4
lis 22
14043
0
zář 22
1390
0
úno 21
2534
POS order Edit Vyřešeno
2
čvc 24
9005