优化刀具产品

This commit is contained in:
jinling.yang
2024-03-12 17:32:40 +08:00
parent 0289e2f9ff
commit 0c44bba5f2
9 changed files with 238 additions and 159 deletions

View File

@@ -123,7 +123,7 @@
<form string="刀具标准库" delete="0" create="0" edit="0">
<sheet>
<field name="image" widget='image' class="oe_avatar"
options="{'zoom': true, 'preview_image':'image_128'}"/>
options="{'zoom': true, 'preview_image':'image_128'}" required="1"/>
<div class="oe_title">
<h1>
<field name="code"/>
@@ -133,9 +133,9 @@
<group>
<field name="name"/>
<field name="cutting_tool_material_id"/>
<field name="cutting_tool_type"/>
<field name="cutting_tool_type_id"/>
<field name="brand_id"/>
<field name="cutting_tool_type" readonly="1"/>
<field name="cutting_tool_type_id" required="1"/>
<field name="brand_id" required="1"/>
<label for="integral_run_out_accuracy_min" string="端跳精度"
attrs="{'invisible': [('cutting_tool_type', '!=', '整体式刀具')]}"/>
<div class="o_address_format"