去掉警告及开发表面工艺相关需求

This commit is contained in:
jinling.yang
2023-03-27 21:04:33 +08:00
parent 446bd04a9d
commit bf010e2cca
18 changed files with 89 additions and 72 deletions

View File

@@ -108,55 +108,49 @@
<field name="model">sf.production.process</field>
<field name="arch" type="xml">
<form string="表面工艺">
<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">
<tree editable='bottom'>
<field name="sequence" widget="handle"/>
<field name="processing_technology_ids" widget="many2many_tags">
</field>
</tree>
<form>
<field name="processing_technology_ids" widget="many2many">
</field>
</form>
</field>
</page>
<page string="可选参数">
<field name="parameter_ids">
<tree force_save="1">
<field name="code" readonly="1" force_save="1"/>
<field name="name"/>
<field name="price"/>
<field name='process_id' default="default" invisible="1"/>
</tree>
<form>
<sheet>
<group>
<sheet>
<group>
<group>
<field name="process_encode" readonly="1"/>
<field name="gain_way" required="1"/>
</group>
<group>
<field name="name" required="1"/>
<field name="workcenter_ids" widget="many2many_tags" string="工作中心" required="0"/>
</group>
<notebook>
<page string="可选参数">
<field name="parameter_ids">
<tree force_save="1">
<field name="code" readonly="1" force_save="1"/>
<field name="name"/>
<field name="price"/>
</group>
<notebook>
<page string="适用材料">
<field name="materials_model_ids"/>
</page>
</notebook>
</sheet>
</form>
</field>
</page>
</notebook>
<group>
<field name="remark"/>
</group>
<field name='process_id' default="default" invisible="1"/>
</tree>
</field>
</page>
<page string="工序">
<field name='processing_order_ids' options="{'no_create':True}" widget="one2many">
<tree editable='bottom'>
<field name="sequence" widget="handle"/>
<field name="processing_technology_ids" widget="many2many_tags">
</field>
</tree>
<form>
<field name="processing_technology_ids" widget="many2many">
</field>
</form>
</field>
</page>
</notebook>
</group>
<group>
<group>
<field name="remark"/>
</group>
</group>
</sheet>
</form>
</field>
</record>