diff options
| author | Jérome Maes <jem@openerp.com> | 2017-10-11 16:00:03 +0200 |
|---|---|---|
| committer | Jérome Maes <jem@openerp.com> | 2017-10-16 17:27:16 +0200 |
| commit | 25725eae578d126f79c69f72a7a4e3b4136b4e5d (patch) | |
| tree | 08a9736ab60d53fea14a9c514b5fe308e609acbb /addons | |
| parent | 3d5298aff974e7212b3ece9b96e68f1ae4a78009 (diff) | |
[FIX] hr_timesheet_sheet: set domain on action to see timesheet only
Analytic lines should not be included when
showing the timesheet line of a given
sheet. A domain is thus needed on the action.
opw-772517
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/hr_timesheet_attendance/views/hr_timesheet_sheet_views.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/hr_timesheet_attendance/views/hr_timesheet_sheet_views.xml b/addons/hr_timesheet_attendance/views/hr_timesheet_sheet_views.xml index 7aba1d01c33..b465567946c 100644 --- a/addons/hr_timesheet_attendance/views/hr_timesheet_sheet_views.xml +++ b/addons/hr_timesheet_attendance/views/hr_timesheet_sheet_views.xml @@ -29,6 +29,7 @@ <field name="view_ids" eval="[(5, 0, 0), (0, 0, {'view_mode': 'tree', 'view_id': ref('hr_timesheet.hr_timesheet_line_tree')}), (0, 0, {'view_mode': 'form', 'view_id': ref('hr_timesheet.hr_timesheet_line_form')})]"/> + <field name="domain">[('project_id','!=',False)]</field> </record> <record id="hr_timesheet_sheet_form" model="ir.ui.view"> |
