1.工单查询页面新增工序类型和状态搜索面板
2.销售模块新增delivery依赖
This commit is contained in:
@@ -2,18 +2,23 @@
|
|||||||
<odoo>
|
<odoo>
|
||||||
<record id="workcenter_form_vieww_scan_barcode_search" model="ir.ui.view">
|
<record id="workcenter_form_vieww_scan_barcode_search" model="ir.ui.view">
|
||||||
<field name="name">work.order.search</field>
|
<field name="name">work.order.search</field>
|
||||||
<!-- <field name="model">mrp.workcenter</field>-->
|
<!-- <field name="model">mrp.workcenter</field>-->
|
||||||
<field name="model">mrp.workorder</field>
|
<field name="model">mrp.workorder</field>
|
||||||
<field name="inherit_id" ref="mrp.view_mrp_production_work_order_search"/>
|
<field name="inherit_id" ref="mrp.view_mrp_production_work_order_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//field[@name='production_id']" position="before">
|
<xpath expr="//group" position="before">
|
||||||
<!-- <field name="name" filter_domain="['|', '|', ('明确的字段内容', 'ilike', self), ('shortdesc', 'ilike', self), ('name', 'ilike', self)]" string="Theme"/>-->
|
<searchpanel>
|
||||||
<!-- <field name="tray_code" filter_domain="[('production_id.tray_ids.code','=',self)]"/>-->
|
<field name="routing_type" select="multi" string="工序类型" icon="fa-building" enable_counters="1"/>
|
||||||
<!-- <field name="production_id"/>-->
|
<field name="state" select="multi" string="状态" icon="fa-building" enable_counters="1"/>
|
||||||
</xpath>
|
</searchpanel>
|
||||||
<!-- <xpath expr="//search//group//filter[@name='product']" position="before">-->
|
|
||||||
<!-- <filter string="Tray code" name="traycode" domain="[]" context="{'group_by': 'tray_code'}"/>-->
|
<!-- <field name="name" filter_domain="['|', '|', ('明确的字段内容', 'ilike', self), ('shortdesc', 'ilike', self), ('name', 'ilike', self)]" string="Theme"/>-->
|
||||||
<!-- </xpath>-->
|
<!-- <field name="tray_code" filter_domain="[('production_id.tray_ids.code','=',self)]"/>-->
|
||||||
|
<!-- <field name="production_id"/>-->
|
||||||
|
</xpath>
|
||||||
|
<!-- <xpath expr="//search//group//filter[@name='product']" position="before">-->
|
||||||
|
<!-- <filter string="Tray code" name="traycode" domain="[]" context="{'group_by': 'tray_code'}"/>-->
|
||||||
|
<!-- </xpath>-->
|
||||||
|
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
""",
|
""",
|
||||||
'category': 'sf',
|
'category': 'sf',
|
||||||
'website': 'https://www.sf.jikimo.com',
|
'website': 'https://www.sf.jikimo.com',
|
||||||
'depends': ['sale', 'sale_management', 'web_widget_model_viewer', 'sf_base', 'account', 'purchase'],
|
'depends': ['sale', 'sale_management', 'web_widget_model_viewer', 'sf_base', 'account', 'purchase', 'delivery'],
|
||||||
'data': [
|
'data': [
|
||||||
'security/group_security.xml',
|
'security/group_security.xml',
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv',
|
||||||
|
|||||||
Reference in New Issue
Block a user