Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3241 มุมมอง

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
1612
How to Connect Bluetooth Printer แก้ไขแล้ว
4
พ.ย. 22
14533
0
ก.ย. 22
1554
0
ก.พ. 21
2719
POS order Edit แก้ไขแล้ว
2
ก.ค. 24
9339