[IMP]: CRM Ergonomy Improvement blueprint: Improvement in search views : Added proper buttons in search views
bzr revid: rpa@tinyerp.com-20091029094015-l6obtv101qg3wqa4
This commit is contained in:
@@ -150,12 +150,28 @@
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Bugs">
|
||||
<group col="7" colspan="1">
|
||||
<filter icon="gtk-execute" string="Fixed Bugs" domain="[('section_id.name','=','Bug Tracking'),('stage_id.name','=','Fixed')]" separator="1" help="All Fixed Bugs"/>
|
||||
<filter icon="gtk-execute" string="Waiting Bugs" domain="[('section_id.name','=','Bug Tracking'),('stage_id.name','=','Awaiting Response')]" separator="1" help="All Waiting Bugs"/>
|
||||
<filter icon="gtk-execute" string="Future Bugs" domain="[('section_id.name','=','Bug Tracking'),('stage_id.name','=','Future')]" separator="1" help="All Future Bugs"/>
|
||||
<filter icon="gtk-apply" string="Fixed Bugs"
|
||||
domain="[('section_id.name','=','Bug Tracking'),('stage_id.name','=','Fixed')]"
|
||||
separator="1" help="All Fixed Bugs"
|
||||
/>
|
||||
<filter icon="gtk-media-pause" string="Waiting Bugs"
|
||||
domain="[('section_id.name','=','Bug Tracking'),('stage_id.name','=','Awaiting Response')]"
|
||||
separator="1" help="All Waiting Bugs"
|
||||
/>
|
||||
<filter icon="gtk-media-forward" string="Future Bugs"
|
||||
domain="[('section_id.name','=','Bug Tracking'),('stage_id.name','=','Future')]"
|
||||
separator="1" help="All Future Bugs"
|
||||
/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter icon="gtk-execute" string=" Today " separator="1" domain="[('create_date::date','=',time.strftime('%%Y-%%m-%%d'))]" help="Todays's bugs"/>
|
||||
<filter icon="gtk-execute" string=" 7 Days " separator="1" domain="[]" help="Bugs during last 7 days"/>
|
||||
<filter icon="gtk-home" string=" Today "
|
||||
separator="1"
|
||||
domain="[('create_date::date','=',time.strftime('%%Y-%%m-%%d'))]"
|
||||
help="Todays's bugs"
|
||||
/>
|
||||
<filter icon="gtk-media-rewind" string=" 7 Days "
|
||||
separator="1" domain="[]"
|
||||
help="Bugs during last 7 days"
|
||||
/>
|
||||
</group>
|
||||
<separator orientation="vertical"/>
|
||||
<group col="4" colspan="2">
|
||||
@@ -165,9 +181,9 @@
|
||||
<filter icon="terp-crm" domain="[('user_id','child_of',[uid])]" help="My department's Bugs"/>
|
||||
</field>
|
||||
<field name="state" select="1">
|
||||
<filter icon="terp-crm" domain="[('state','=','draft')]" help="Draft Bugs"/>
|
||||
<filter icon="terp-crm" domain="[('state','=','open')]" help="Open Bugs"/>
|
||||
<filter icon="terp-crm" domain="[('state','=','pending')]" help="Pending Bugs"/>
|
||||
<filter icon="gtk-new" domain="[('state','=','draft')]" help="Draft Bugs"/>
|
||||
<filter icon="gtk-yes" domain="[('state','=','open')]" help="Open Bugs"/>
|
||||
<filter icon="gtk-media-pause" domain="[('state','=','pending')]" help="Pending Bugs"/>
|
||||
</field>
|
||||
</group>
|
||||
</search>
|
||||
|
||||
@@ -154,9 +154,20 @@
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Claims">
|
||||
<group col="4" colspan="1">
|
||||
<filter icon="gtk-execute" string="New Claims" domain="[('section_id.name','=','Claims'),('state','=','draft')]" separator="1" help="New Claims"/>
|
||||
<filter icon="gtk-execute" string="In Progress Claims" domain="[('section_id.name','=','Claims'),('state','=','open')]" separator="1" help="In Progress Claims"/>
|
||||
<filter icon="gtk-execute" string="Pending Claims" domain="[('section_id.name','=','Claims'),('state','=','pending')]" separator="1" help="All pending Claims"/>
|
||||
<filter icon="gtk-new" string="New Claims"
|
||||
domain="[('section_id.name','=','Claims'),('state','=','draft')]"
|
||||
separator="1" help="New Claims"
|
||||
/>
|
||||
<filter icon="gtk-execute"
|
||||
string="In Progress Claims"
|
||||
domain="[('section_id.name','=','Claims'),('state','=','open')]"
|
||||
separator="1" help="In Progress Claims"
|
||||
/>
|
||||
<filter icon="gtk-media-pause"
|
||||
string="Pending Claims"
|
||||
domain="[('section_id.name','=','Claims'),('state','=','pending')]"
|
||||
separator="1" help="All pending Claims"
|
||||
/>
|
||||
</group>
|
||||
<separator orientation="vertical"/>
|
||||
<group col="4" colspan="2">
|
||||
|
||||
@@ -153,11 +153,15 @@
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Funds">
|
||||
<group col='6' colspan='4'>
|
||||
<filter icon="gtk-execute" string="My Funds" default="1" domain="[('user_id','=',uid)]" separator="1" help="Funds Related to Current User"/>
|
||||
<filter icon="terp-partner" string="My Funds"
|
||||
default="1" domain="[('user_id','=',uid)]"
|
||||
separator="1"
|
||||
help="Funds Related to Current User"
|
||||
/>
|
||||
<field name="state" select="1">
|
||||
<filter icon="terp-crm" domain="[('state','=','draft')]" help="Draft Funds"/>
|
||||
<filter icon="terp-crm" domain="[('state','=','open')]" help="Open Funds"/>
|
||||
<filter icon="terp-crm" domain="[('state','=','pending')]" help="Pending Funds"/>
|
||||
<filter icon="gtk-new" domain="[('state','=','draft')]" help="Draft Funds"/>
|
||||
<filter icon="gtk-yes" domain="[('state','=','open')]" help="Open Funds"/>
|
||||
<filter icon="gtk-media-pause" domain="[('state','=','pending')]" help="Pending Funds"/>
|
||||
</field>
|
||||
<field name="name" select='1'/>
|
||||
<field name="user_id" select="1" widget="selection"/>
|
||||
|
||||
@@ -162,13 +162,28 @@
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Jobs">
|
||||
<group col="7" colspan="1">
|
||||
<filter icon="gtk-execute" string=" Today " separator="1" domain="[('create_date::date','=',time.strftime('%%Y-%%m-%%d'))]" help="Todays's Opportunities"/>
|
||||
<filter icon="gtk-execute" string=" 7 Days " separator="1" domain="[]" help="Opportunities during last 7 days"/>
|
||||
<!-- <filter icon="gtk-execute" string="My Jobs" domain="[('user_id','=',uid)]" separator="1" help="Jobs Related to Current User"/>-->
|
||||
<separator orientation="vertical"/>
|
||||
<filter icon="gtk-execute" string="New Jobs" domain="[('section_id.name','=','Jobs'),('stage_id.name','=','Initial Jobs Demand')]" separator="1" help="All Initial Jobs"/>
|
||||
<filter icon="gtk-execute" string="Open Jobs" domain="[('section_id.name','=','Jobs'),('state','=','open')]" separator="1" help="Open Jobs"/>
|
||||
<filter icon="gtk-execute" string="Pending Jobs" domain="[('section_id.name','=','Jobs'),('state','=','pending')]" separator="1" help="Pending Jobs"/>
|
||||
<filter icon="gtk-home" string=" Today "
|
||||
separator="1"
|
||||
domain="[('create_date::date','=',time.strftime('%%Y-%%m-%%d'))]"
|
||||
help="Todays's Opportunities"
|
||||
/>
|
||||
<filter icon="gtk-media-rewind"
|
||||
string=" 7 Days " separator="1" domain="[]"
|
||||
help="Opportunities during last 7 days"
|
||||
/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter icon="gtk-new" string="New Jobs"
|
||||
domain="[('section_id.name','=','Jobs'),('stage_id.name','=','Initial Jobs Demand')]"
|
||||
separator="1" help="All Initial Jobs"
|
||||
/>
|
||||
<filter icon="gtk-yes" string="Open Jobs"
|
||||
domain="[('section_id.name','=','Jobs'),('state','=','open')]"
|
||||
separator="1" help="Open Jobs"
|
||||
/>
|
||||
<filter icon="gtk-media-pause" string="Pending Jobs"
|
||||
domain="[('section_id.name','=','Jobs'),('state','=','pending')]"
|
||||
separator="1" help="Pending Jobs"
|
||||
/>
|
||||
</group>
|
||||
<separator orientation="vertical"/>
|
||||
<group col="4" colspan="2">
|
||||
|
||||
@@ -178,15 +178,28 @@
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Prospects">
|
||||
<group col="3" colspan="1">
|
||||
<filter icon="gtk-execute" string=" Today " separator="1" domain="[('create_date::date','=',time.strftime('%%Y-%%m-%%d'))]" help="Todays's Prospects"/>
|
||||
<filter icon="gtk-execute" string=" 7 Days " separator="1" domain="[]" help="Prospects during last 7 days"/>
|
||||
<filter icon="gtk-home" string=" Today "
|
||||
separator="1"
|
||||
domain="[('create_date::date','=',time.strftime('%%Y-%%m-%%d'))]"
|
||||
help="Todays's Prospects"
|
||||
/>
|
||||
<filter icon="gtk-media-rewind" string=" 7 Days "
|
||||
separator="1" domain="[]"
|
||||
help="Prospects during last 7 days"
|
||||
/>
|
||||
</group>
|
||||
<separator orientation="vertical"/>
|
||||
<group col="4" colspan="2">
|
||||
<field name="name" select="1"/>
|
||||
<field name="user_id" select="1" widget="selection">
|
||||
<filter icon="terp-partner" domain="[('user_id','=',uid)]" help="My Prospects" default="1"/>
|
||||
<filter icon="terp-crm" domain="[('user_id','child_of',[uid])]" help="My department's Prospects"/>
|
||||
<filter icon="terp-partner"
|
||||
domain="[('user_id','=',uid)]" help="My Prospects"
|
||||
default="1"
|
||||
/>
|
||||
<filter icon="terp-crm"
|
||||
domain="[('user_id','child_of',[uid])]"
|
||||
help="My department's Prospects"
|
||||
/>
|
||||
</field>
|
||||
<field name="state" select="1">
|
||||
<filter icon="gtk-new" domain="[('state','=','draft')]" help="Draft Prospects"/>
|
||||
|
||||
@@ -101,13 +101,13 @@
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Meetings">
|
||||
<group col="5" colspan="1">
|
||||
<filter icon="gtk-execute" string="My Meetings" default="1" domain="[('user_id','=',uid)]" help="Meetings Related to Current User"/>
|
||||
<filter icon="terp-partner" string="My Meetings" default="1" domain="[('user_id','=',uid)]" help="Meetings Related to Current User"/>
|
||||
</group>
|
||||
<group col="4" colspan="4">
|
||||
<field name="state" select="1">
|
||||
<filter icon="terp-crm" domain="[('state','=','draft')]" help="Draft Meetings"/>
|
||||
<filter icon="terp-crm" domain="[('state','=','open')]" help="Open Meetings"/>
|
||||
<filter icon="terp-crm" domain="[('state','=','pending')]" help="Pending Meetings"/>
|
||||
<filter icon="gtk-new" domain="[('state','=','draft')]" help="Draft Meetings"/>
|
||||
<filter icon="gtk-yes" domain="[('state','=','open')]" help="Open Meetings"/>
|
||||
<filter icon="gtk-media-pause" domain="[('state','=','pending')]" help="Pending Meetings"/>
|
||||
</field>
|
||||
<field name="name" select='1'/>
|
||||
<field name="user_id" select="1" widget="selection"/>
|
||||
|
||||
@@ -164,15 +164,28 @@
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Opportunities">
|
||||
<group col="3" colspan="1">
|
||||
<filter icon="gtk-execute" string=" Today " separator="1" domain="[('create_date::date','=',time.strftime('%%Y-%%m-%%d'))]" help="Todays's Opportunities"/>
|
||||
<filter icon="gtk-execute" string=" 7 Days " separator="1" domain="[]" help="Opportunities during last 7 days"/>
|
||||
</group>
|
||||
<filter icon="gtk-home" string=" Today "
|
||||
separator="1"
|
||||
domain="[('create_date::date','=',time.strftime('%%Y-%%m-%%d'))]"
|
||||
help="Todays's Opportunities"
|
||||
/>
|
||||
<filter icon="gtk-media-rewind" string=" 7 Days "
|
||||
separator="1" domain="[]"
|
||||
help="Opportunities during last 7 days"
|
||||
/>
|
||||
</group>
|
||||
<separator orientation="vertical"/>
|
||||
<group col="5" colspan="2">
|
||||
<field name="name" select="1" string="Opportunity"/>
|
||||
<field name="user_id" select="1" widget="selection">
|
||||
<filter icon="terp-partner" domain="[('user_id','=',uid)]" help="My Opportunities" default="1"/>
|
||||
<filter icon="terp-crm" domain="[('user_id','child_of',[uid])]" help="My department's Opportunities"/>
|
||||
<filter icon="terp-partner"
|
||||
domain="[('user_id','=',uid)]"
|
||||
help="My Opportunities" default="1"
|
||||
/>
|
||||
<filter icon="terp-crm"
|
||||
domain="[('user_id','child_of',[uid])]"
|
||||
help="My department's Opportunities"
|
||||
/>
|
||||
</field>
|
||||
<field name="partner_id" select="1"/>
|
||||
<field name="state" select="1">
|
||||
|
||||
@@ -101,23 +101,23 @@
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Phonecalls">
|
||||
<group col="6" colspan="1">
|
||||
<filter icon="gtk-execute"
|
||||
<filter icon="gtk-jump-to"
|
||||
string="Inbound Phonecalls"
|
||||
domain="[('section_id.name','=','Phone Calls'),('categ_id.name','=','Inbound')]"
|
||||
separator="1" help="All Inbound Phonecalls"
|
||||
/>
|
||||
<filter icon="gtk-execute"
|
||||
<filter icon="gtk-redo"
|
||||
string="Outbound Phonecalls"
|
||||
domain="[('section_id.name','=','Phone Calls'),('categ_id.name','=','Outbound')]"
|
||||
separator="1" help="All Outbound Phonecalls"
|
||||
/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter icon="gtk-execute" string=" Today "
|
||||
<filter icon="gtk-home" string=" Today "
|
||||
separator="1"
|
||||
domain="[('create_date::date','=',time.strftime('%%Y-%%m-%%d'))]"
|
||||
help="Todays's Phonecalls"
|
||||
/>
|
||||
<filter icon="gtk-execute" string=" 7 Days "
|
||||
<filter icon="gtk-media-rewind" string=" 7 Days "
|
||||
separator="1" domain="[]"
|
||||
help="Phonecalls during last 7 days"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user