Skip to content
Snippets Groups Projects
Commit cb78bec0 authored by Juliana's avatar Juliana
Browse files

Ajout dépendance hr_timesheet + modif pour adapter le module

parent 2f84f425
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
'website': "https://www.le-filament.com",
'version': '12.0.1.0.1',
'license': "AGPL-3",
'depends': ['project', 'project_status'],
'depends': ['project', 'project_status', 'hr_timesheet'],
'data': [
'security/ir.model.access.csv',
'datas/adefpat.type.convention.csv',
......
......@@ -43,7 +43,12 @@
<field name="parent_id" invisible="1" />
<field name="partner_id" invisible="1" />
</xpath>
<notebook position="replace"/>
<xpath expr="//notebook/page[@name='description_page']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//notebook/page[@name='extra_info']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
</field>
</record>
......
......@@ -29,14 +29,14 @@
</span>
</div>
</xpath>
<div class="o_project_kanban_boxes" position="replace">
<a class="o_project_kanban_box" name="%(project.act_project_project_2_project_task_all)d" type="action">
<div>
<span class="o_value"><t t-esc="record.task_count.value"/></span>
<span class="o_label">Sessions</span>
</div>
</a>
</div>
<!-- <div class="o_project_kanban_boxes" position="replace">-->
<!-- <a class="o_project_kanban_box" name="%(project.act_project_project_2_project_task_all)d" type="action">-->
<!-- <div>-->
<!-- <span class="o_value"><t t-esc="record.task_count.value"/></span>-->
<!-- <span class="o_label">Sessions</span>-->
<!-- </div>-->
<!-- </a>-->
<!-- </div>-->
</field>
</record>
......@@ -64,7 +64,8 @@
<field name="num_dossier" attrs="{'invisible': [('num_dossier', '=', False)]}" readonly="1"/>
</h4>
</h1>
<div name="options_active" position="replace"/>
<xpath expr="//div[@name='options_active']/div" position="replace"/>
<field name="task_count" position="replace">
<field string="Sessions" name="task_count" widget="statinfo"/>
</field>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment