[IMP] sale_timesheet: remove deprecated code in kanban view

Before this commit, the code removed has a `t-if="1 == 0"`, it means
the content is never visible in the kanban view.

This commit removes this deprecated code.

task-2458017

closes #68343
This commit is contained in:
Xavier BOL (xbo)
2021-04-08 08:27:49 +02:00
parent b450a93441
commit a8e92d73e9
@@ -92,11 +92,6 @@
<field name="allow_billable"/>
<field name="warning_employee_rate" invisible="1"/>
</xpath>
<xpath expr="//div[hasclass('o_primary')]//span" position="inside">
<t t-if="1 == 0">
<i class="ml-2 fa fa-exclamation-triangle text-danger small" role="img" title="Some of the employees who are recording time on this project are not linked to any Sales Order Item. This means that their time will be considered as non-billable." aria-label="Some of the employees who are recording time on this project are not linked to any ales Order Item. This means that their time will be considered as non-billable."/>
</t>
</xpath>
<xpath expr="//a[@name='action_view_account_analytic_line']" position="attributes">
<attribute name="t-if">record.analytic_account_id.raw_value and !record.allow_timesheets.raw_value and record.allow_billable.raw_value</attribute>
</xpath>