Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <data>
- <!--
- Done by RHT on the 12/03/2025
- Need : Adapt the portal task form view
- Task : https://www.odoo.com/odoo/project.task/4642215
- Pastebin : https://pastebin.com/JmicE70N
- -->
- <xpath expr="//div[@name='portal_my_task_allocated_hours']" position="replace"/>
- <xpath expr="//div[@t-if='task.allocated_hours > 0 and allow_timesheets']" position="replace"/>
- <xpath expr="//div[@t-if='task.planned_date_begin']" position="replace">
- <div t-if="task.planned_date_begin">
- <strong>Date:</strong>
- <span t-field="task.planned_date_begin" t-options="{'widget': 'date'}"/>
- </div>
- </xpath>
- <xpath expr="//div[@name='amount_due']" position="replace">
- <div name="amount_due" t-if="task.sale_line_id.amount_to_invoice > 0"><strong>Montant Dû:</strong>
- <span t-field="task.sale_line_id.amount_to_invoice"/>
- </div>
- </xpath>
- </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement