回滚代码
This commit is contained in:
@@ -46,8 +46,8 @@ class ProductionTechnologyWizard(models.TransientModel):
|
||||
if ro.route_id.routing_type == '表面工艺':
|
||||
domain += [('process_parameters_id', '=', ro.process_parameters_id.id)]
|
||||
elif ro.route_id.routing_tag == 'special' and ro.is_auto is False:
|
||||
display_name = ro.route_id.display_name
|
||||
domain += [('name', 'ilike', display_name)]
|
||||
# display_name = ro.route_id.display_name
|
||||
domain += [('id', '=', ro.route_id.id)]
|
||||
elif ro.panel is not False:
|
||||
domain += [('panel', '=', ro.panel)]
|
||||
td_upd = self.env['sf.technology.design'].sudo().search(domain)
|
||||
|
||||
Reference in New Issue
Block a user