[IMP] Adding section_id field in search view,My department filter is removed

bzr revid: vir@tinyerp.com-20100105112659-13nhf0kywwn06hgy
This commit is contained in:
RCH(Open ERP) 2010-01-05 16:56:59 +05:30 committed by Vir (Open ERP)
parent 970b40e21e
commit 8ad0dbddb5
7 changed files with 14 additions and 5 deletions

View File

@ -207,6 +207,7 @@
<field name="partner_id" select="1"/>
<field name="user_id" select="1" widget="selection"/>
</group>
<field name="section_id" select="1" widget="selection" string="Section"/>
</search>
</field>
</record>

View File

@ -169,6 +169,7 @@
</field>
<field name="name" select='1'/>
<field name="user_id" select="1" widget="selection"/>
<field name="section_id" select="1" widget="selection" string="Section"/>
</group>
</search>
</field>

View File

@ -190,7 +190,7 @@
/>
</group>
<separator orientation="vertical"/>
<group col="4" colspan="2">
<group col="6" colspan="2">
<field name="name" select="1"/>
<field name="user_id" select="1" widget="selection">
<filter icon="terp-partner"
@ -206,6 +206,7 @@
<filter icon="gtk-new" domain="[('state','=','draft')]" help="Draft Leads"/>
<filter icon="gtk-yes" domain="[('state','=','open')]" help="Open Leads"/>
</field>
<field name="section_id" select="1" widget="selection" string="Section"/>
</group>
</search>
</field>

View File

@ -150,16 +150,16 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Search Meetings">
<group col="10" colspan="4">
<group col="12" colspan="4">
<filter icon="terp-crm" string="My Meetings" domain="[('user_id','=',uid)]" help="My Meetings"/>
<filter icon="terp-crm" string="Draft" domain="[('state','=','draft')]" help="Draft Meetings"/>
<filter icon="terp-crm" string="Confirmed" domain="[('state','=','done')]" help="Confirmed Meetings"/>
<separator orientation="vertical"/>
<field name="name" select="1" string="Subject"/>
<field name="partner_id" select="1"/>
<field name="section_id" select="1" widget="selection"/>
<field name="user_id" select="1" widget="selection">
<filter icon="terp-crm" domain="[('user_id','=',uid)]" help="My Meetings"/>
<filter icon="terp-crm" domain="[('user_id','child_of',[uid])]" help="My Departments Meetings"/>
</field>
</group>
</search>

View File

@ -196,7 +196,7 @@
/>
</group>
<separator orientation="vertical"/>
<group col="5" colspan="2">
<group col="6" colspan="2">
<field name="name" select="1" string="Opportunity"/>
<field name="user_id" select="1" widget="selection">
<filter icon="terp-partner"
@ -212,6 +212,7 @@
<field name="state" select="1">
<filter icon="gtk-index" domain="[('state','in',('open','draft' ))]" help="Current "/>
</field>
<field name="section_id" select="1" widget="selection" string="Section"/>
</group>
</search>
</field>

View File

@ -172,7 +172,7 @@
/>
</group>
<separator orientation="vertical"/>
<group col="4" colspan="2">
<group col="6" colspan="2">
<field name="name" select='1' string="Subject"/>
<field name="user_id" select="1" widget="selection">
<filter icon="terp-partner" domain="[('user_id','=',uid)]" help="My Phonecalls" default="1"/>
@ -181,6 +181,7 @@
<field name="state" select="1">
<filter icon="gtk-index" domain="[('state','in',('open','draft' ))]" help="Current "/>
</field>
<field name="section_id" select="1" widget="selection" string="Section"/>
</group>
</search>
</field>

View File

@ -437,6 +437,7 @@
<field name="name" select='1'/>
<field name="user_id" select="1" widget="selection"/>
</group>
<field name="section_id" select="1" widget="selection" string="Section"/>
</search>
</field>
</record>
@ -498,9 +499,12 @@
<search string="Search Histories">
<filter icon="terp-crm" string="My Histories" domain="[('user_id','=',uid)]" help="My Histories"/>
<separator orientation="vertical"/>
<group col="6" colspan="2">
<field name="date" select="1"/>
<field name="user_id" select="1" widget="selection"/>
<field name="case_id" select="1"/>
<field name="section_id" select="1" widget="selection" string="Section"/>
</group>
</search>
</field>
</record>