优化选取适用夹头方法
This commit is contained in:
@@ -347,6 +347,7 @@ class FunctionalToolAssemblyOrder(models.TransientModel):
|
||||
for chuck_product_lot_id in chuck_product_lot_ids:
|
||||
if chuck_product_lot_id.quant_ids[-1].location_id.name in '刀具房':
|
||||
return chuck_product_lot_id
|
||||
return False
|
||||
|
||||
@api.depends('handle_code_id')
|
||||
def _compute_rfid(self):
|
||||
|
||||
Reference in New Issue
Block a user