[MIG] hr_timesheet_work_entry: Migrated to 18.0

H14631
This commit is contained in:
Mayank Patel
2024-10-24 10:43:22 +00:00
parent 6d239dd4da
commit 659dc27fa0
3 changed files with 5 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
<field name="model">account.analytic.line</field>
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree"/>
<field name="arch" type="xml">
<xpath expr="//tree/field[@name='task_id']" position="after">
<xpath expr="//list/field[@name='task_id']" position="after">
<field name="work_type_id"
domain="[('allow_timesheet', '=', True)]"
context="{'default_allow_timesheet': True}" />
@@ -32,7 +32,7 @@
<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='employee_id']" position="after">
<xpath expr="//field[@name='timesheet_ids']/list//field[@name='employee_id']" position="after">
<field name="work_type_id"
domain="[('allow_timesheet', '=', True)]"
context="{'default_allow_timesheet': True}" />