1.去掉上色和特征识别方法,
2.转换模型需自动识别模型长宽高 3.优化页面:下拉框关闭创建 4.权限修改为不可编辑
This commit is contained in:
@@ -47,15 +47,17 @@
|
||||
</h1>
|
||||
<group>
|
||||
<group>
|
||||
<field name="customer_id" />
|
||||
<field name="material_id"/>
|
||||
<field name="material_model_id"/>
|
||||
<field name="customer_id" context="{'is_customer': True }"
|
||||
options="{'no_create': True}"/>
|
||||
<field name="material_id" options="{'no_create': True}"/>
|
||||
<field name="material_model_id" options="{'no_create': True}"/>
|
||||
<!-- <field name="process_id"/>-->
|
||||
<field name="parameter_ids" widget="many2many_tags" string="表面工艺参数"/>
|
||||
<field name="parameter_ids" widget="many2many_tags" string="表面工艺参数"
|
||||
options="{'no_create': True}"/>
|
||||
<field name="machining_precision"/>
|
||||
<field name="quantity"/>
|
||||
<field name="quantity" options="{'format': false}"/>
|
||||
<field name="unit_price"/>
|
||||
<field name="price"/>
|
||||
<field name="price" options="{'format': false}"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="upload_model_file" widget="many2many_binary"/>
|
||||
@@ -75,7 +77,8 @@
|
||||
<field name="model_height" class="o_address_zip"
|
||||
options="{'format': false}"/>
|
||||
</div>
|
||||
<field name="model_volume" attrs="{'invisible': [('model_file', '=', False)]}"/>
|
||||
<field name="model_volume" attrs="{'invisible': [('model_file', '=', False)]}"
|
||||
options="{'format': false}"/>
|
||||
<field name="processing_time"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user