diff options
| author | svs-odoo <svs@odoo.com> | 2019-12-11 12:26:26 +0000 |
|---|---|---|
| committer | svs-odoo <svs@odoo.com> | 2020-01-31 12:40:08 +0000 |
| commit | 15b6fa6a06f6ba69ad9e7deb35712323a60be06b (patch) | |
| tree | 852b427e363a98415435185c34298c85ec736687 /addons | |
| parent | 85216e1dd069c296bdee12ed47c13e410b582813 (diff) | |
[FIX] stock_picking_batch: report by locations
This commit make sure the picking batch report print will be sorted by
location name.
task-2069646
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/stock_picking_batch/report/report_picking_batch.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock_picking_batch/report/report_picking_batch.xml b/addons/stock_picking_batch/report/report_picking_batch.xml index 066e0ae24aa..def0b016042 100644 --- a/addons/stock_picking_batch/report/report_picking_batch.xml +++ b/addons/stock_picking_batch/report/report_picking_batch.xml @@ -8,7 +8,7 @@ <t t-set="has_package" t-value="move_line_ids.filtered('result_package_id')" groups="stock.group_tracking_lot"/> <t t-set="has_serial_number" t-value="move_line_ids.filtered('lot_id')" groups="stock.group_production_lot"/> <t t-set="has_barcode" t-value="move_line_ids.mapped('product_id').filtered('barcode')"/> - <t t-set="locations" t-value="move_line_ids.mapped('location_id')"/> + <t t-set="locations" t-value="move_line_ids.mapped('location_id').sorted(lambda location: location.complete_name)"/> <t t-call="web.external_layout"> <div class="page"> <h3>Summary: <span t-field="o.name"/></h3> |
