From 97375bd90f2adc12cdaa22ee20e91723a2cb3497 Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Mon, 22 Jun 2020 16:26:22 +0200 Subject: [PATCH] [FIX] laser pointer command The parameter was not passed in the method chain, loosing track of the cell to which the laser pointer should be pointed at. --- stock_vertical_lift_kardex/models/stock_location.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stock_vertical_lift_kardex/models/stock_location.py b/stock_vertical_lift_kardex/models/stock_location.py index 85af2c55d..4f8a91983 100644 --- a/stock_vertical_lift_kardex/models/stock_location.py +++ b/stock_vertical_lift_kardex/models/stock_location.py @@ -85,7 +85,9 @@ class StockLocation(models.Model): highlighting the cell using a laser pointer. """ if self.vertical_lift_shuttle_id.hardware == "kardex": - payload = self._hardware_kardex_prepare_payload() + payload = self._hardware_kardex_prepare_payload( + cell_location=cell_location + ) _logger.debug("Sending to kardex: {}", payload) # TODO implement the communication with kardex else: