supporto assemblati whip

This commit is contained in:
eduardo 2024-05-24 08:45:04 +02:00
parent 941e3ba764
commit 8f7868c8b7
2 changed files with 5 additions and 1 deletions

View File

@ -138,7 +138,7 @@ class Recipe_Selection(Widget):
self.delete_all_b.setVisible(False)
# TESTING
if "--auto-select" in sys.argv:
recipe = "R54967"
recipe = "R56738/1"
cn = self.crud.select_index["name"]
self.crud.db_tw.clearSelection()
for rn in range(1, self.crud.db_tw.rowCount()):

View File

@ -109,6 +109,10 @@ class Test_Barcodes(Test_Test):
d = data.get("results", {}).get("data", {})
for k, l in {
"serial": self.serial_l,
"barcode_input_2": self.serial_l,
"barcode_input_3": self.serial_l,
"barcode_input_4": self.serial_l,
"barcode_input_5": self.serial_l,
}.items():
l.setText(str(d.get(k, "-")))
super().visualize(data)