对模型进行上色和特征识别及自动报价
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<group>
|
||||
<group>
|
||||
<field name="customer_id" readonly="1" force_save="1"/>
|
||||
<field name="material_id" />
|
||||
<field name="material_id"/>
|
||||
<field name="material_model_id"/>
|
||||
<field name="process_id"/>
|
||||
<field name="parameter_ids" widget="many2many_tags"/>
|
||||
@@ -49,9 +49,24 @@
|
||||
<field name="price"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="upload_model_file" widget="many2many_binary" />
|
||||
<field name="upload_model_file" widget="many2many_binary"/>
|
||||
<field name="model_file" widget="Viewer3D" string="模型" readonly="1" force_save="1"
|
||||
attrs="{'invisible': [('model_file', '=', False)]}"/>
|
||||
<label for="model_length" string="尺寸(mm)"
|
||||
attrs='{"invisible": [("model_file","=",False)]}'/>
|
||||
<div class="test_model"
|
||||
attrs='{"invisible": [("model_file","=",False)]}'>
|
||||
<label for="model_length" string="长"/>
|
||||
<field name="model_length" class="o_address_zip"
|
||||
options="{'format': false}"/>
|
||||
<label for="model_width" string="宽"/>
|
||||
<field name="model_width" class="o_address_zip"
|
||||
options="{'format': false}"/>
|
||||
<label for="model_height" string="高"/>
|
||||
<field name="model_height" class="o_address_zip"
|
||||
options="{'format': false}"/>
|
||||
</div>
|
||||
<field name="model_volume" attrs="{'invisible': [('model_file', '=', False)]}"/>
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
@@ -80,7 +95,7 @@
|
||||
<field name="context">{}</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
[便捷订单] 还没有哦!点左上角的[创建]按钮,沙发归你了!
|
||||
[快速订单] 还没有哦!点左上角的[创建]按钮,沙发归你了!
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
@@ -91,9 +106,9 @@
|
||||
<!-- action="account.res_partner_action_customer"-->
|
||||
<!-- groups="sales_team.group_sale_salesman"-->
|
||||
<!-- sequence="40"/>-->
|
||||
<menuitem sequence="50" name="上传模型" id="menu_quick_easy_order"
|
||||
<menuitem sequence="21" name="快速订单" id="menu_quick_easy_order"
|
||||
action="action_quick_easy_order"
|
||||
parent="sale.menu_sale_order"
|
||||
parent="sale.sale_order_menu"
|
||||
groups="sales_team.group_sale_salesman"/>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user