From 318f101787a9f53c50ce48f0181089a49fe9aed9 Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Wed, 24 Jun 2020 17:13:22 +0200 Subject: [PATCH] [FIX] laser position are integers --- stock_vertical_lift_kardex/models/stock_location.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stock_vertical_lift_kardex/models/stock_location.py b/stock_vertical_lift_kardex/models/stock_location.py index cabf25775..c2b6c99c9 100644 --- a/stock_vertical_lift_kardex/models/stock_location.py +++ b/stock_vertical_lift_kardex/models/stock_location.py @@ -38,6 +38,7 @@ class StockLocation(models.Model): 'Check if the dimensions of tray %s ' 'are properly set in the tray type.') % (cell_location.display_name, self.name) ) + x, y = int(x), int(y) else: x, y = "", "" subst = {