Task timesheets start and end time added
This commit is contained in:
parent
e107914625
commit
d725038710
|
@ -20,7 +20,7 @@
|
|||
'version': '0.1',
|
||||
|
||||
# any module necessary for this one to work correctly
|
||||
'depends': ['base', 'crm', 'sale_timesheet', 'analytic', 'hr'],
|
||||
'depends': ['base', 'crm', 'sale_timesheet', 'analytic', 'hr', 'hr_timesheet'],
|
||||
|
||||
# always loaded
|
||||
'data': [
|
||||
|
|
|
@ -15,6 +15,18 @@
|
|||
</field>
|
||||
</record>-->
|
||||
|
||||
<record id="view_hr_task_timesheet_inherit_time" model="ir.ui.view">
|
||||
<field name="name">Start and End time task timesheets</field>
|
||||
<field name="model">project.task</field>
|
||||
<field name="inherit_id" ref="hr_timesheet.view_task_form2_inherited"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='timesheet_ids']//tree//field[@name='name']" position="after">
|
||||
<field name="start_time" widget="float_time"/>
|
||||
<field name="end_time" widget="float_time"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_account_analytic_line_inherit1" model="ir.ui.view">
|
||||
<field name="name">Analytic line</field>
|
||||
<field name="model">account.analytic.line</field>
|
||||
|
|
Loading…
Reference in New Issue