[IMP] account_followup: improved search views.

bzr revid: tpa@tinyerp.com-20120719132744-qhxfacp5tkduqmyb
This commit is contained in:
Turkesh Patel (Open ERP) 2012-07-19 18:57:44 +05:30
parent ef1dde85fd
commit 8f563574e3
2 changed files with 11 additions and 25 deletions

View File

@ -71,11 +71,8 @@
<field name="type">search</field> <field name="type">search</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<search string="Search Follow-up"> <search string="Search Follow-up">
<group> <field name="name" string="Follow-up"/>
<field name="name" string="Follow-up"/> <field name="company_id" groups="base.group_multi_company"/>
<separator orientation="vertical"/>
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
</group>
</search> </search>
</field> </field>
</record> </record>

View File

@ -40,31 +40,20 @@
<field name="type">search</field> <field name="type">search</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<search string="Follow-ups Sent"> <search string="Follow-ups Sent">
<group> <field name="date_move"/>
<field name="date_move"/> <field name="date_move_last"/>
<field name="date_move_last"/> <field name="partner_id"/>
<separator orientation="vertical"/> <field name="balance"/>
<filter icon="terp-go-year" string="This Fiscal year" <filter icon="terp-go-year" string="This Fiscal year" name="fiscalyear" domain="[('period_id','in','current_year')]"
name="fiscalyear" help="Follow-up Entries with period in current year"/>
domain="[('period_id','in','current_year')]" <separator/>
help="Follow-up Entries with period in current year"/> <filter icon="terp-camera_test" string="Not Litigation" domain="[('blocked','=', False)]"
<separator orientation="vertical"/> help = "Including journal entries marked as a litigation"/>
<filter icon="terp-camera_test" string="Not Litigation"
domain="[('blocked','=', False)]"
help = "Including journal entries marked as a litigation"/>
<separator orientation="vertical"/>
<field name="partner_id"/>
<field name="balance"/>
</group>
<newline/>
<group expand="1" string="Group By..."> <group expand="1" string="Group By...">
<filter string="Partner" icon="terp-partner" context="{'group_by':'partner_id'}" /> <filter string="Partner" icon="terp-partner" context="{'group_by':'partner_id'}" />
<separator orientation="vertical"/>
<filter string="Litigation" icon="terp-camera_test" context="{'group_by':'blocked'}" /> <filter string="Litigation" icon="terp-camera_test" context="{'group_by':'blocked'}" />
<separator orientation="vertical"/>
<filter string="Follow-up Level" icon="terp-stock_effects-object-colorize" name="followup_level" context="{'group_by':'followup_id'}" /> <filter string="Follow-up Level" icon="terp-stock_effects-object-colorize" name="followup_level" context="{'group_by':'followup_id'}" />
<filter string="Latest Follow-up Date" icon="terp-go-month" context="{'group_by':'date_followup'}" /> <filter string="Latest Follow-up Date" icon="terp-go-month" context="{'group_by':'date_followup'}" />
<separator orientation="vertical" groups="base.group_multi_company"/>
<filter string="Company" groups="base.group_multi_company" icon="terp-go-home" context="{'group_by':'company_id'}" /> <filter string="Company" groups="base.group_multi_company" icon="terp-go-home" context="{'group_by':'company_id'}" />
</group> </group>
</search> </search>