コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3248 ビュー

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
1612
4
11月 22
14540
0
9月 22
1558
0
2月 21
2729
2
7月 24
9346