diff options
| author | jem-odoo <jem@openerp.com> | 2018-09-10 08:01:20 +0200 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2018-09-12 10:44:12 +0200 |
| commit | 32700ebacc6cd3f98906d7a42e0fd5b48e691fe0 (patch) | |
| tree | cfe3315936331b0d729948257ce52bd259309797 | |
| parent | a01b5eb4025db649d77f5b0a945509cd1643963e (diff) | |
[IMP] hr_timesheet: remove calendar view for timesheet
The calendar view does not make many sense for timesheet. Moreover
recording timesheet from it is strange since there is no end date
on the timesheet model.
Removing this view avoids confusing for users.
Task #1883326
| -rw-r--r-- | addons/hr_timesheet/views/hr_timesheet_views.xml | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/addons/hr_timesheet/views/hr_timesheet_views.xml b/addons/hr_timesheet/views/hr_timesheet_views.xml index 298c8537542..027796d8b08 100644 --- a/addons/hr_timesheet/views/hr_timesheet_views.xml +++ b/addons/hr_timesheet/views/hr_timesheet_views.xml @@ -116,17 +116,6 @@ </field> </record> - <record id="timesheet_view_calendar" model="ir.ui.view"> - <field name="name">account.analytic.line.calendar</field> - <field name="model">account.analytic.line</field> - <field name="arch" type="xml"> - <calendar string="Timesheets" date_start="date" color="employee_id"> - <field name="name"/> - <field name="project_id"/> - </calendar> - </field> - </record> - <record id="hr_timesheet_line_search" model="ir.ui.view"> <field name="name">account.analytic.line.search</field> <field name="model">account.analytic.line</field> @@ -237,13 +226,6 @@ <field name="act_window_id" ref="act_hr_timesheet_line"/> </record> - <record id="timesheet_action_view_calendar" model="ir.actions.act_window.view"> - <field name="sequence" eval="8"/> - <field name="view_mode">calendar</field> - <field name="view_id" ref="timesheet_view_calendar"/> - <field name="act_window_id" ref="act_hr_timesheet_line"/> - </record> - <menuitem id="timesheet_menu_activity_mine" name="My Timesheets" parent="menu_hr_time_tracking" @@ -276,13 +258,6 @@ <field name="act_window_id" ref="timesheet_action_all"/> </record> - <record id="timesheet_action_view_all_calendar" model="ir.actions.act_window.view"> - <field name="sequence" eval="8"/> - <field name="view_mode">calendar</field> - <field name="view_id" ref="timesheet_view_calendar"/> - <field name="act_window_id" ref="timesheet_action_all"/> - </record> - <menuitem id="timesheet_menu_activity_all" name="All Timesheets" parent="menu_hr_time_tracking" |
