mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[IMP] rma: improve rma report layout
This commit is contained in:
committed by
Víctor Martínez
parent
849529c873
commit
6b1a6e3a85
@@ -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">
|
<span t-field="doc.product_uom_qty" />
|
||||||
<strong>Quantity:</strong>
|
<span
|
||||||
<p class="m-0">
|
t-field="doc.product_uom"
|
||||||
<span t-field="doc.product_uom_qty" />
|
groups="uom.group_uom"
|
||||||
<span t-field="doc.product_uom" groups="uom.group_uom" />
|
/>
|
||||||
</p>
|
</td>
|
||||||
</div>
|
</tr>
|
||||||
<div t-if="doc.delivered_qty" class="col-auto mw-100 mb-2">
|
<tr t-if="doc.delivered_qty">
|
||||||
<strong>Delivered qty:</strong>
|
<td>Delivered Quantity</td>
|
||||||
<p class="m-0" t-field="doc.delivered_qty" />
|
<td>
|
||||||
</div>
|
<span t-field="doc.delivered_qty" />
|
||||||
</div>
|
<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" />
|
||||||
|
|||||||
Reference in New Issue
Block a user