MIG hr_department_project For Odoo 13.0

This commit is contained in:
Bhoomi
2019-08-30 10:19:59 -04:00
parent 46cd592715
commit 9eef4818ff
2 changed files with 7 additions and 5 deletions

View File

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

View File

@@ -5,10 +5,12 @@
<field name="model">hr.department</field>
<field name="inherit_id" ref="hr.view_department_form"/>
<field name="arch" type="xml">
<xpath expr="//button[@name='toggle_active']" position="before">
<button class="oe_stat_button" name="project_tree_view" type="object" icon="fa-puzzle-piece">
<field string="Projects" name="project_count" widget="statinfo"/>
</button>
<xpath expr="//widget[@name='web_ribbon']" position="before">
<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"/>
</button>
</div>
</xpath>
</field>
</record>