Skip to content

Commit

Permalink
[IMP] hr_timesheet_begin_end: missing form fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Rogos committed Mar 16, 2023
1 parent 8b6beb2 commit cfb2029
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions hr_timesheet_begin_end/views/hr_analytic_timesheet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree" />
<field name="arch" type="xml">
<field name="unit_amount" position="before">
<field name="time_start" widget="float_time" optional="show" />
<field name="time_stop" widget="float_time" optional="show" />
</field>
</field>
</record>
<record id="hr_timesheet_line_form" model="ir.ui.view">
<field name="name">account.analytic.line.form (in hr_timesheet_begin_end)</field>
<field name="model">account.analytic.line</field>
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_form" />
<field name="arch" type="xml">
<field name="date" position="after">
<field name="time_start" widget="float_time" />
<field name="time_stop" widget="float_time" />
</field>
Expand Down

0 comments on commit cfb2029

Please sign in to comment.