已归档的表面工艺可选参数不进行产品创建
This commit is contained in:
@@ -24,6 +24,8 @@ class SfProductionProcessParameter(models.Model):
|
||||
obj = super(SfProductionProcessParameter, self).create(vals)
|
||||
return obj
|
||||
def create_service_product(self):
|
||||
if not self.active:
|
||||
return
|
||||
service_categ = self.env.ref(
|
||||
'sf_dlm.product_category_surface_technics_sf').sudo()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user