标签:添加 tor confirm tree arc 分组 过滤 win efault
<separator/>
<filter string="确认" name="state11111111" domain="[(‘state‘,‘=‘,‘confirm‘)]"/>
<filter string="恒益订单" domain="[(‘company_id‘,‘=‘,4)]"/>
<filter string="普瑞订单" domain="[(‘company_id‘,‘=‘,3)]" help="Sales Order ready to be invoiced"/>
<separator/>
<group expand="0" string="Group By">
<filter string="公司分组" domain="[]" context="{‘group_by‘:‘company_id‘}"/>
</group>
<!--action-->
<record id="action_purchase_origin" model="ir.actions.act_window" >
<field name="name">采购订单</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">purchase.origin</field>
<field name="view_mode">tree,form</field>
<field name="context" eval="{‘search_default_state11111111‘:1}"/>
</record>
标签:添加 tor confirm tree arc 分组 过滤 win efault
原文地址:http://www.cnblogs.com/1314520xh/p/7267964.html