fix: HSN code not visible in GST Itemised Purchase register
diff --git a/erpnext/accounts/report/item_wise_purchase_register/item_wise_purchase_register.py b/erpnext/accounts/report/item_wise_purchase_register/item_wise_purchase_register.py
index 4523f66..11f4e0d 100644
--- a/erpnext/accounts/report/item_wise_purchase_register/item_wise_purchase_register.py
+++ b/erpnext/accounts/report/item_wise_purchase_register/item_wise_purchase_register.py
@@ -54,8 +54,8 @@
'description': d.description,
'invoice': d.parent,
'posting_date': d.posting_date,
- 'customer': d.supplier,
- 'customer_name': d.supplier_name
+ 'supplier': d.supplier,
+ 'supplier_name': d.supplier_name
}
if additional_query_columns:
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 3ce2547..b5948f9 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
@@ -13,9 +13,9 @@
dict(fieldtype='Data', label='GST Category', fieldname="gst_category", width=120),
dict(fieldtype='Data', label='Export Type', fieldname="export_type", width=120),
dict(fieldtype='Data', label='E-Commerce GSTIN', fieldname="ecommerce_gstin", width=130),
- dict(fieldtype='Data', label='HSN Code', fieldname="hsn_code", width=120),
- dict(fieldtype='Data', label='Supplier Invoice No', fieldname="supplier_invoice_no", width=120),
- dict(fieldtype='Date', label='Supplier Invoice Date', fieldname="supplier_invoice_date", width=100)
+ dict(fieldtype='Data', label='HSN Code', fieldname="gst_hsn_code", width=120),
+ dict(fieldtype='Data', label='Supplier Invoice No', fieldname="bill_no", width=120),
+ dict(fieldtype='Date', label='Supplier Invoice Date', fieldname="bill_date", width=100)
], additional_query_columns=[
'supplier_gstin',
'company_gstin',