[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:
parent
faeb8865d2
commit
ec31f3775a
|
@ -26,10 +26,6 @@
|
|||
<filter icon="terp-go-today" string="To Renew" domain="['|', '&', ('date', '!=', False), ('date', '<=', 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','<=', (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/>
|
||||
|
|
Loading…
Reference in New Issue