调拨单零件图号零件名称处理
This commit is contained in:
@@ -787,7 +787,7 @@ class ReStockMove(models.Model):
|
||||
continue
|
||||
logging.info('制造订单的调拨单 %s', move.origin)
|
||||
production_id = self.env['mrp.production'].sudo().search(
|
||||
[('name', '=', move.origin)], limit=1)
|
||||
[('name', '=', move.origin.split(',')[0])], limit=1)
|
||||
if not production_id:
|
||||
continue
|
||||
product_name = ''
|
||||
|
||||
Reference in New Issue
Block a user