Task timesheets start and end time added

This commit is contained in:
projectsodoo 2021-01-27 10:12:10 +05:30
parent e107914625
commit d725038710
3 changed files with 13 additions and 1 deletions

View File

@ -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': [

View File

@ -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>

0
project_report/rng/graph_view.rng Normal file → Executable file
View File