Files
Odoo-18.0-20251222/maintenance_plan/views/report_maintenance_request.xml
tocmo0nlord adbe430761
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled
Initial commit: Odoo 18.0-20251222 extra-addons
2026-03-13 20:43:25 +00:00

24 lines
937 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template
id="report_maintenance_request_document"
inherit_id="base_maintenance.report_maintenance_request_document"
>
<xpath expr="//div[@id='description']" position="after">
<div class="row mt32 mb32" id="note">
<!-- TODO: Add support for other instruction types using QRCODE/links
- PDF: embed or link to the PDF file (share attachment)
- Google Slide: link to the Google Slide presentation
-->
<div
t-if="doc.instruction_type == 'text' and doc.instruction_text"
class="col-auto mw-100 mb-2"
>
<strong>Instructions:</strong>
<div class="m-0" t-field="doc.instruction_text" />
</div>
</div>
</xpath>
</template>
</odoo>