[MIG] timesheet_description: Migrated to 18.0

This commit is contained in:
Mayank Patel
2024-10-24 13:07:36 +00:00
parent ce85dd9be8
commit 8521fb0e50
2 changed files with 3 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{
'name': 'Timesheet Description',
'version': '17.0.1.0.0',
'version': '18.0.1.0.0',
'author': 'Hibou Corp. <hello@hibou.io>',
'website': 'https://hibou.io/',
'license': 'AGPL-3',
@@ -12,7 +12,6 @@ Timesheet entries will be made in a form view, allowing the end user to enter mo
Optionally, allows you to display your timesheet entries in markdown on the front end of the website.
""",
'depends': [
'website_project_task',
'project',
'hr_timesheet',
],

View File

@@ -5,7 +5,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" position="attributes">
<xpath expr="//field[@name='timesheet_ids']/list" position="attributes">
<attribute name="editable"/>
</xpath>
<xpath expr="//field[@name='timesheet_ids']/form//field[@name='name']" position="attributes">
@@ -21,7 +21,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" position="attributes">
<xpath expr="//list" position="attributes">
<attribute name="editable"/>
</xpath>
</field>