Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2031 Vistas

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
Descartar
Mejor respuesta
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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
sept 25
560
2
sept 25
737
0
feb 25
1856
0
dic 24
46
0
dic 24
1610