Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3170 Представления

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
1559
4
нояб. 22
14442
0
сент. 22
1536
0
февр. 21
2671
POS order Edit Решено
2
июл. 24
9271