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

At the moment if I'm in the barcode module and press the Validate button, the window closes.

I want to change it so that I can first press Validate, and then add quantities and add to the package.



Any guidance or examples on how this can be done?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด
class Picking(models.Model):
_inherit = "stock.picking"

class StockPicking(models.Model):
_inherit = "stock.picking"

def button_validate(self):
res = super(StockPicking, self).button_validate()
# Your code here
return res




อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ย. 25
524
2
ก.ย. 25
697
0
ก.พ. 25
1830
0
ธ.ค. 24
46
0
ธ.ค. 24
1581