[IMP] crm_partner_assign : Removed all filters related to a date field and added the related date field in the search view.

bzr revid: mdi@tinyerp.com-20120522064027-pditpokigbv9dc53
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-05-22 12:10:27 +05:30
parent dcad4713ae
commit 8d5296adfa
1 changed files with 0 additions and 5 deletions

View File

@ -10,11 +10,6 @@
<field name="arch" type="xml">
<search string="Leads Analysis">
<group>
<filter string="Last 30 Days" icon="terp-go-month" name="this_month"
domain="[('create_date','&gt;',(datetime.date.today()-datetime.timedelta(days=30)).strftime('%%Y-%%m-%%d'))]"/>
<filter icon="terp-go-week" string="7 Days"
domain="[('create_date','&gt;',(datetime.date.today()-datetime.timedelta(days=7)).strftime('%%Y-%%m-%%d'))]"/>
<separator orientation="vertical" />
<filter icon="terp-check"
string="Current"
domain="[('state','in',('draft','open'))]"/>