Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions hr_timesheet_sheet_attendance/views/hr_timesheet_sheet_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,31 @@
<field name="res_model">account.analytic.line</field>
</record>

<!-- hr_timesheet_sheet inherited list view-->
<record id="hr_timesheet_sheet_tree" model="ir.ui.view">
<field name="name">hr_timesheet.sheet.inherit.list</field>
<field name="model">hr_timesheet.sheet</field>
<field name="inherit_id" ref="hr_timesheet_sheet.hr_timesheet_sheet_tree" />
<field name="arch" type="xml">
<field name="total_time" position="before">
<field
name="total_attendance"
widget="float_time"
groups="hr_attendance.group_hr_attendance_own_reader"
optional="show"
/>
</field>
<field name="total_time" position="after">
<field
name="total_difference"
widget="float_time"
groups="hr_attendance.group_hr_attendance_own_reader"
optional="show"
/>
</field>
</field>
</record>

<!-- hr_timesheet_sheet inherited view-->
<record id="hr_timesheet_sheet_form" model="ir.ui.view">
<field name="name">hr_timesheet.sheet.inherit.form</field>
Expand Down
Loading