Skip to Content
मेन्यू
This question has been flagged
1 Reply
2014 Views

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
Discard
Best Answer
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
Discard
Related Posts Replies Views Activity
2
सित॰ 25
540
2
सित॰ 25
711
0
फ़र॰ 25
1842
0
दिस॰ 24
46
0
दिस॰ 24
1591