hide start and end time
This commit is contained in:
parent
d7e15e5afb
commit
d76434022e
|
@ -73,8 +73,8 @@
|
|||
widget="task_with_hours" context="{'default_project_id': project_id}"
|
||||
domain="[('project_id', '=', project_id)]"/>
|
||||
<field name="name" optional="show" required="0"/>
|
||||
<field name="start_time" widget="float_time" invisible="0"/><!--custom-->
|
||||
<field name="end_time" widget="float_time" invisible="0"/><!--custom-->
|
||||
<field name="start_time" widget="float_time" invisible="1"/><!--custom-->
|
||||
<field name="end_time" widget="float_time" invisible="1"/><!--custom-->
|
||||
<field name="start_datetime" string="Start Time"/><!--custom-->
|
||||
<field name="end_datetime" string="End Time"/><!--custom-->
|
||||
<field name="unit_amount" optional="show" widget="timesheet_uom" sum="Total"
|
||||
|
@ -171,8 +171,8 @@
|
|||
<group>
|
||||
<!--<field name="amount"/>-->
|
||||
<field name="amount" invisible="1"/>
|
||||
<field name="start_time" invisible="0"/><!--custom-->
|
||||
<field name="end_time" widget="float_time" invisible="0"/><!--custom-->
|
||||
<field name="start_time" widget="float_time" invisible="1"/><!--custom-->
|
||||
<field name="end_time" widget="float_time" invisible="1"/><!--custom-->
|
||||
<field name="start_datetime" string="Start Time"/><!--custom-->
|
||||
<field name="end_datetime" string="End Time"/><!--custom-->
|
||||
<field name="unit_amount" widget="timesheet_uom" decoration-danger="unit_amount > 24"/>
|
||||
|
@ -192,7 +192,8 @@
|
|||
form_view_id="%(hr_timesheet.hr_timesheet_line_form)d" event_open_popup="true" quick_add="False">
|
||||
<field name="project_id"/>
|
||||
<field name="name"/>
|
||||
<field name="start_time"/>
|
||||
<field name="start_datetime" string="Start date"/>
|
||||
<field name="end_datetime" string="End date"/>
|
||||
</calendar>
|
||||
</field>
|
||||
</record>
|
||||
|
|
Loading…
Reference in New Issue