跳至内容
菜单
此问题已终结
1 回复
1937 查看

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




形象
丢弃
相关帖文 回复 查看 活动
2
9月 25
295
2
9月 25
496
0
2月 25
1625
0
12月 24
46
0
12月 24
1389