summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfixco_custom/models/detail_order.py2
1 files changed, 1 insertions, 1 deletions
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"))