From 78b8e1957963ebb0b78cc6777093faaba827739a Mon Sep 17 00:00:00 2001 From: Anand Baburajan Date: Fri, 14 Jul 2023 20:16:49 +0530 Subject: [PATCH] fix: HSN code not showing up in GST itemised register reports (#36142) fix: hsn code not showing up in gst itemised registers (cherry picked from commit 1d3917b3359a138d5b3441fbfe162d5c0fdcc175) --- .../gst_itemised_purchase_register.py | 2 +- .../gst_itemised_sales_register/gst_itemised_sales_register.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/regional/report/gst_itemised_purchase_register/gst_itemised_purchase_register.py b/erpnext/regional/report/gst_itemised_purchase_register/gst_itemised_purchase_register.py index 4dcdf4b88e2c..fec63f2f18a4 100644 --- a/erpnext/regional/report/gst_itemised_purchase_register/gst_itemised_purchase_register.py +++ b/erpnext/regional/report/gst_itemised_purchase_register/gst_itemised_purchase_register.py @@ -28,7 +28,7 @@ def execute(filters=None): "gst_category", "export_type", "ecommerce_gstin", - "`tabPurchase Invoice Item`.gst_hsn_code", + "gst_hsn_code", "bill_no", "bill_date", ], diff --git a/erpnext/regional/report/gst_itemised_sales_register/gst_itemised_sales_register.py b/erpnext/regional/report/gst_itemised_sales_register/gst_itemised_sales_register.py index 3280c75fb348..aef69b178689 100644 --- a/erpnext/regional/report/gst_itemised_sales_register/gst_itemised_sales_register.py +++ b/erpnext/regional/report/gst_itemised_sales_register/gst_itemised_sales_register.py @@ -39,7 +39,7 @@ def execute(filters=None): "gst_category", "export_type", "ecommerce_gstin", - "`tabSales Invoice Item`.gst_hsn_code", + "gst_hsn_code", ] additional_conditions = get_conditions(filters, additional_query_columns)