diff options
| author | Divyesh Makwana (Open ERP) <mdi@tinyerp.com> | 2012-05-29 10:25:09 +0530 |
|---|---|---|
| committer | Divyesh Makwana (Open ERP) <mdi@tinyerp.com> | 2012-05-29 10:25:09 +0530 |
| commit | e8bf2fda8ed49ba8a4982a276df1d764debfd2fd (patch) | |
| tree | d773247e9871ec49b1400f4c7cf2794a3e9a7e6a | |
| parent | 2fc05037fdee7995e6e458b80765d408ff437ff4 (diff) | |
[IMP] project_timesheet : Removed all filters related to a date field and added the related date field in the search view.
bzr revid: mdi@tinyerp.com-20120529045509-garnh9vhb68fph0v
| -rw-r--r-- | addons/project_timesheet/report/task_report_view.xml | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/addons/project_timesheet/report/task_report_view.xml b/addons/project_timesheet/report/task_report_view.xml index b1ba9b8672e..6d430347c01 100644 --- a/addons/project_timesheet/report/task_report_view.xml +++ b/addons/project_timesheet/report/task_report_view.xml @@ -31,21 +31,8 @@ <field name="arch" type="xml"> <search string="Tasks by User"> <group> - <filter icon="terp-go-year" string="Year" - name="year" - domain="[('name','<=', time.strftime('%%Y-%%m-%%d')),('name','>=',time.strftime('%%Y-01-01'))]" - help="Task Hours in current year"/> - <separator orientation="vertical"/> - <filter icon="terp-go-month" string="Month" - name="month" - domain="[('name','<=',(datetime.date.today()+relativedelta(day=31)).strftime('%%Y-%%m-%%d')),('name','>=',(datetime.date.today()-relativedelta(day=1)).strftime('%%Y-%%m-%%d'))]" - help="Task Hours in current month"/> - <filter icon="terp-go-month" - string=" Month-1 " - domain="[('name','<=', (datetime.date.today() - relativedelta(day=31, months=1)).strftime('%%Y-%%m-%%d')),('name','>=',(datetime.date.today() - relativedelta(day=1,months=1)).strftime('%%Y-%%m-%%d'))]" - help="Task hours of last month"/> - <separator orientation="vertical"/> <field name="user_id"/> + <field name="name"/> </group> <newline/> <group expand="1" string="Group By..."> |
