mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[IMP] rma: print serial/lot number in RMA group report
This commit is contained in:
committed by
JasminSForgeFlow
parent
87eed78a2c
commit
7855f13c5d
@@ -212,11 +212,19 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table class="table table-condensed">
|
<table class="table table-condensed">
|
||||||
|
<t
|
||||||
|
t-set="print_lot_column"
|
||||||
|
t-value="any(l.lot_id for l in doc.rma_line_ids)"
|
||||||
|
/>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Origin</th>
|
<th>Origin</th>
|
||||||
<th>Operation</th>
|
<th>Operation</th>
|
||||||
<th>Product</th>
|
<th>Product</th>
|
||||||
|
<th
|
||||||
|
name="lot"
|
||||||
|
t-if="print_lot_column"
|
||||||
|
>Lot/Serial Number</th>
|
||||||
<th class="text-right">Quantity</th>
|
<th class="text-right">Quantity</th>
|
||||||
<th class="text-right">Unit Price</th>
|
<th class="text-right">Unit Price</th>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -226,6 +234,9 @@
|
|||||||
<td><span t-field="l.origin" /></td>
|
<td><span t-field="l.origin" /></td>
|
||||||
<td><span t-field="l.operation_id.name" /></td>
|
<td><span t-field="l.operation_id.name" /></td>
|
||||||
<td><span t-field="l.product_id" /></td>
|
<td><span t-field="l.product_id" /></td>
|
||||||
|
<td name="lot" t-if="print_lot_column"><span
|
||||||
|
t-field="l.lot_id"
|
||||||
|
/></td>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
<span t-field="l.product_qty" />
|
<span t-field="l.product_qty" />
|
||||||
<span t-field="l.uom_id" groups="uom.group_uom" />
|
<span t-field="l.uom_id" groups="uom.group_uom" />
|
||||||
|
|||||||
Reference in New Issue
Block a user