diff --git a/sf_machine_connect/controllers/controllers.py b/sf_machine_connect/controllers/controllers.py index 69ea3c14..397840f9 100644 --- a/sf_machine_connect/controllers/controllers.py +++ b/sf_machine_connect/controllers/controllers.py @@ -1002,7 +1002,7 @@ class Sf_Dashboard_Connect(http.Controller): 'blank_name': blank_name, 'material': material, 'dimensions': dimensions, - 'order_qty': order.qty_produced, + 'order_qty': finish_order.qty_produced, 'finish_time': finish_order.date_finished.strftime( '%Y-%m-%d %H:%M:%S') if finish_order.date_finished else ' '