Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3096 Widoki

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

has the answer

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
wrz 23
1508
4
lis 22
14338
0
wrz 22
1492
0
lut 21
2637
POS order Edit Rozwiązane
2
lip 24
9201