Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2000 Представления

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?

Аватар
Отменить
Лучший ответ
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




Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
сент. 25
524
2
сент. 25
697
0
февр. 25
1830
0
дек. 24
46
0
дек. 24
1581