From 274f956f8d26ee7f41aee815ea8b8e434b7678e0 Mon Sep 17 00:00:00 2001
From: Goffin Simon
Date: Tue, 23 Oct 2018 14:31:03 +0000
Subject: [PATCH] [FIX] stock: Lot/Serial Number not displayed
The field lot_name is not initialised in many cases.
Steps to reproduce the bug:
- Set your user in the group called "Display Serial & Lot Number in Delivery Slips"
- Create a new stockable product P with setting tracking "by unique serial number"
- Create 10 serial numbers for P
- Purchase 10 units of P and select the 10 serial numbers created
- Create a SO where I selected 1 unit of P with its serial number and confirm it
- Go to the delivery slip and print the delivery slip
Bug:
The serial number was not printed in the delivery slip.
opw:1900735
closes odoo/odoo#28076
---
addons/stock/report/report_deliveryslip.xml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/addons/stock/report/report_deliveryslip.xml b/addons/stock/report/report_deliveryslip.xml
index ea7f91c6583..a91a860dee9 100644
--- a/addons/stock/report/report_deliveryslip.xml
+++ b/addons/stock/report/report_deliveryslip.xml
@@ -94,9 +94,12 @@
-
+ |
|
+
+
+ |
|