From 91607253601526603d74399f5603ed9ffb3a7b86 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Wed, 4 Jun 2025 13:46:55 +0700 Subject: fix bug --- fixco_custom/models/detail_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fixco_custom/models/detail_order.py b/fixco_custom/models/detail_order.py index bac1ff5..120a5ea 100755 --- a/fixco_custom/models/detail_order.py +++ b/fixco_custom/models/detail_order.py @@ -114,7 +114,7 @@ class DetailOrder(models.Model): print_info = json_data.get('data', {})[0].get('printInfo', {}).get('labelPrintStatus') if not order_id: raise UserError(_("Order ID not found in JSON data")) - return order_id, order_status, print_info, json_data + return order_id, order_status, print_info raise UserError(_("No JSON data available")) except json.JSONDecodeError: raise UserError(_("Invalid JSON format in detail_order field")) -- cgit v1.2.3