[IMP] rma: improve rma report layout

This commit is contained in:
sbejaoui
2025-01-08 18:58:51 +01:00
committed by Víctor Martínez
parent 849529c873
commit 6b1a6e3a85

View File

@@ -95,31 +95,42 @@
</p> </p>
</div> </div>
</div> </div>
<div class="row mt32 mb32" id="product_information"> <table class="table table-sm o_main_table table-borderless mt-4">
<div t-if="doc.picking_id" class="col-auto mw-100 mb-2"> <tbody>
<strong>Origin delivery:</strong> <tr t-if="doc.picking_id" name="tr_picking">
<p class="m-0" t-field="doc.picking_id" /> <td>Origin delivery</td>
</div> <td><span t-field="doc.picking_id" /></td>
<div t-if="doc.move_id" class="col-auto mw-100 mb-2"> </tr>
<strong>Move:</strong> <tr>
<p class="m-0" t-field="doc.move_id" /> <td>Product</td>
</div> <td><span t-field="doc.product_id" /></td>
<div t-if="doc.product_id" class="col-auto mw-100 mb-2"> </tr>
<strong>Product:</strong> <tr>
<p class="m-0" t-field="doc.product_id" /> <td>Quantity</td>
</div> <td>
<div t-if="doc.product_id" class="col-auto mw-100 mb-2">
<strong>Quantity:</strong>
<p class="m-0">
<span t-field="doc.product_uom_qty" /> <span t-field="doc.product_uom_qty" />
<span t-field="doc.product_uom" groups="uom.group_uom" /> <span
</p> t-field="doc.product_uom"
</div> groups="uom.group_uom"
<div t-if="doc.delivered_qty" class="col-auto mw-100 mb-2"> />
<strong>Delivered qty:</strong> </td>
<p class="m-0" t-field="doc.delivered_qty" /> </tr>
</div> <tr t-if="doc.delivered_qty">
</div> <td>Delivered Quantity</td>
<td>
<span t-field="doc.delivered_qty" />
<span
t-field="doc.product_uom"
groups="uom.group_uom"
/>
</td>
</tr>
<tr>
<td>Requested operation</td>
<td><span t-field="doc.operation_id" /></td>
</tr>
</tbody>
</table>
<div t-if="doc.description"> <div t-if="doc.description">
<strong>RMA Note:</strong> <strong>RMA Note:</strong>
<p t-out="doc.description" /> <p t-out="doc.description" />