Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2017 Visualizações

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
Cancelar
Melhor resposta
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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
set. 25
541
2
set. 25
712
0
fev. 25
1842
0
dez. 24
46
0
dez. 24
1593