Implementa picking bilista 2.1.0 con test, patch SQL e rollback

This commit is contained in:
2026-10-13 17:11:23 +02:00
parent a60610c03e
commit bd73fe5edb
19 changed files with 2168 additions and 130 deletions

View File

@@ -31,6 +31,9 @@ class BarcodeViewState:
auto_advance_delay_ms: int = 0
destination_readonly: bool = False
focus_destination: bool = False
pair_run_id: str = ""
pair_slot: int = 0
pair_document: str = ""
@dataclass
@@ -400,6 +403,8 @@ class BarcodeService:
barcode_pallet=pallet,
numero_cella=target_numero_cella,
refresh_picking_reservation=is_picking_unload,
**({"pair_run_id": self._state.pair_run_id, "pair_document": self._state.pair_document}
if is_picking_unload and self._state.pair_run_id else {}),
)
final_location = await self.repository.fetch_current_location_by_pallet(pallet)