跳至内容
菜单
此问题已终结
1 回复
3155 查看

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

形象
丢弃
相关帖文 回复 查看 活动
0
9月 23
1545
4
11月 22
14416
0
9月 22
1529
0
2月 21
2662
2
7月 24
9253