新增选择刀具规格基本参数
This commit is contained in:
@@ -94,3 +94,19 @@ class Cutting_toolSpecificationWizard(models.TransientModel):
|
||||
chuck_basic_parameters.append(
|
||||
self.env['sf.tool.materials.basic.parameters']._json_chuck_basic_param(line))
|
||||
item.chuck_basic_parameters_ids = chuck_basic_parameters
|
||||
|
||||
|
||||
def choose_basic_param(self):
|
||||
self.product_id.brand_id = self.brand_id.id
|
||||
# self.product_id.brand_id = self.brand_id.id
|
||||
# if self.cutting_tool_type == '整体式刀具':
|
||||
# self.product_id.brand_id = self.brand_id.id
|
||||
#
|
||||
# elif self.cutting_tool_type == '刀片':
|
||||
#
|
||||
# elif self.cutting_tool_type == '刀杆':
|
||||
#
|
||||
# elif self.cutting_tool_type == '刀盘':
|
||||
#
|
||||
# elif self.cutting_tool_type == '刀柄':
|
||||
|
||||
|
||||
Reference in New Issue
Block a user