Twinkle Christian(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-clean-search-tools-survey-tch into
lp:~openerp-dev/openobject-addons/trunk-clean-search.
Requested reviews:
Jigar Amin (OpenERP) (jam-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-clean-search-tools-survey-tch/+merge/115703
Hello Sir,
I have improved search view in survey module.
Kindly review this.
Thanks,
TCH.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-clean-search-tools-survey-tch/+merge/115703
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-clean-search.
=== modified file 'survey/survey_view.xml'
--- survey/survey_view.xml 2012-07-16 21:18:52 +0000
+++ survey/survey_view.xml 2012-07-19 11:15:23 +0000
@@ -275,20 +275,15 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Search Survey">
- <group>
- <field name="title" string="Survey"/>
- <separator orientation="vertical"/>
- <filter icon="terp-document-new" string="New" domain="[('state','=', 'draft')]" help="All New Survey"/>
- <filter icon="terp-camera_test" string="Open" domain="[('state','=','open')]" help="All Open Survey"/>
- <filter string="My Survey(s)" icon="terp-personal" domain="[('responsible_id','=',uid)]" help="My Survey(s)"/>
- <separator orientation="vertical"/>
- <field name="type" widget="selection"/>
- <field name="responsible_id"/>
- </group>
- <newline/>
+ <field name="title" string="Survey"/>
+ <field name="type"/>
+ <field name="responsible_id"/>
+ <filter icon="terp-document-new" string="New" domain="[('state','=', 'draft')]" help="All New Survey"/>
+ <filter icon="terp-camera_test" string="Open" domain="[('state','=','open')]" help="All Open Survey"/>
+ <separator/>
+ <filter string="My Survey(s)" icon="terp-personal" domain="[('responsible_id','=',uid)]" help="My Survey(s)"/>
<group expand="0" string="Group By...">
<filter string="Responsible" icon="terp-personal" domain="[]" context="{'group_by':'responsible_id'}"/>
- <separator orientation="vertical"/>
<filter string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
<filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
</group>
@@ -551,9 +546,7 @@
<field name="arch" type="xml">
<search string="Search Survey Page">
<field name="title" string="Page"/>
- <separator orientation="vertical"/>
<field name="survey_id"/>
- <newline/>
<group expand="0" string="Group By...">
<filter string="Survey" icon="terp-stock_align_left_24" domain="[]" context="{'group_by':'survey_id'}"/>
</group>
@@ -757,11 +750,9 @@
<field name="arch" type="xml">
<search string="Search Question">
<field name="question" string="Question"/>
- <separator orientation="vertical"/>
<field name="page_id"/>
- <field name="survey" widget="selection"/>
+ <field name="survey"/>
<field name="type"/>
- <newline/>
<group expand="0" string="Group By...">
<filter string="Page" icon="terp-stock_align_left_24" domain="[]" context="{'group_by':'page_id'}"/>
</group>
@@ -1178,22 +1169,17 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Search Survey">
- <group>
- <field name="email" string="Survey"/>
- <separator orientation="vertical"/>
- <filter icon="terp-gtk-media-pause" string="Waiting Answer" domain="[('state','=','waiting_answer')]"/>
- <filter icon="terp-emblem-important" string="Late" domain="[('date_deadline','<',current_date)]"/>
- <filter string="My Survey(s)" icon="terp-personal" domain="[('user_id','=',uid)]"/>
- <separator orientation="vertical"/>
- <field name="survey_id" widget="selection"/>
- <field name="user_id"/>
- </group>
- <newline/>
+ <field name="email" string="Survey"/>
+ <field name="survey_id" widget="selection"/>
+ <field name="user_id"/>
+ <filter icon="terp-gtk-media-pause" string="Waiting Answer" domain="[('state','=','waiting_answer')]"/>
+ <separator/>
+ <filter icon="terp-emblem-important" string="Late" domain="[('date_deadline','<',current_date)]"/>
+ <separator/>
+ <filter string="My Survey(s)" icon="terp-personal" domain="[('user_id','=',uid)]"/>
<group expand="0" string="Group By...">
<filter string="User" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
- <separator orientation="vertical"/>
<filter string="Survey" icon="terp-stock_align_left_24" domain="[]" context="{'group_by':'survey_id'}"/>
- <separator orientation="vertical"/>
<filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
</group>
</search>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp