Jagdish Panchal (Open ERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-polish2-improvement_analysis_view_project-jap into lp:openobject-addons.
Requested reviews: OpenERP Core Team (openerp) For more details, see: https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-polish2-improvement_analysis_view_project-jap/+merge/81805 Hello Sir, I have improve analysis view in the project module as per your ask. Thanks JAP -- https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-polish2-improvement_analysis_view_project-jap/+merge/81805 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-polish2-improvement_analysis_view_project-jap.
=== modified file 'project/report/project_report_view.xml' --- project/report/project_report_view.xml 2011-10-13 15:18:22 +0000 +++ project/report/project_report_view.xml 2011-11-10 05:07:29 +0000 @@ -61,8 +61,10 @@ <search string="Tasks Analysis"> <group> <filter icon="terp-go-year" string=" Year " + name="year" domain="[('date_start','<=', time.strftime('%%Y-%%m-%%d')),('date_start','>=',time.strftime('%%Y-01-01'))]" help="Current Year"/> + <separator orientation="vertical"/> <filter icon="terp-go-month" string=" Month " name="month" domain="[('date_start','<=',(datetime.date.today()+relativedelta(day=31)).strftime('%%Y-%%m-%%d')),('date_start','>=',(datetime.date.today()-relativedelta(day=1)).strftime('%%Y-%%m-%%d'))]" @@ -146,7 +148,7 @@ <field name="view_type">form</field> <field name="view_mode">tree,graph</field> <field name="search_view_id" ref="view_task_project_user_search"/> - <field name="context">{'search_default_month':1,'search_default_project':1,'group_by_no_leaf':1,'group_by':[]}</field> + <field name="context">{'search_default_year':1,'search_default_month':1,'search_default_project':1,'group_by_no_leaf':1,'group_by':[]}</field> <field name="help">This report allows you to analyse the performance of your projects and users. You can analyse the quantities of tasks, the hours spent compared to the planned hours, the average number of days to open or close a task, etc.</field> </record> === modified file 'project_issue/report/project_issue_report_view.xml' --- project_issue/report/project_issue_report_view.xml 2011-11-08 22:53:37 +0000 +++ project_issue/report/project_issue_report_view.xml 2011-11-10 05:07:29 +0000 @@ -54,9 +54,10 @@ <search string="Search"> <group> <filter string="Year" icon="terp-go-year" help="Current Year" + name="year" domain="[('create_date','<=', time.strftime('%%Y-%%m-%%d')),('create_date','>=',time.strftime('%%Y-01-01'))]" /> - + <separator orientation="vertical" /> <filter string="Month" icon="terp-go-month" name="This Month" domain="[('create_date','<=',(datetime.date.today()+relativedelta(day=31)).strftime('%%Y-%%m-%%d')),('create_date','>=',(datetime.date.today()-relativedelta(day=1)).strftime('%%Y-%%m-%%d'))]" /> @@ -139,7 +140,7 @@ <field name="res_model">project.issue.report</field> <field name="view_type">form</field> <field name="view_mode">graph,tree</field> - <field name="context">{'search_default_This Month':1,'search_default_project':1,'group_by_no_leaf':1,'group_by':[]}</field> + <field name="context">{'search_default_year':1,'search_default_This Month':1,'search_default_project':1,'group_by_no_leaf':1,'group_by':[]}</field> <field name="view_id" ref="view_project_issue_report_tree"/> <field name="search_view_id" ref="view_project_issue_report_filter"/> <field name="help">This report on the project issues allows you to analyse the quality of your support or after-sales services. You can track the issues per age. You can analyse the time required to open or close an issue, the number of email to exchange and the time spent on average by issues.</field> === modified file 'project_timesheet/report/task_report_view.xml' --- project_timesheet/report/task_report_view.xml 2011-03-15 14:08:59 +0000 +++ project_timesheet/report/task_report_view.xml 2011-11-10 05:07:29 +0000 @@ -35,6 +35,7 @@ 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'))]" @@ -76,7 +77,7 @@ <field name="res_model">report.timesheet.task.user</field> <field name="view_type">form</field> <field name="view_mode">tree,graph</field> - <field name="context">{'search_default_month':1, 'search_default_group_user_id':1}</field> + <field name="context">{'search_default_year':1,'search_default_month':1, 'search_default_group_user_id':1}</field> </record> <menuitem id="menu_timesheet_task_user" parent="hr_timesheet.menu_hr_reporting_timesheet" action="action_report_timesheet_task_user" sequence="1"/>
_______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : openerp-dev-gtk@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp