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

bzr revid: mdi@tinyerp.com-20120522052455-6vzp6p1dezgild73
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-05-22 10:54:55 +05:30
parent faeb8865d2
commit ec31f3775a
1 changed files with 1 additions and 4 deletions

View File

@ -26,10 +26,6 @@
<filter icon="terp-go-today" string="To Renew" domain="['|', '&amp;', ('date', '!=', False), ('date', '&lt;=', time.strftime('%%Y-%%m-%%d')), ('is_overdue_quantity', '=', True)]"
name="renew"
help="The contracts to be renewed because the deadline is passed or the working hours are higher than the allocated hours" />
<filter icon="terp-go-month"
string=" +1 Month"
domain="[('date','&lt;=', (datetime.date.today() + relativedelta(months=1)).strftime('%%Y-%%m-%%d')),('date','>=', time.strftime('%%Y-%%m-%%d'))]"
help="Analytic Accounts with a past deadline in one month." />
<separator orientation="vertical"/>
<field name="name" filter_domain="['|', ('name','ilike',self),('code','ilike',self)]" string="Contract"/>
@ -39,6 +35,7 @@
<field name="user_id">
<filter string="Contracts not assigned to an account manager" help="Contracts that are not assigned to an account manager." domain="[('user_id', '=', False)]" icon="terp-personal-" />
</field>
<field name="date"/>
</group>
<newline/>