From 2ed3f2f98b766cd0204e10169a0d62ec8ed46e90 Mon Sep 17 00:00:00 2001 From: "Tiffany Chang (tic)" Date: Wed, 22 Jul 2020 11:31:57 +0000 Subject: [PATCH] [IMP] stock: align location and picking type barcode reports Creates a generic barcode template that prints the record name + its associated barcode (if it exists). Generic template is a combination of previously existing stock.picking.type and stock.location barcode reports. Updates stock.picking.type and stock.location barcode reports such that: - they have a title (for clarity when combining them in the same pdf) - they use the same (newly created) generic barcode template for an aligned look Also adds some formatting changes (proper indentation for legibility). Supports a review comment of overall barcode improvement task Task: 1884520 Enterprise PR: odoo/enterprise#12086 Closes: odoo/odoo#55096 --- .../stock/report/report_location_barcode.xml | 29 ++++++++++++------- .../report/report_stockpicking_operations.xml | 25 ++-------------- 2 files changed, 20 insertions(+), 34 deletions(-) diff --git a/addons/stock/report/report_location_barcode.xml b/addons/stock/report/report_location_barcode.xml index 10f22bacfcd..6cc5ef6c986 100644 --- a/addons/stock/report/report_location_barcode.xml +++ b/addons/stock/report/report_location_barcode.xml @@ -2,24 +2,31 @@ -