mirror of
https://github.com/OCA/stock-logistics-reporting.git
synced 2025-02-16 17:13:21 +02:00
[UPD] Updated Picking Report by sorting location,product
This commit is contained in:
committed by
Christopher Ormaza
parent
857d9e4289
commit
f4d1988ada
@@ -6,13 +6,18 @@
|
||||
<t t-foreach="docs" t-as="o">
|
||||
<t
|
||||
t-set="move_line_ids"
|
||||
t-value="o.picking_ids.mapped('move_line_ids').sorted(lambda line: line.location_id.display_name)"
|
||||
t-value="o.picking_ids.mapped('move_line_ids').sorted(lambda line: (line.location_id.display_name, line.product_id.name))"
|
||||
/>
|
||||
<t
|
||||
t-set="has_serial_number"
|
||||
t-value="move_line_ids.filtered('lot_id')"
|
||||
groups="stock.group_production_lot"
|
||||
/>
|
||||
<t
|
||||
t-set="has_uom"
|
||||
t-value="move_line_ids.filtered('product_uom_id')"
|
||||
groups="uom.group_uom"
|
||||
/>
|
||||
<t t-call="web.external_layout">
|
||||
<div class="page">
|
||||
<div class="d-flex">
|
||||
@@ -39,6 +44,7 @@
|
||||
</th>
|
||||
<th>Quantity</th>
|
||||
<th width="23%">Transfer</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -89,8 +95,8 @@
|
||||
/>
|
||||
</t>
|
||||
<span
|
||||
t-field="move_operation.uom_id"
|
||||
groups="move_operation.group_uom"
|
||||
t-field="move_operation.product_uom_id"
|
||||
groups="uom.group_uom"
|
||||
/>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user