Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
2008 Visninger

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?

Avatar
Kassér
Bedste svar
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




Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
2
sep. 25
531
2
sep. 25
707
0
feb. 25
1841
0
dec. 24
46
0
dec. 24
1589