[FIX] laser position are integers

This commit is contained in:
Alexandre Fayolle
2020-06-24 17:13:22 +02:00
committed by Guewen Baconnier
parent 63dd8a5c3b
commit 318f101787

View File

@@ -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 = {