Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2032 Zobrazení

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
Zrušit
Nejlepší odpověď
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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
zář 25
560
2
zář 25
737
0
úno 25
1856
0
pro 24
46
0
pro 24
1611