Skip to Content
Menu
This question has been flagged
1 Atsakyti
2024 Rodiniai

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?

Portretas
Atmesti
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




Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
rugs. 25
556
2
rugs. 25
729
0
vas. 25
1849
0
gruod. 24
46
0
gruod. 24
1605