修改同步表面工艺

This commit is contained in:
hujiaying
2024-08-26 12:47:15 +08:00
parent deef246a6d
commit 89cb61f244

View File

@@ -16,7 +16,7 @@
<record model="ir.ui.view" id="mrs_production_process_parameter_form"> <record model="ir.ui.view" id="mrs_production_process_parameter_form">
<field name="model">sf.production.process.parameter</field> <field name="model">sf.production.process.parameter</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="表面工艺可选参数" create="0" delete="0"> <form string="表面工艺可选参数" create="0" delete="0" >
<sheet> <sheet>
<div class="oe_title"> <div class="oe_title">
<h1> <h1>
@@ -33,11 +33,12 @@
<group> <group>
<field name="processing_day" readonly="1"/> <field name="processing_day" readonly="1"/>
<field name="travel_day" readonly="1"/> <field name="travel_day" readonly="1"/>
<field name="processing_mm" readonly="1"/>
</group> </group>
</group> </group>
<notebook> <notebook>
<page string="适用材料"> <page string="适用材料">
<field name="materials_model_ids"></field> <field name="materials_model_ids" readonly="1"></field>
</page> </page>
</notebook> </notebook>
</sheet> </sheet>
@@ -163,7 +164,8 @@
<record model="ir.ui.view" id="sf_production_process_tree"> <record model="ir.ui.view" id="sf_production_process_tree">
<field name="model">sf.production.process</field> <field name="model">sf.production.process</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<tree string="表面工艺" create="0" edit="0" delete="1"> <tree string="表面工艺" create="0" edit="0" delete="0">
<field name="sequence" widget="handle" string="序号" readonly="1"/>
<field name="code"/> <field name="code"/>
<field name="name" string="名称"/> <field name="name" string="名称"/>
<field name="remark"/> <field name="remark"/>
@@ -174,7 +176,7 @@
<record model="ir.ui.view" id="sf_production_process_form"> <record model="ir.ui.view" id="sf_production_process_form">
<field name="model">sf.production.process</field> <field name="model">sf.production.process</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="表面工艺" create="0" edit="1" delete="1"> <form string="表面工艺" create="0" delete="0">
<sheet> <sheet>
<div class="oe_title"> <div class="oe_title">
<h1> <h1>
@@ -192,11 +194,11 @@
</group> </group>
</group> </group>
<notebook> <notebook>
<page string="可选参数"> <page string="可选参数" >
<field name="parameter_ids"> <field name="parameter_ids" >
<tree force_save="1"> <tree force_save="1" create="0">
<field name="code" readonly="1" force_save="1"/> <field name="code" readonly="1" force_save="1"/>
<field name="name"/> <field name="name" readonly="1"/>
<field name="gain_way"/> <field name="gain_way"/>
<field name='process_id' default="default"/> <field name='process_id' default="default"/>
</tree> </tree>