212
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<odoo>
|
||||
#------------------品牌------------------
|
||||
<record model="ir.ui.view" id="search_mrs_machine_brand_view">
|
||||
<field name="name">search.mrs.machine.brand</field>
|
||||
<field name="model">mrs.machine.brand</field>
|
||||
<record model="ir.ui.view" id="search_sf_machine_brand_view">
|
||||
<field name="name">search.sf.machine.brand</field>
|
||||
<field name="model">sf.machine.brand</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="品牌">
|
||||
<!-- <field name="name" string="名称"-->
|
||||
@@ -17,9 +17,9 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="tree_mrs_machine_brand_view">
|
||||
<field name="name">tree.mrs.machine.brand</field>
|
||||
<field name="model">mrs.machine.brand</field>
|
||||
<record model="ir.ui.view" id="tree_sf_machine_brand_view">
|
||||
<field name="name">tree.sf.machine.brand</field>
|
||||
<field name="model">sf.machine.brand</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="品牌">
|
||||
<field name="code"/>
|
||||
@@ -29,9 +29,9 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="form_mrs_machine_brand">
|
||||
<field name="name">form.mrs.machine.brand</field>
|
||||
<field name="model">mrs.machine.brand</field>
|
||||
<record model="ir.ui.view" id="form_sf_machine_brand">
|
||||
<field name="name">form.sf.machine.brand</field>
|
||||
<field name="model">sf.machine.brand</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="品牌">
|
||||
<!-- <widget name="web_ribbon" title="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>-->
|
||||
@@ -55,10 +55,10 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_mrs_machine_brand" model="ir.actions.act_window">
|
||||
<record id="action_sf_machine_brand" model="ir.actions.act_window">
|
||||
<field name="name">品牌</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">mrs.machine.brand</field>
|
||||
<field name="res_model">sf.machine.brand</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
@@ -71,9 +71,9 @@
|
||||
|
||||
#------------------机床型号------------------
|
||||
|
||||
<record model="ir.ui.view" id="search_mrs_machine_tool_type_view">
|
||||
<field name="name">search.mrs.machine_tool.type</field>
|
||||
<field name="model">mrs.machine_tool.type</field>
|
||||
<record model="ir.ui.view" id="search_sf_machine_tool_type_view">
|
||||
<field name="name">search.sf.machine_tool.type</field>
|
||||
<field name="model">sf.machine_tool.type</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="机床型号">
|
||||
<field name="name" string="模糊搜索"
|
||||
@@ -82,9 +82,9 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="tree_mrs_machine_tool_type_view">
|
||||
<field name="name">tree.mrs.machine_tool.type</field>
|
||||
<field name="model">mrs.machine_tool.type</field>
|
||||
<record model="ir.ui.view" id="tree_sf_machine_tool_type_view">
|
||||
<field name="name">tree.sf.machine_tool.type</field>
|
||||
<field name="model">sf.machine_tool.type</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="机床型号">
|
||||
<field name="code"/>
|
||||
@@ -95,9 +95,9 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="form_mrs_machine_tool_type">
|
||||
<field name="name">form.mrs.machine_tool.type</field>
|
||||
<field name="model">mrs.machine_tool.type</field>
|
||||
<record model="ir.ui.view" id="form_sf_machine_tool_type">
|
||||
<field name="name">form.sf.machine_tool.type</field>
|
||||
<field name="model">sf.machine_tool.type</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="机床型号">
|
||||
<group string="基本信息" name="base_info">
|
||||
@@ -155,10 +155,10 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_mrs_machine_tool_type" model="ir.actions.act_window">
|
||||
<record id="action_sf_machine_tool_type" model="ir.actions.act_window">
|
||||
<field name="name">机床型号</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">mrs.machine_tool.type</field>
|
||||
<field name="res_model">sf.machine_tool.type</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
@@ -171,9 +171,9 @@
|
||||
|
||||
#------------------刀具型号------------------
|
||||
|
||||
<record model="ir.ui.view" id="search_mrs_cutting_tool_type_view">
|
||||
<field name="name">search.mrs.cutting_tool.type</field>
|
||||
<field name="model">mrs.cutting_tool.type</field>
|
||||
<record model="ir.ui.view" id="search_sf_cutting_tool_type_view">
|
||||
<field name="name">search.sf.cutting_tool.type</field>
|
||||
<field name="model">sf.cutting_tool.type</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="刀具型号">
|
||||
<field name="name" string="模糊搜索"
|
||||
@@ -183,8 +183,8 @@
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="tree_cutting_tool_type_view">
|
||||
<field name="name">tree.mrs.cutting_tool.type</field>
|
||||
<field name="model">mrs.cutting_tool.type</field>
|
||||
<field name="name">tree.sf.cutting_tool.type</field>
|
||||
<field name="model">sf.cutting_tool.type</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="刀具型号">
|
||||
<field name="code"/>
|
||||
@@ -194,9 +194,9 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="form_mrs_cutting_tool_type">
|
||||
<field name="name">form.mrs.cutting_tool.type</field>
|
||||
<field name="model">mrs.cutting_tool.type</field>
|
||||
<record model="ir.ui.view" id="form_sf_cutting_tool_type">
|
||||
<field name="name">form.sf.cutting_tool.type</field>
|
||||
<field name="model">sf.cutting_tool.type</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="刀具型号">
|
||||
<group string="基本信息">
|
||||
@@ -230,10 +230,10 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_mrs_cutting_tool_type" model="ir.actions.act_window">
|
||||
<record id="action_sf_cutting_tool_type" model="ir.actions.act_window">
|
||||
<field name="name">刀具型号</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">mrs.cutting_tool.type</field>
|
||||
<field name="res_model">sf.cutting_tool.type</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
@@ -246,9 +246,9 @@
|
||||
|
||||
#------------------刀具类别------------------
|
||||
|
||||
<record model="ir.ui.view" id="search_mrs_cutting_tool_category_view">
|
||||
<field name="name">search.mrs.cutting_tool.category</field>
|
||||
<field name="model">mrs.cutting_tool.category</field>
|
||||
<record model="ir.ui.view" id="search_sf_cutting_tool_category_view">
|
||||
<field name="name">search.sf.cutting_tool.category</field>
|
||||
<field name="model">sf.cutting_tool.category</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="刀具类别">
|
||||
<field name="name" string="模糊搜索"
|
||||
@@ -257,9 +257,9 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="tree_mrs_cutting_tool_category_view">
|
||||
<field name="name">tree.mrs.cutting_tool.category</field>
|
||||
<field name="model">mrs.cutting_tool.category</field>
|
||||
<record model="ir.ui.view" id="tree_sf_cutting_tool_category_view">
|
||||
<field name="name">tree.sf.cutting_tool.category</field>
|
||||
<field name="model">sf.cutting_tool.category</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="刀具类别">
|
||||
<field name="code"/>
|
||||
@@ -268,9 +268,9 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="mrs_cutting_tool_category_form">
|
||||
<field name="name">form.mrs.cutting_tool.category</field>
|
||||
<field name="model">mrs.cutting_tool.category</field>
|
||||
<record model="ir.ui.view" id="sf_cutting_tool_category_form">
|
||||
<field name="name">form.sf.cutting_tool.category</field>
|
||||
<field name="model">sf.cutting_tool.category</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="刀具类别">
|
||||
<group string="基本信息">
|
||||
@@ -306,10 +306,10 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_mrs_cutting_tool_category" model="ir.actions.act_window">
|
||||
<record id="action_sf_cutting_tool_category" model="ir.actions.act_window">
|
||||
<field name="name">刀具类别</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">mrs.cutting_tool.category</field>
|
||||
<field name="res_model">sf.cutting_tool.category</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
@@ -322,9 +322,9 @@
|
||||
|
||||
#------------------机床注册------------------
|
||||
|
||||
<record model="ir.ui.view" id="search_mrs_machine_tool_view">
|
||||
<field name="name">search.mrs.machine_tool</field>
|
||||
<field name="model">mrs.machine_tool</field>
|
||||
<record model="ir.ui.view" id="search_sf_machine_tool_view">
|
||||
<field name="name">search.sf.machine_tool</field>
|
||||
<field name="model">sf.machine_tool</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="机床">
|
||||
<field name="name" string="名称" filter_domain="[('name', 'ilike', self)]"/>
|
||||
@@ -338,9 +338,9 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="tree_mrs_machine_tool_view">
|
||||
<field name="name">tree.mrs.machine_tool</field>
|
||||
<field name="model">mrs.machine_tool</field>
|
||||
<record model="ir.ui.view" id="tree_sf_machine_tool_view">
|
||||
<field name="name">tree.sf.machine_tool</field>
|
||||
<field name="model">sf.machine_tool</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="机床">
|
||||
<field name="code"/>
|
||||
@@ -353,9 +353,9 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="mrs_machine_tool_form">
|
||||
<field name="name">form.mrs.machine_tool</field>
|
||||
<field name="model">mrs.machine_tool</field>
|
||||
<record model="ir.ui.view" id="sf_machine_tool_form">
|
||||
<field name="name">form.sf.machine_tool</field>
|
||||
<field name="model">sf.machine_tool</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="机床">
|
||||
<header>
|
||||
@@ -427,10 +427,10 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_mrs_machine_tool" model="ir.actions.act_window">
|
||||
<record id="action_sf_machine_tool" model="ir.actions.act_window">
|
||||
<field name="name">机床</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">mrs.machine_tool</field>
|
||||
<field name="res_model">sf.machine_tool</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<!-- <field name="search_view_id" ref="view_okr_filter"/>-->
|
||||
<field name="help" type="html">
|
||||
@@ -444,9 +444,9 @@
|
||||
|
||||
#------------------控制系统------------------
|
||||
|
||||
<record model="ir.ui.view" id="search_mrs_machine_control_system_view">
|
||||
<field name="name">search.mrs.machine.control_system</field>
|
||||
<field name="model">mrs.machine.control_system</field>
|
||||
<record model="ir.ui.view" id="search_sf_machine_control_system_view">
|
||||
<field name="name">search.sf.machine.control_system</field>
|
||||
<field name="model">sf.machine.control_system</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="控制系统">
|
||||
<field name="name" string="模糊搜索"
|
||||
@@ -455,9 +455,9 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="tree_mrs_machine_control_system_view">
|
||||
<field name="name">tree.mrs.machine.control_system</field>
|
||||
<field name="model">mrs.machine.control_system</field>
|
||||
<record model="ir.ui.view" id="tree_sf_machine_control_system_view">
|
||||
<field name="name">tree.sf.machine.control_system</field>
|
||||
<field name="model">sf.machine.control_system</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="控制系统">
|
||||
<field name="code"/>
|
||||
@@ -467,9 +467,9 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="form_mrs_machine_control_system">
|
||||
<field name="name">form.mrs.machine.control_system</field>
|
||||
<field name="model">mrs.machine.control_system</field>
|
||||
<record model="ir.ui.view" id="form_sf_machine_control_system">
|
||||
<field name="name">form.sf.machine.control_system</field>
|
||||
<field name="model">sf.machine.control_system</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="控制系统">
|
||||
<group>
|
||||
@@ -487,10 +487,10 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_mrs_machine_control_system" model="ir.actions.act_window">
|
||||
<record id="action_sf_machine_control_system" model="ir.actions.act_window">
|
||||
<field name="name">控制系统</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">mrs.machine.control_system</field>
|
||||
<field name="res_model">sf.machine.control_system</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
@@ -500,65 +500,4 @@
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
#------------------模型类型------------------
|
||||
|
||||
<record model="ir.ui.view" id="search_sf_model_type_view">
|
||||
<field name="name">search.sf.model.type</field>
|
||||
<field name="model">sf.model.type</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="模型类型">
|
||||
<field name="name" string="模糊搜索"
|
||||
filter_domain="[('name', 'ilike', self)]"/>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="tree_sf_model_type_view">
|
||||
<field name="name">tree.sf.model.type</field>
|
||||
<field name="model">sf.model.type</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="模型类型">
|
||||
<field name="name"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="form_sf_model_type">
|
||||
<field name="name">form.sf.model.type</field>
|
||||
<field name="model">sf.model.type</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="模型类型">
|
||||
<group>
|
||||
<field name="name" required="1"/>
|
||||
<field name="embryo_tolerance" required="1"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name='routing_tmpl_ids'>
|
||||
<tree editable='bottom'>
|
||||
<field name="sequence" widget="handle" string="序号"/>
|
||||
<field name="route_workcenter_id" string="工序"/>
|
||||
<field name="routing_type" string="类型"/>
|
||||
<field name="is_repeat" string="重复"/>
|
||||
<field name="workcenter_ids" string="工作中心" widget="many2many_tags" />
|
||||
</tree>
|
||||
</field>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_sf_model_type" model="ir.actions.act_window">
|
||||
<field name="name">模型类型</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">sf.model.type</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
[模型类型] 还没有哦!点左上角的[创建]按钮,沙发归你了!
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -1,10 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<data>
|
||||
|
||||
<!--加工工艺-->
|
||||
<record model="ir.ui.view" id="mrs_processing_technology_form">
|
||||
<field name="model">mrs.processing.technology</field>
|
||||
<record model="ir.ui.view" id="sf_processing_technology_form">
|
||||
<field name="model">sf.processing.technology</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="加工工艺">
|
||||
|
||||
@@ -27,8 +26,8 @@
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="mrs_processing_technology_tree">
|
||||
<field name="model">mrs.processing.technology</field>
|
||||
<record model="ir.ui.view" id="sf_processing_technology_tree">
|
||||
<field name="model">sf.processing.technology</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="加工工艺">
|
||||
|
||||
@@ -38,9 +37,9 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="search_mrs_processing_technology_view">
|
||||
<field name="name">search.mrs.processing.technology.type</field>
|
||||
<field name="model">mrs.processing.technology</field>
|
||||
<record model="ir.ui.view" id="search_sf_processing_technology_view">
|
||||
<field name="name">search.sf.processing.technology.type</field>
|
||||
<field name="model">sf.processing.technology</field>
|
||||
<field name="arch" type="xml">
|
||||
<search>
|
||||
<field name="name" string="名称搜索" filter_domain="[('name','ilike',self)]"/>
|
||||
@@ -49,8 +48,8 @@
|
||||
</field>
|
||||
</record>
|
||||
<!--表面工艺-->
|
||||
<record model="ir.ui.view" id="mrs_production_process_tree">
|
||||
<field name="model">mrs.production.process</field>
|
||||
<record model="ir.ui.view" id="sf_production_process_tree">
|
||||
<field name="model">sf.production.process</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="表面工艺">
|
||||
|
||||
@@ -60,8 +59,8 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="mrs_production_process_form">
|
||||
<field name="model">mrs.production.process</field>
|
||||
<record model="ir.ui.view" id="sf_production_process_form">
|
||||
<field name="model">sf.production.process</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="表面工艺">
|
||||
<group>
|
||||
@@ -92,9 +91,9 @@
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="search_mrs_production_process_view">
|
||||
<field name="name">search.mrs.production.process.type</field>
|
||||
<field name="model">mrs.production.process</field>
|
||||
<record model="ir.ui.view" id="search_sf_production_process_view">
|
||||
<field name="name">search.sf.production.process.type</field>
|
||||
<field name="model">sf.production.process</field>
|
||||
<field name="arch" type="xml">
|
||||
<search>
|
||||
<field name="name" string="名称搜索" filter_domain="[('name','ilike',self)]"/>
|
||||
@@ -103,8 +102,8 @@
|
||||
</field>
|
||||
</record>
|
||||
<!--材料型号-->
|
||||
<record model="ir.ui.view" id="mrs_materials_model_form">
|
||||
<field name="model">mrs.materials.model</field>
|
||||
<record model="ir.ui.view" id="sf_materials_model_form">
|
||||
<field name="model">sf.materials.model</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="材料型号">
|
||||
<group>
|
||||
@@ -132,8 +131,8 @@
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="mrs_materials_model_tree">
|
||||
<field name="model">mrs.materials.model</field>
|
||||
<record model="ir.ui.view" id="sf_materials_model_tree">
|
||||
<field name="model">sf.materials.model</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="材料型号">
|
||||
<field name="materials_no"/>
|
||||
@@ -144,9 +143,9 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="search_mrs_materials_model_type_view">
|
||||
<field name="name">search.mrs.materials.model.type</field>
|
||||
<field name="model">mrs.materials.model</field>
|
||||
<record model="ir.ui.view" id="search_sf_materials_model_type_view">
|
||||
<field name="name">search.sf.materials.model.type</field>
|
||||
<field name="model">sf.materials.model</field>
|
||||
<field name="arch" type="xml">
|
||||
<search>
|
||||
<field name="name" string="型号名搜索" filter_domain="[('name','ilike',self)]"/>
|
||||
@@ -159,8 +158,8 @@
|
||||
</field>
|
||||
</record>
|
||||
<!--材料-->
|
||||
<record model="ir.ui.view" id="mrs_production_materials_form">
|
||||
<field name="model">mrs.production.materials</field>
|
||||
<record model="ir.ui.view" id="sf_production_materials_form">
|
||||
<field name="model">sf.production.materials</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="材料">
|
||||
|
||||
@@ -189,8 +188,8 @@
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="mrs_production_materials_tree">
|
||||
<field name="model">mrs.production.materials</field>
|
||||
<record model="ir.ui.view" id="sf_production_materials_tree">
|
||||
<field name="model">sf.production.materials</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="材料">
|
||||
<field name="materials_no" readonly="1"/>
|
||||
@@ -199,9 +198,9 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="search_mrs_production_materials_view">
|
||||
<field name="name">search.mrs.production.materials.type</field>
|
||||
<field name="model">mrs.production.materials</field>
|
||||
<record model="ir.ui.view" id="search_sf_production_materials_view">
|
||||
<field name="name">search.sf.production.materials.type</field>
|
||||
<field name="model">sf.production.materials</field>
|
||||
<field name="arch" type="xml">
|
||||
<search>
|
||||
<field name="name" string="名称搜索" filter_domain="[('name','ilike',self)]"/>
|
||||
@@ -210,8 +209,8 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- <record model="ir.ui.view" id="mrs_production_materials_form">-->
|
||||
<!-- <field name="model">mrs.production.materials</field>-->
|
||||
<!-- <record model="ir.ui.view" id="sf_production_materials_form">-->
|
||||
<!-- <field name="model">sf.production.materials</field>-->
|
||||
<!-- <field name="arch" type="xml">-->
|
||||
<!-- <form string="材料">-->
|
||||
|
||||
@@ -230,10 +229,10 @@
|
||||
<!-- </field>-->
|
||||
<!-- </record>-->
|
||||
|
||||
<record id="mrs_production_materials" model="ir.actions.act_window">
|
||||
<record id="sf_production_materials" model="ir.actions.act_window">
|
||||
<field name="name">材料</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">mrs.production.materials</field>
|
||||
<field name="res_model">sf.production.materials</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
@@ -241,10 +240,10 @@
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
<record id="mrs_production_process" model="ir.actions.act_window">
|
||||
<record id="sf_production_process" model="ir.actions.act_window">
|
||||
<field name="name">表面工艺</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">mrs.production.process</field>
|
||||
<field name="res_model">sf.production.process</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
@@ -252,10 +251,10 @@
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
<record id="mrs_materials_model" model="ir.actions.act_window">
|
||||
<record id="sf_materials_model" model="ir.actions.act_window">
|
||||
<field name="name">材料型号</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">mrs.materials.model</field>
|
||||
<field name="res_model">sf.materials.model</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
@@ -263,10 +262,10 @@
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
<record id="mrs_processing_technology" model="ir.actions.act_window">
|
||||
<record id="sf_processing_technology" model="ir.actions.act_window">
|
||||
<field name="name">加工工艺</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">mrs.processing.technology</field>
|
||||
<field name="res_model">sf.processing.technology</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help" type="html">
|
||||
|
||||
@@ -320,10 +319,10 @@
|
||||
<field name="name">sf.tray.form</field>
|
||||
<field name="model">sf.tray</field>
|
||||
<field name="arch" type="xml">
|
||||
<header>
|
||||
<field name='state' widget="radio" options="{'horizontal': True}"/>
|
||||
</header>
|
||||
<form string="托盘">
|
||||
<header>
|
||||
<field name='state' widget="radio" options="{'horizontal': True}"/>
|
||||
</header>
|
||||
<group string="基本信息" name="group1">
|
||||
<group>
|
||||
<field name="code" required="1"/>
|
||||
@@ -335,8 +334,5 @@
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -16,11 +16,11 @@
|
||||
action="action_mrp_configuration"
|
||||
groups="base.group_system"/>-->
|
||||
<menuitem
|
||||
id="menu_mrs_machine_tool"
|
||||
id="menu_sf_machine_tool"
|
||||
parent="mrp.menu_mrp_configuration"
|
||||
name="机床"
|
||||
sequence="1"
|
||||
action="action_mrs_machine_tool"
|
||||
action="action_sf_machine_tool"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
@@ -34,13 +34,13 @@
|
||||
<menuitem
|
||||
sequence="2"
|
||||
name="基础数据"
|
||||
id="menu_mrs_base"
|
||||
action="mrs_production_materials"
|
||||
id="menu_sf_base"
|
||||
action="sf_production_materials"
|
||||
parent="mrp.menu_mrp_configuration"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
id="menu_mrs_production_materials_1"
|
||||
id="menu_sf_production_materials_1"
|
||||
name="原材料"
|
||||
parent="mrp.menu_mrp_configuration"
|
||||
sequence="3"
|
||||
@@ -48,7 +48,7 @@
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
id="menu_mrs_production_process_1"
|
||||
id="menu_sf_production_process_1"
|
||||
name="工艺"
|
||||
parent="mrp.menu_mrp_configuration"
|
||||
sequence="4"
|
||||
@@ -56,101 +56,90 @@
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
id="menu_mrs_production_process"
|
||||
id="menu_sf_production_process"
|
||||
name="表面工艺"
|
||||
parent="menu_mrs_production_process_1"
|
||||
parent="menu_sf_production_process_1"
|
||||
sequence="1"
|
||||
action="mrs_production_process"
|
||||
action="sf_production_process"
|
||||
/>
|
||||
|
||||
|
||||
<menuitem
|
||||
id="menu_mrs_production_materials"
|
||||
id="menu_sf_production_materials"
|
||||
name="材料"
|
||||
parent="menu_mrs_production_materials_1"
|
||||
parent="menu_sf_production_materials_1"
|
||||
sequence="1"
|
||||
action="mrs_production_materials"
|
||||
action="sf_production_materials"
|
||||
|
||||
|
||||
/>
|
||||
<menuitem
|
||||
id="menu_mrs_materials_model"
|
||||
id="menu_sf_materials_model"
|
||||
name="材料型号"
|
||||
parent="menu_mrs_production_materials_1"
|
||||
parent="menu_sf_production_materials_1"
|
||||
sequence="1"
|
||||
action="mrs_materials_model"
|
||||
action="sf_materials_model"
|
||||
|
||||
|
||||
/>
|
||||
|
||||
|
||||
<menuitem
|
||||
id="menu_mrs_processing_technology"
|
||||
id="menu_sf_processing_technology"
|
||||
name="加工工艺"
|
||||
parent="menu_mrs_production_process_1"
|
||||
parent="menu_sf_production_process_1"
|
||||
sequence="1"
|
||||
action="mrs_processing_technology"/>
|
||||
action="sf_processing_technology"/>
|
||||
|
||||
<!-- <menuitem-->
|
||||
<!-- id="menu_sf_partner_views"-->
|
||||
<!-- name="工厂token"-->
|
||||
<!-- parent="menu_mrs_base"-->
|
||||
<!-- parent="menu_sf_base"-->
|
||||
<!-- sequence="1"-->
|
||||
<!-- action="token_factory_view"-->
|
||||
<!-- />-->
|
||||
|
||||
|
||||
<menuitem
|
||||
id="menu_mrs_machine_brand"
|
||||
parent="menu_mrs_base"
|
||||
id="menu_sf_machine_brand"
|
||||
parent="menu_sf_base"
|
||||
name="品牌"
|
||||
sequence="1"
|
||||
action="action_mrs_machine_brand"/>
|
||||
action="action_sf_machine_brand"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_mrs_machine_tool_type"
|
||||
parent="menu_mrs_base"
|
||||
id="menu_sf_machine_tool_type"
|
||||
parent="menu_sf_base"
|
||||
name="机床型号"
|
||||
sequence="1"
|
||||
action="action_mrs_machine_tool_type"/>
|
||||
action="action_sf_machine_tool_type"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_mrs_cutting_tool"
|
||||
id="menu_sf_cutting_tool"
|
||||
parent="mrp.menu_mrp_configuration"
|
||||
name="刀具"
|
||||
sequence="5"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_mrs_cutting_tool_category"
|
||||
parent="menu_mrs_cutting_tool"
|
||||
id="menu_sf_cutting_tool_category"
|
||||
parent="menu_sf_cutting_tool"
|
||||
name="刀具类别"
|
||||
sequence="1"
|
||||
action="action_mrs_cutting_tool_category"/>
|
||||
action="action_sf_cutting_tool_category"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_mrs_cutting_tool_type"
|
||||
parent="menu_mrs_cutting_tool"
|
||||
id="menu_sf_cutting_tool_type"
|
||||
parent="menu_sf_cutting_tool"
|
||||
name="刀具型号"
|
||||
sequence="1"
|
||||
action="action_mrs_cutting_tool_type"/>
|
||||
action="action_sf_cutting_tool_type"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_mrs_machine_control_system"
|
||||
parent="menu_mrs_base"
|
||||
id="menu_sf_machine_control_system"
|
||||
parent="menu_sf_base"
|
||||
name="控制系统"
|
||||
sequence="1"
|
||||
action="action_mrs_machine_control_system"/>
|
||||
|
||||
|
||||
<menuitem
|
||||
id="menu_sf_model_type"
|
||||
name="模型类型"
|
||||
parent="mrp.menu_mrp_configuration"
|
||||
sequence="10"
|
||||
action="action_sf_model_type"
|
||||
/>
|
||||
|
||||
|
||||
action="action_sf_machine_control_system"/>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -1,50 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="view_product_template_form_inherit_sf">
|
||||
<field name="name">product.template.form.inherit.sf</field>
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="product.product_template_only_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//page[last()]" position="after">
|
||||
<page string="加工参数">
|
||||
<group>
|
||||
<group string="模型">
|
||||
<field name="model_long" string="长[mm]"/>
|
||||
<field name="model_width" string="宽[mm]"/>
|
||||
<field name="model_height" string="高[mm]"/>
|
||||
<field name="model_volume" string="体积[mm]"/>
|
||||
<field name="model_type_id" string="模板类型"/>
|
||||
<field name="model_processing_panel" placeholder="例如A,B" string="加工面板"/>
|
||||
<field name="model_precision" string="精度要求"/>
|
||||
<field name="model_materials_id" string="材料"/>
|
||||
<field name="model_materials_type_id" string="型号"
|
||||
domain="[('materials_id', '=', model_materials_id)]"/>
|
||||
</group>
|
||||
<group string="胚料">
|
||||
<field name="embryo_long" string="长[mm]"/>
|
||||
<field name="embryo_width" string="宽[mm]"/>
|
||||
<field name="embryo_height" string="高[mm]"/>
|
||||
<field name="volume" string="体积[mm³]"/>
|
||||
<field name="embryo_materials_id" string="材料"/>
|
||||
<field name="embryo_materials_type_id" string="型号"
|
||||
domain="[('materials_id', '=',embryo_materials_id)]"/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_product_category_form_inherit_sf" model="ir.ui.view">
|
||||
<field name="name">product.category.form.inherit.sf</field>
|
||||
<field name="model">product.category</field>
|
||||
<field name="inherit_id" ref="product.product_category_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="parent_id" position="before">
|
||||
<field name="is_embryo"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="view_sale_order_form_inherit_sf">
|
||||
<field name="name">sale.order.form.inherit.sf</field>
|
||||
<field name="model">sale.order</field>
|
||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="payment_term_id" position="after">
|
||||
<field name="deadline_of_delivery"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user