Skip to content

Commit

Permalink
Merge pull request #340 from ForgeFlow/14.0-imp-rma_report_lot
Browse files Browse the repository at this point in the history
[14.0][IMP] rma: add lot/serial in report
  • Loading branch information
LoisRForgeFlow authored Dec 27, 2022
2 parents 0168889 + 9ad79ea commit 23d00a1
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions rma/report/rma_report_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,23 @@
<table class="table table-condensed">
<thead>
<tr>
<th>Product</th>
<th class="text-right">Quantity</th>
<th class="text-right">Unit Price</th>
<th name="product" invisible="1">Product</th>
<th name="lot" t-if="doc.lot_id">Lot/Serial Number</th>
<th name="quantity" class="text-right">Quantity</th>
<th name="unit_price" class="text-right">Unit Price</th>
</tr>
</thead>
<tbody>
<tr>
<td><span t-field="doc.product_id" /></td>
<td class="text-right">
<td name="product"><span t-field="doc.product_id" /></td>
<td name="lot" t-if="doc.lot_id"><span
t-field="doc.lot_id"
/></td>
<td name="quantity" class="text-right">
<span t-field="doc.product_qty" />
<span t-field="doc.uom_id" groups="uom.group_uom" />
</td>
<td class="text-right">
<td name="unit_price" class="text-right">
<span
t-field="doc.price_unit"
t-options='{"widget": "monetary", "display_currency": doc.currency_id}'
Expand Down

0 comments on commit 23d00a1

Please sign in to comment.