17 lines
839 B
XML
17 lines
839 B
XML
<?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>
|
|
<field name="inherit_id" ref="hr_timesheet.view_project_kanban_inherited"/>
|
|
<field name="arch" type="xml">
|
|
<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>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo> |