[MIG] hr_department_project: migrate to 17.0

This commit is contained in:
Milan
2024-11-04 17:14:09 +01:00
parent 4c42c946f4
commit 4ce1885b5a
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
'name': 'HR Department Project',
'version': '13.0.1.0.0',
'version': '17.0.1.0.0',
'author': 'Hibou Corp. <hello@hibou.io>',
'category': 'Human Resources',
'summary': 'Provide default project per Department',

View File

@@ -5,7 +5,8 @@
<field name="model">hr.department</field>
<field name="inherit_id" ref="hr.view_department_form"/>
<field name="arch" type="xml">
<xpath expr="//widget[@name='web_ribbon']" position="before">
<!-- <xpath expr="//widget[@name='web_ribbon']" position="before"> -->
<xpath expr="//button[@name='action_plan_from_department']" position="after">
<div class="oe_button_box" name="button_box">
<button class="oe_stat_button" name="project_tree_view" type="object" icon="fa-puzzle-piece">
<field string="Projects" name="project_count" widget="statinfo"/>