新增表面工艺外协需求
This commit is contained in:
@@ -50,6 +50,7 @@ class MrsProductionProcess(models.Model):
|
||||
partner_process_ids = fields.Many2many('res.partner', 'process_ids', '加工工厂')
|
||||
active = fields.Boolean('有效', default=True)
|
||||
parameter_ids = fields.One2many('sf.production.process.parameter', 'process_id', string='可选参数')
|
||||
gain_way = fields.Selection([("自加工", "自加工"), ("外协", "外协")], default="", string="获取方式")
|
||||
|
||||
|
||||
class MrsProcessingTechnology(models.Model):
|
||||
|
||||
@@ -58,8 +58,8 @@
|
||||
<group>
|
||||
<field name="process_encode" readonly="1"/>
|
||||
<field name="name" required="1"/>
|
||||
<field name="gain_way" required="1"/>
|
||||
</group>
|
||||
|
||||
<notebook>
|
||||
<page string="工序">
|
||||
<field name='processing_order_ids' options="{'no_create':True}" widget="one2many">
|
||||
@@ -101,6 +101,8 @@
|
||||
</field>
|
||||
</page>
|
||||
</notebook>
|
||||
|
||||
|
||||
<group>
|
||||
<field name="remark"/>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user