Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <data>
- <!--
- Done by RHT on the 12/03/2025
- Need : The customer wants to go live but he has some issues with the fields available on the portal. / He doesn't want the customer to see the time he passed working for them so we need to remove this from the different view on the customer portal -> He sells at fix price and doesn't want to let the customer knows that he paid 100€ for 15 Minutes for example./ He needs to show the degree of infectation as well on the different tasks.
- Task : https://www.odoo.com/odoo/project.task/4642215
- Pastebin : https://pastebin.com/Cv1afAKH
- -->
- <xpath expr="//t[@t-set='number_of_header']" position="attributes">
- <attribute name="t-value">9</attribute>
- </xpath>
- <xpath expr="//th[5]" position="after">
- <th name="infectation_level" class="text-end">
- <span>Degré d'infestation</span>
- </th>
- <th name="start_date" class="text-end">
- <span>Date</span>
- </th>
- </xpath>
- <xpath expr="//td[5]" position="after">
- <td name="infectation_level" align="right" class="text-end">
- <span title="Degré d'infestation" t-out="task.x_studio_degr_dinfestation"/>
- </td>
- <td name="start_date" align="right" class="text-end">
- <span title="Start Date" t-out="task.planned_date_begin" t-options="{'widget': 'date'}"/>
- </td>
- </xpath>
- <xpath expr="//t[@t-if='not project or project.allow_timesheets']" position="replace"/>
- <xpath expr="//td[9]" position="replace"/>
- </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement