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) self.delete_all_b.setVisible(False)
# TESTING # TESTING
if "--auto-select" in sys.argv: if "--auto-select" in sys.argv:
recipe = "R54967" recipe = "R56738/1"
cn = self.crud.select_index["name"] cn = self.crud.select_index["name"]
self.crud.db_tw.clearSelection() self.crud.db_tw.clearSelection()
for rn in range(1, self.crud.db_tw.rowCount()): 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", {}) d = data.get("results", {}).get("data", {})
for k, l in { for k, l in {
"serial": self.serial_l, "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(): }.items():
l.setText(str(d.get(k, "-"))) l.setText(str(d.get(k, "-")))
super().visualize(data) super().visualize(data)