Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3259 Переглядів

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

Аватар
Відмінити
Автор Найкраща відповідь

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

has the answer

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
вер. 23
1617
4
лист. 22
14567
0
вер. 22
1561
0
лют. 21
2739
POS order Edit Вирішено
2
лип. 24
9359