跳至內容
選單
此問題已被標幟
1 回覆
3098 瀏覽次數

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
1512
4
11月 22
14341
0
9月 22
1493
0
2月 21
2637
2
7月 24
9202