diff --git a/netforce_clinic/models/hd_case.py b/netforce_clinic/models/hd_case.py index 5a05eb8..16c7a99 100644 --- a/netforce_clinic/models/hd_case.py +++ b/netforce_clinic/models/hd_case.py @@ -814,6 +814,8 @@ class HDCase(Model): prod=line.product_id if prod.type != 'stock': continue + if not st.dlz_picking_auto and prod.categ_id.code=='DLZ': + continue # check orginal product prod_code=prod.code.split("-")[0] if patient.type_id.main_product: