Obbliga conferma movimenti barcode con tasti funzione

This commit is contained in:
2026-07-06 17:56:44 +02:00
parent 44cd82352b
commit fa9d0be09a
2 changed files with 6 additions and 5 deletions

View File

@@ -519,11 +519,12 @@ class BarcodeClientApp:
def _on_destination_enter(self, _event=None) -> str:
pallet = str(self.scanned_var.get() or "").strip()
destination = str(self.destination_var.get() or "").strip()
if pallet and destination:
self._submit()
else:
if not pallet:
self._focus_primary_input()
else:
self.info1_var.set("F3 per associare, F4 per disassociare")
self.status_band.configure(bg=self._status_colors["yellow"])
self._focus_destination_input()
return "break"
def _on_unload_key(self, _event=None) -> str: