[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
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user