From 9cf529215f273a6502eb125f1b20c6012fa9b77f Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 9 Mar 2026 17:16:14 +0530 Subject: [PATCH] fix: set default list view columns and filters for sales, purchase and accounts module --- .../doctype/accounting_period/accounting_period.json | 3 +-- .../accounts/doctype/journal_entry/journal_entry.json | 4 ++-- .../accounts/doctype/payment_entry/payment_entry.json | 7 +++++-- .../doctype/purchase_invoice/purchase_invoice.json | 6 +++++- .../accounts/doctype/sales_invoice/sales_invoice.json | 6 +++++- erpnext/assets/doctype/asset/asset.json | 4 +++- .../assets/doctype/asset_movement/asset_movement.json | 3 ++- .../buying/doctype/purchase_order/purchase_order.json | 3 ++- .../request_for_quotation/request_for_quotation.json | 9 ++++++--- erpnext/buying/doctype/supplier/supplier.json | 4 +++- erpnext/projects/doctype/project/project.json | 4 +++- erpnext/selling/doctype/customer/customer.json | 3 ++- erpnext/selling/doctype/quotation/quotation.json | 3 ++- erpnext/setup/doctype/company/company.json | 8 ++++---- erpnext/stock/doctype/delivery_note/delivery_note.json | 7 +++++-- .../stock/doctype/material_request/material_request.json | 4 ++-- .../stock/doctype/purchase_receipt/purchase_receipt.json | 3 ++- 17 files changed, 54 insertions(+), 27 deletions(-) diff --git a/erpnext/accounts/doctype/accounting_period/accounting_period.json b/erpnext/accounts/doctype/accounting_period/accounting_period.json index 2fb69f6b97c..10c6b72ec88 100644 --- a/erpnext/accounts/doctype/accounting_period/accounting_period.json +++ b/erpnext/accounts/doctype/accounting_period/accounting_period.json @@ -20,7 +20,6 @@ { "fieldname": "period_name", "fieldtype": "Data", - "in_list_view": 1, "label": "Period Name", "reqd": 1, "unique": 1 @@ -79,7 +78,7 @@ } ], "links": [], - "modified": "2025-12-01 16:53:44.631299", + "modified": "2026-03-09 17:15:33.577217", "modified_by": "Administrator", "module": "Accounts", "name": "Accounting Period", diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.json b/erpnext/accounts/doctype/journal_entry/journal_entry.json index 45e9c4eab85..0856f41bb09 100644 --- a/erpnext/accounts/doctype/journal_entry/journal_entry.json +++ b/erpnext/accounts/doctype/journal_entry/journal_entry.json @@ -140,6 +140,7 @@ { "fieldname": "company", "fieldtype": "Link", + "in_list_view": 1, "in_standard_filter": 1, "label": "Company", "oldfieldname": "company", @@ -181,7 +182,6 @@ "fieldname": "cheque_no", "fieldtype": "Data", "in_global_search": 1, - "in_list_view": 1, "label": "Reference Number", "mandatory_depends_on": "eval:doc.voucher_type == \"Bank Entry\"", "no_copy": 1, @@ -665,7 +665,7 @@ "table_fieldname": "payment_entries" } ], - "modified": "2026-02-16 16:06:10.468482", + "modified": "2026-03-09 17:15:26.569327", "modified_by": "Administrator", "module": "Accounts", "name": "Journal Entry", diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.json b/erpnext/accounts/doctype/payment_entry/payment_entry.json index 1adf6a5866e..afa508781d8 100644 --- a/erpnext/accounts/doctype/payment_entry/payment_entry.json +++ b/erpnext/accounts/doctype/payment_entry/payment_entry.json @@ -138,6 +138,7 @@ "fieldname": "posting_date", "fieldtype": "Date", "in_list_view": 1, + "in_standard_filter": 1, "label": "Posting Date", "reqd": 1 }, @@ -160,7 +161,6 @@ { "fieldname": "mode_of_payment", "fieldtype": "Link", - "in_list_view": 1, "label": "Mode of Payment", "options": "Mode of Payment" }, @@ -228,6 +228,7 @@ "fieldname": "paid_from", "fieldtype": "Link", "in_global_search": 1, + "in_list_view": 1, "label": "Account Paid From", "options": "Account", "print_hide": 1, @@ -252,6 +253,7 @@ "fieldname": "paid_to", "fieldtype": "Link", "in_global_search": 1, + "in_list_view": 1, "label": "Account Paid To", "options": "Account", "print_hide": 1, @@ -414,6 +416,7 @@ "depends_on": "eval:(doc.paid_from && doc.paid_to)", "fieldname": "reference_no", "fieldtype": "Data", + "in_standard_filter": 1, "label": "Cheque/Reference No", "mandatory_depends_on": "eval:(doc.paid_from_account_type == 'Bank' || doc.paid_to_account_type == 'Bank')" }, @@ -792,7 +795,7 @@ "table_fieldname": "payment_entries" } ], - "modified": "2026-02-03 16:08:49.800381", + "modified": "2026-03-09 17:15:30.453920", "modified_by": "Administrator", "module": "Accounts", "name": "Payment Entry", diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json index 3926e27e519..24c32fca451 100644 --- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json +++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json @@ -266,6 +266,7 @@ { "fieldname": "due_date", "fieldtype": "Date", + "in_list_view": 1, "label": "Due Date", "oldfieldname": "due_date", "oldfieldtype": "Date" @@ -319,6 +320,7 @@ "fieldname": "posting_date", "fieldtype": "Date", "in_list_view": 1, + "in_standard_filter": 1, "label": "Date", "oldfieldname": "posting_date", "oldfieldtype": "Date", @@ -397,6 +399,8 @@ { "fieldname": "bill_no", "fieldtype": "Data", + "in_list_view": 1, + "in_standard_filter": 1, "label": "Supplier Invoice No", "oldfieldname": "bill_no", "oldfieldtype": "Data", @@ -1689,7 +1693,7 @@ "idx": 204, "is_submittable": 1, "links": [], - "modified": "2026-02-23 13:23:57.269770", + "modified": "2026-03-09 17:15:27.014131", "modified_by": "Administrator", "module": "Accounts", "name": "Purchase Invoice", diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json index f97e641c757..61e31e286e1 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json @@ -381,6 +381,8 @@ "fieldtype": "Date", "hide_days": 1, "hide_seconds": 1, + "in_list_view": 1, + "in_standard_filter": 1, "label": "Date", "no_copy": 1, "oldfieldname": "posting_date", @@ -415,6 +417,7 @@ "fieldtype": "Date", "hide_days": 1, "hide_seconds": 1, + "in_list_view": 1, "label": "Payment Due Date", "no_copy": 1, "oldfieldname": "due_date", @@ -1639,6 +1642,7 @@ "fieldtype": "Select", "hide_days": 1, "hide_seconds": 1, + "in_list_view": 1, "in_standard_filter": 1, "label": "Status", "length": 30, @@ -2330,7 +2334,7 @@ "link_fieldname": "consolidated_invoice" } ], - "modified": "2026-02-28 17:58:56.453076", + "modified": "2026-03-09 17:15:30.931929", "modified_by": "Administrator", "module": "Accounts", "name": "Sales Invoice", diff --git a/erpnext/assets/doctype/asset/asset.json b/erpnext/assets/doctype/asset/asset.json index 32f5ce9cf50..9fe15940970 100644 --- a/erpnext/assets/doctype/asset/asset.json +++ b/erpnext/assets/doctype/asset/asset.json @@ -169,6 +169,8 @@ { "fieldname": "company", "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, "label": "Company", "options": "Company", "remember_last_selected_value": 1, @@ -624,7 +626,7 @@ "link_fieldname": "target_asset" } ], - "modified": "2026-02-05 12:42:45.350216", + "modified": "2026-03-09 17:15:32.819896", "modified_by": "Administrator", "module": "Assets", "name": "Asset", diff --git a/erpnext/assets/doctype/asset_movement/asset_movement.json b/erpnext/assets/doctype/asset_movement/asset_movement.json index a656acf1265..aedfc149f64 100644 --- a/erpnext/assets/doctype/asset_movement/asset_movement.json +++ b/erpnext/assets/doctype/asset_movement/asset_movement.json @@ -32,6 +32,7 @@ { "fieldname": "purpose", "fieldtype": "Select", + "in_list_view": 1, "label": "Purpose", "options": "\nIssue\nReceipt\nTransfer\nTransfer and Issue", "reqd": 1 @@ -97,7 +98,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2025-05-30 17:01:55.864353", + "modified": "2026-03-09 17:19:02.087333", "modified_by": "Administrator", "module": "Assets", "name": "Asset Movement", diff --git a/erpnext/buying/doctype/purchase_order/purchase_order.json b/erpnext/buying/doctype/purchase_order/purchase_order.json index 53879d5eff3..d5b2beea6f6 100644 --- a/erpnext/buying/doctype/purchase_order/purchase_order.json +++ b/erpnext/buying/doctype/purchase_order/purchase_order.json @@ -252,6 +252,7 @@ "allow_on_submit": 1, "fieldname": "schedule_date", "fieldtype": "Date", + "in_list_view": 1, "label": "Required By" }, { @@ -1327,7 +1328,7 @@ "idx": 105, "is_submittable": 1, "links": [], - "modified": "2026-03-02 00:40:47.119584", + "modified": "2026-03-09 17:15:29.184682", "modified_by": "Administrator", "module": "Buying", "name": "Purchase Order", diff --git a/erpnext/buying/doctype/request_for_quotation/request_for_quotation.json b/erpnext/buying/doctype/request_for_quotation/request_for_quotation.json index a10497702ce..18e1356b263 100644 --- a/erpnext/buying/doctype/request_for_quotation/request_for_quotation.json +++ b/erpnext/buying/doctype/request_for_quotation/request_for_quotation.json @@ -49,7 +49,6 @@ { "fieldname": "naming_series", "fieldtype": "Select", - "in_list_view": 1, "label": "Series", "no_copy": 1, "oldfieldname": "naming_series", @@ -77,6 +76,7 @@ "fieldname": "vendor", "fieldtype": "Link", "hidden": 1, + "in_list_view": 1, "in_standard_filter": 1, "label": "Supplier", "no_copy": 1, @@ -95,6 +95,7 @@ "fieldname": "transaction_date", "fieldtype": "Date", "in_list_view": 1, + "in_standard_filter": 1, "label": "Date", "oldfieldname": "transaction_date", "oldfieldtype": "Date", @@ -147,7 +148,6 @@ "depends_on": "eval:doc.use_html == 0", "fieldname": "message_for_supplier", "fieldtype": "Text Editor", - "in_list_view": 1, "label": "Message for Supplier", "mandatory_depends_on": "eval:doc.use_html == 0", "print_hide": 1 @@ -225,6 +225,8 @@ { "fieldname": "status", "fieldtype": "Select", + "in_list_view": 1, + "in_standard_filter": 1, "label": "Status", "no_copy": 1, "oldfieldname": "status", @@ -263,6 +265,7 @@ { "fieldname": "schedule_date", "fieldtype": "Date", + "in_list_view": 1, "label": "Required Date" }, { @@ -350,7 +353,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2026-03-01 23:38:48.079274", + "modified": "2026-03-09 17:15:29.774614", "modified_by": "Administrator", "module": "Buying", "name": "Request for Quotation", diff --git a/erpnext/buying/doctype/supplier/supplier.json b/erpnext/buying/doctype/supplier/supplier.json index 08178831751..60e90517b17 100644 --- a/erpnext/buying/doctype/supplier/supplier.json +++ b/erpnext/buying/doctype/supplier/supplier.json @@ -178,6 +178,7 @@ "default": "Company", "fieldname": "supplier_type", "fieldtype": "Select", + "in_list_view": 1, "label": "Supplier Type", "options": "Company\nIndividual\nPartnership", "reqd": 1 @@ -238,6 +239,7 @@ "fieldname": "default_currency", "fieldtype": "Link", "ignore_user_permissions": 1, + "in_list_view": 1, "label": "Billing Currency", "no_copy": 1, "options": "Currency" @@ -515,7 +517,7 @@ "link_fieldname": "party" } ], - "modified": "2026-02-08 20:28:01.101808", + "modified": "2026-03-09 17:15:25.465759", "modified_by": "Administrator", "module": "Buying", "name": "Supplier", diff --git a/erpnext/projects/doctype/project/project.json b/erpnext/projects/doctype/project/project.json index dca5c94b78d..e36e15f71f5 100644 --- a/erpnext/projects/doctype/project/project.json +++ b/erpnext/projects/doctype/project/project.json @@ -118,6 +118,7 @@ "bold": 1, "fieldname": "percent_complete", "fieldtype": "Percent", + "in_list_view": 1, "label": "% Completed", "no_copy": 1, "read_only": 1 @@ -138,6 +139,7 @@ "bold": 1, "fieldname": "expected_start_date", "fieldtype": "Date", + "in_list_view": 1, "label": "Expected Start Date", "oldfieldname": "project_start_date", "oldfieldtype": "Date" @@ -478,7 +480,7 @@ "index_web_pages_for_search": 1, "links": [], "max_attachments": 4, - "modified": "2026-03-04 11:09:55.253367", + "modified": "2026-03-09 17:15:24.426294", "modified_by": "Administrator", "module": "Projects", "name": "Project", diff --git a/erpnext/selling/doctype/customer/customer.json b/erpnext/selling/doctype/customer/customer.json index 360f5861d7b..95c5fb772e3 100644 --- a/erpnext/selling/doctype/customer/customer.json +++ b/erpnext/selling/doctype/customer/customer.json @@ -240,6 +240,7 @@ "fieldname": "default_currency", "fieldtype": "Link", "ignore_user_permissions": 1, + "in_list_view": 1, "label": "Billing Currency", "no_copy": 1, "options": "Currency" @@ -639,7 +640,7 @@ "link_fieldname": "party" } ], - "modified": "2026-02-02 15:39:55.920831", + "modified": "2026-03-09 17:15:26.040050", "modified_by": "Administrator", "module": "Selling", "name": "Customer", diff --git a/erpnext/selling/doctype/quotation/quotation.json b/erpnext/selling/doctype/quotation/quotation.json index b9fb7d97a01..9bb4e599691 100644 --- a/erpnext/selling/doctype/quotation/quotation.json +++ b/erpnext/selling/doctype/quotation/quotation.json @@ -215,6 +215,7 @@ { "fieldname": "company", "fieldtype": "Link", + "in_list_view": 1, "label": "Company", "oldfieldname": "company", "oldfieldtype": "Link", @@ -1135,7 +1136,7 @@ "idx": 82, "is_submittable": 1, "links": [], - "modified": "2026-02-06 17:34:22.170032", + "modified": "2026-03-09 17:15:31.941114", "modified_by": "Administrator", "module": "Selling", "name": "Quotation", diff --git a/erpnext/setup/doctype/company/company.json b/erpnext/setup/doctype/company/company.json index c7d6b4b7481..ab64635c048 100644 --- a/erpnext/setup/doctype/company/company.json +++ b/erpnext/setup/doctype/company/company.json @@ -166,6 +166,7 @@ "default": "0", "fieldname": "is_group", "fieldtype": "Check", + "in_list_view": 1, "label": "Is Group" }, { @@ -187,7 +188,6 @@ "fieldname": "parent_company", "fieldtype": "Link", "ignore_user_permissions": 1, - "in_list_view": 1, "label": "Parent Company", "options": "Company" }, @@ -245,6 +245,7 @@ "fieldname": "default_currency", "fieldtype": "Link", "ignore_user_permissions": 1, + "in_list_view": 1, "label": "Default Currency", "options": "Currency", "reqd": 1 @@ -468,6 +469,7 @@ "default": "1", "fieldname": "enable_perpetual_inventory", "fieldtype": "Check", + "in_list_view": 1, "label": "Enable Perpetual Inventory" }, { @@ -940,7 +942,6 @@ "description": "Accounting entries are frozen up to this date. Only users with the specified role can create or modify entries before this date.", "fieldname": "accounts_frozen_till_date", "fieldtype": "Date", - "in_list_view": 1, "label": "Accounts Frozen Till Date" }, { @@ -955,7 +956,6 @@ { "fieldname": "role_allowed_for_frozen_entries", "fieldtype": "Link", - "in_list_view": 1, "label": "Roles Allowed to Set and Edit Frozen Account Entries", "options": "Role" }, @@ -970,7 +970,7 @@ "image_field": "company_logo", "is_tree": 1, "links": [], - "modified": "2025-11-16 16:51:27.624096", + "modified": "2026-03-09 17:15:33.819426", "modified_by": "Administrator", "module": "Setup", "name": "Company", diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.json b/erpnext/stock/doctype/delivery_note/delivery_note.json index 11c8bc7b754..af777527133 100644 --- a/erpnext/stock/doctype/delivery_note/delivery_note.json +++ b/erpnext/stock/doctype/delivery_note/delivery_note.json @@ -246,6 +246,7 @@ "default": "Today", "fieldname": "posting_date", "fieldtype": "Date", + "in_list_view": 1, "label": "Date", "no_copy": 1, "oldfieldname": "posting_date", @@ -971,6 +972,7 @@ { "fieldname": "per_billed", "fieldtype": "Percent", + "in_list_view": 1, "label": "% Amount Billed", "no_copy": 1, "print_hide": 1, @@ -1061,6 +1063,7 @@ "default": "Draft", "fieldname": "status", "fieldtype": "Select", + "in_list_view": 1, "in_standard_filter": 1, "label": "Status", "no_copy": 1, @@ -1078,7 +1081,6 @@ "depends_on": "eval:!doc.__islocal", "fieldname": "per_installed", "fieldtype": "Percent", - "in_list_view": 1, "label": "% Installed", "no_copy": 1, "oldfieldname": "per_installed", @@ -1212,6 +1214,7 @@ "depends_on": "eval:!doc.__islocal", "fieldname": "per_returned", "fieldtype": "Percent", + "in_list_view": 1, "label": "% Returned", "no_copy": 1, "print_hide": 1, @@ -1453,7 +1456,7 @@ "idx": 146, "is_submittable": 1, "links": [], - "modified": "2026-02-23 23:04:39.097097", + "modified": "2026-03-09 17:15:27.932956", "modified_by": "Administrator", "module": "Stock", "name": "Delivery Note", diff --git a/erpnext/stock/doctype/material_request/material_request.json b/erpnext/stock/doctype/material_request/material_request.json index 8c9aff89c73..2a455a1437c 100644 --- a/erpnext/stock/doctype/material_request/material_request.json +++ b/erpnext/stock/doctype/material_request/material_request.json @@ -159,6 +159,7 @@ "default": "Today", "fieldname": "transaction_date", "fieldtype": "Date", + "in_list_view": 1, "label": "Transaction Date", "no_copy": 1, "oldfieldname": "transaction_date", @@ -282,7 +283,6 @@ { "fieldname": "set_warehouse", "fieldtype": "Link", - "in_list_view": 1, "label": "Set Target Warehouse", "options": "Warehouse" }, @@ -377,7 +377,7 @@ "idx": 70, "is_submittable": 1, "links": [], - "modified": "2026-01-21 12:48:40.792323", + "modified": "2026-03-09 17:15:30.124509", "modified_by": "Administrator", "module": "Stock", "name": "Material Request", diff --git a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json index e13837b5f10..805b7eef9e6 100755 --- a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json +++ b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json @@ -938,6 +938,7 @@ { "fieldname": "per_billed", "fieldtype": "Percent", + "in_list_view": 1, "label": "% Amount Billed", "no_copy": 1, "print_hide": 1, @@ -1302,7 +1303,7 @@ "idx": 261, "is_submittable": 1, "links": [], - "modified": "2026-02-23 16:56:41.075091", + "modified": "2026-03-09 17:15:28.602690", "modified_by": "Administrator", "module": "Stock", "name": "Purchase Receipt",