2019-06-11 21:34:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<odoo>
|
|
|
|
<record id="project_timesheet_matrix_view_form" model="ir.ui.view">
|
|
|
|
<field name="name">project.timesheet.matrix.view.form</field>
|
|
|
|
<field name="model">project.project</field>
|
2019-06-12 17:50:21 +00:00
|
|
|
<field name="inherit_id" ref="hr_timesheet.view_project_kanban_inherited"/>
|
2019-06-11 21:34:10 +00:00
|
|
|
<field name="arch" type="xml">
|
2019-06-12 17:50:21 +00:00
|
|
|
<xpath expr="//a[@groups='hr_timesheet.group_hr_timesheet_user']" position="replace">
|
|
|
|
<a t-if="record.allow_timesheets.raw_value" class="o_project_kanban_box" name="open_timesheets_matrix" type="object" groups="hr_timesheet.group_hr_timesheet_user">
|
|
|
|
<div>
|
|
|
|
<span class="o_label">Timesheets</span>
|
|
|
|
</div>
|
|
|
|
</a>
|
2019-06-11 21:34:10 +00:00
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</odoo>
|