41 lines
946 B
Python
41 lines
946 B
Python
from odoo import fields, models
|
|
|
|
|
|
class SuitableMachiningMethod(models.Model):
|
|
_name = 'sf.suitable.machining.method'
|
|
_description = '适合加工方式'
|
|
|
|
name = fields.Char('名称')
|
|
image = fields.Image('图片')
|
|
|
|
|
|
class BladeTipCharacteristics(models.Model):
|
|
_name = 'sf.blade.tip.characteristics'
|
|
_description = '刀尖特征'
|
|
|
|
name = fields.Char('名称')
|
|
image = fields.Image('图片')
|
|
|
|
|
|
class HandleType(models.Model):
|
|
_name = 'sf.handle.type'
|
|
_description = '柄部类型'
|
|
|
|
name = fields.Char('名称')
|
|
image = fields.Image('图片')
|
|
|
|
|
|
class CuttingDirection(models.Model):
|
|
_name = 'sf.cutting.direction'
|
|
_description = '走刀方向'
|
|
|
|
name = fields.Char('名称')
|
|
image = fields.Image('图片')
|
|
|
|
|
|
class SuitableCoolant(models.Model):
|
|
_name = 'sf.suitable.coolant'
|
|
_description = '适合冷却液'
|
|
|
|
name = fields.Char('名称')
|
|
image = fields.Image('图片') |