1、组装单新增五种物料的【更多】按钮,点击按钮跳转至新的弹窗界面,根据功能刀具清单BOM的配置,搜索出全部满足条件的刀柄产品或者其他刀具物料对应的批次、货位,使用tree视图提供选择。2、新增产品tree、search视图

This commit is contained in:
yuxianghui
2024-09-11 17:49:43 +08:00
parent e2d741937e
commit da5e322229
3 changed files with 74 additions and 1 deletions

View File

@@ -247,3 +247,9 @@ class ProductProduct(models.Model):
m = int(stock_lot_id.name[-3:]) + 1
num = "%03d" % m
return '%s-%s' % (code, num)
class SfShelfLocationLot(models.Model):
_inherit = 'sf.shelf.location.lot'