This commit is contained in:
yuxianghui
2024-07-29 15:40:44 +08:00
parent c60b91c315
commit fffe0a230b

View File

@@ -876,7 +876,7 @@ class StockPicking(models.Model):
if not stock_id:
num = "%05d" % 1
else:
m = int(stock_id.name[-3:]) + 1
m = int(stock_id.name[-5:]) + 1
num = "%05d" % m
return name + str(num)