fix: set default list view columns and filters for sales, purchase and accounts module

(cherry picked from commit 9cf529215f)

# Conflicts:
#	erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json
#	erpnext/buying/doctype/supplier/supplier.json
#	erpnext/stock/doctype/delivery_note/delivery_note.json
This commit is contained in:
Nabin Hait
2026-03-09 17:16:14 +05:30
committed by Mergify
parent cc2be4be39
commit f9a38696b6
17 changed files with 63 additions and 24 deletions

View File

@@ -20,7 +20,6 @@
{ {
"fieldname": "period_name", "fieldname": "period_name",
"fieldtype": "Data", "fieldtype": "Data",
"in_list_view": 1,
"label": "Period Name", "label": "Period Name",
"reqd": 1, "reqd": 1,
"unique": 1 "unique": 1
@@ -79,7 +78,7 @@
} }
], ],
"links": [], "links": [],
"modified": "2025-12-01 16:53:44.631299", "modified": "2026-03-09 17:15:33.577217",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Accounting Period", "name": "Accounting Period",

View File

@@ -140,6 +140,7 @@
{ {
"fieldname": "company", "fieldname": "company",
"fieldtype": "Link", "fieldtype": "Link",
"in_list_view": 1,
"in_standard_filter": 1, "in_standard_filter": 1,
"label": "Company", "label": "Company",
"oldfieldname": "company", "oldfieldname": "company",
@@ -181,7 +182,6 @@
"fieldname": "cheque_no", "fieldname": "cheque_no",
"fieldtype": "Data", "fieldtype": "Data",
"in_global_search": 1, "in_global_search": 1,
"in_list_view": 1,
"label": "Reference Number", "label": "Reference Number",
"mandatory_depends_on": "eval:doc.voucher_type == \"Bank Entry\"", "mandatory_depends_on": "eval:doc.voucher_type == \"Bank Entry\"",
"no_copy": 1, "no_copy": 1,
@@ -665,7 +665,7 @@
"table_fieldname": "payment_entries" "table_fieldname": "payment_entries"
} }
], ],
"modified": "2026-02-16 16:06:10.468482", "modified": "2026-03-09 17:15:26.569327",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Journal Entry", "name": "Journal Entry",

View File

@@ -138,6 +138,7 @@
"fieldname": "posting_date", "fieldname": "posting_date",
"fieldtype": "Date", "fieldtype": "Date",
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Posting Date", "label": "Posting Date",
"reqd": 1 "reqd": 1
}, },
@@ -160,7 +161,6 @@
{ {
"fieldname": "mode_of_payment", "fieldname": "mode_of_payment",
"fieldtype": "Link", "fieldtype": "Link",
"in_list_view": 1,
"label": "Mode of Payment", "label": "Mode of Payment",
"options": "Mode of Payment" "options": "Mode of Payment"
}, },
@@ -228,6 +228,7 @@
"fieldname": "paid_from", "fieldname": "paid_from",
"fieldtype": "Link", "fieldtype": "Link",
"in_global_search": 1, "in_global_search": 1,
"in_list_view": 1,
"label": "Account Paid From", "label": "Account Paid From",
"options": "Account", "options": "Account",
"print_hide": 1, "print_hide": 1,
@@ -252,6 +253,7 @@
"fieldname": "paid_to", "fieldname": "paid_to",
"fieldtype": "Link", "fieldtype": "Link",
"in_global_search": 1, "in_global_search": 1,
"in_list_view": 1,
"label": "Account Paid To", "label": "Account Paid To",
"options": "Account", "options": "Account",
"print_hide": 1, "print_hide": 1,
@@ -414,6 +416,7 @@
"depends_on": "eval:(doc.paid_from && doc.paid_to)", "depends_on": "eval:(doc.paid_from && doc.paid_to)",
"fieldname": "reference_no", "fieldname": "reference_no",
"fieldtype": "Data", "fieldtype": "Data",
"in_standard_filter": 1,
"label": "Cheque/Reference No", "label": "Cheque/Reference No",
"mandatory_depends_on": "eval:(doc.paid_from_account_type == 'Bank' || doc.paid_to_account_type == 'Bank')" "mandatory_depends_on": "eval:(doc.paid_from_account_type == 'Bank' || doc.paid_to_account_type == 'Bank')"
}, },
@@ -792,7 +795,7 @@
"table_fieldname": "payment_entries" "table_fieldname": "payment_entries"
} }
], ],
"modified": "2026-02-03 16:08:49.800381", "modified": "2026-03-09 17:15:30.453920",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Payment Entry", "name": "Payment Entry",

View File

@@ -266,6 +266,7 @@
{ {
"fieldname": "due_date", "fieldname": "due_date",
"fieldtype": "Date", "fieldtype": "Date",
"in_list_view": 1,
"label": "Due Date", "label": "Due Date",
"oldfieldname": "due_date", "oldfieldname": "due_date",
"oldfieldtype": "Date" "oldfieldtype": "Date"
@@ -319,6 +320,7 @@
"fieldname": "posting_date", "fieldname": "posting_date",
"fieldtype": "Date", "fieldtype": "Date",
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Date", "label": "Date",
"oldfieldname": "posting_date", "oldfieldname": "posting_date",
"oldfieldtype": "Date", "oldfieldtype": "Date",
@@ -397,6 +399,8 @@
{ {
"fieldname": "bill_no", "fieldname": "bill_no",
"fieldtype": "Data", "fieldtype": "Data",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Supplier Invoice No", "label": "Supplier Invoice No",
"oldfieldname": "bill_no", "oldfieldname": "bill_no",
"oldfieldtype": "Data", "oldfieldtype": "Data",
@@ -1689,7 +1693,11 @@
"idx": 204, "idx": 204,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
<<<<<<< HEAD
"modified": "2026-02-23 14:23:57.269770", "modified": "2026-02-23 14:23:57.269770",
=======
"modified": "2026-03-09 17:15:27.014131",
>>>>>>> 9cf529215f (fix: set default list view columns and filters for sales, purchase and accounts module)
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Purchase Invoice", "name": "Purchase Invoice",

View File

@@ -381,6 +381,8 @@
"fieldtype": "Date", "fieldtype": "Date",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Date", "label": "Date",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "posting_date", "oldfieldname": "posting_date",
@@ -415,6 +417,7 @@
"fieldtype": "Date", "fieldtype": "Date",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"in_list_view": 1,
"label": "Payment Due Date", "label": "Payment Due Date",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "due_date", "oldfieldname": "due_date",
@@ -1639,6 +1642,7 @@
"fieldtype": "Select", "fieldtype": "Select",
"hide_days": 1, "hide_days": 1,
"hide_seconds": 1, "hide_seconds": 1,
"in_list_view": 1,
"in_standard_filter": 1, "in_standard_filter": 1,
"label": "Status", "label": "Status",
"length": 30, "length": 30,
@@ -2330,7 +2334,7 @@
"link_fieldname": "consolidated_invoice" "link_fieldname": "consolidated_invoice"
} }
], ],
"modified": "2026-02-28 17:58:56.453076", "modified": "2026-03-09 17:15:30.931929",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Sales Invoice", "name": "Sales Invoice",

View File

@@ -169,6 +169,8 @@
{ {
"fieldname": "company", "fieldname": "company",
"fieldtype": "Link", "fieldtype": "Link",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Company", "label": "Company",
"options": "Company", "options": "Company",
"remember_last_selected_value": 1, "remember_last_selected_value": 1,
@@ -624,7 +626,7 @@
"link_fieldname": "target_asset" "link_fieldname": "target_asset"
} }
], ],
"modified": "2026-02-05 12:42:45.350216", "modified": "2026-03-09 17:15:32.819896",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Assets", "module": "Assets",
"name": "Asset", "name": "Asset",

View File

@@ -32,6 +32,7 @@
{ {
"fieldname": "purpose", "fieldname": "purpose",
"fieldtype": "Select", "fieldtype": "Select",
"in_list_view": 1,
"label": "Purpose", "label": "Purpose",
"options": "\nIssue\nReceipt\nTransfer\nTransfer and Issue", "options": "\nIssue\nReceipt\nTransfer\nTransfer and Issue",
"reqd": 1 "reqd": 1
@@ -97,7 +98,7 @@
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2025-05-30 17:01:55.864353", "modified": "2026-03-09 17:19:02.087333",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Assets", "module": "Assets",
"name": "Asset Movement", "name": "Asset Movement",

View File

@@ -252,6 +252,7 @@
"allow_on_submit": 1, "allow_on_submit": 1,
"fieldname": "schedule_date", "fieldname": "schedule_date",
"fieldtype": "Date", "fieldtype": "Date",
"in_list_view": 1,
"label": "Required By" "label": "Required By"
}, },
{ {
@@ -1327,7 +1328,7 @@
"idx": 105, "idx": 105,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2026-03-02 00:40:47.119584", "modified": "2026-03-09 17:15:29.184682",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Purchase Order", "name": "Purchase Order",

View File

@@ -49,7 +49,6 @@
{ {
"fieldname": "naming_series", "fieldname": "naming_series",
"fieldtype": "Select", "fieldtype": "Select",
"in_list_view": 1,
"label": "Series", "label": "Series",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "naming_series", "oldfieldname": "naming_series",
@@ -77,6 +76,7 @@
"fieldname": "vendor", "fieldname": "vendor",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 1, "hidden": 1,
"in_list_view": 1,
"in_standard_filter": 1, "in_standard_filter": 1,
"label": "Supplier", "label": "Supplier",
"no_copy": 1, "no_copy": 1,
@@ -95,6 +95,7 @@
"fieldname": "transaction_date", "fieldname": "transaction_date",
"fieldtype": "Date", "fieldtype": "Date",
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1,
"label": "Date", "label": "Date",
"oldfieldname": "transaction_date", "oldfieldname": "transaction_date",
"oldfieldtype": "Date", "oldfieldtype": "Date",
@@ -147,7 +148,6 @@
"depends_on": "eval:doc.use_html == 0", "depends_on": "eval:doc.use_html == 0",
"fieldname": "message_for_supplier", "fieldname": "message_for_supplier",
"fieldtype": "Text Editor", "fieldtype": "Text Editor",
"in_list_view": 1,
"label": "Message for Supplier", "label": "Message for Supplier",
"mandatory_depends_on": "eval:doc.use_html == 0", "mandatory_depends_on": "eval:doc.use_html == 0",
"print_hide": 1 "print_hide": 1
@@ -225,6 +225,8 @@
{ {
"fieldname": "status", "fieldname": "status",
"fieldtype": "Select", "fieldtype": "Select",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Status", "label": "Status",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "status", "oldfieldname": "status",
@@ -263,6 +265,7 @@
{ {
"fieldname": "schedule_date", "fieldname": "schedule_date",
"fieldtype": "Date", "fieldtype": "Date",
"in_list_view": 1,
"label": "Required Date" "label": "Required Date"
}, },
{ {
@@ -350,7 +353,7 @@
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2026-03-01 23:38:48.079274", "modified": "2026-03-09 17:15:29.774614",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Request for Quotation", "name": "Request for Quotation",

View File

@@ -178,6 +178,7 @@
"default": "Company", "default": "Company",
"fieldname": "supplier_type", "fieldname": "supplier_type",
"fieldtype": "Select", "fieldtype": "Select",
"in_list_view": 1,
"label": "Supplier Type", "label": "Supplier Type",
"options": "Company\nIndividual\nPartnership", "options": "Company\nIndividual\nPartnership",
"reqd": 1 "reqd": 1
@@ -238,6 +239,7 @@
"fieldname": "default_currency", "fieldname": "default_currency",
"fieldtype": "Link", "fieldtype": "Link",
"ignore_user_permissions": 1, "ignore_user_permissions": 1,
"in_list_view": 1,
"label": "Billing Currency", "label": "Billing Currency",
"no_copy": 1, "no_copy": 1,
"options": "Currency" "options": "Currency"
@@ -515,7 +517,11 @@
"link_fieldname": "party" "link_fieldname": "party"
} }
], ],
<<<<<<< HEAD
"modified": "2026-02-10 21:28:01.101808", "modified": "2026-02-10 21:28:01.101808",
=======
"modified": "2026-03-09 17:15:25.465759",
>>>>>>> 9cf529215f (fix: set default list view columns and filters for sales, purchase and accounts module)
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Supplier", "name": "Supplier",

View File

@@ -118,6 +118,7 @@
"bold": 1, "bold": 1,
"fieldname": "percent_complete", "fieldname": "percent_complete",
"fieldtype": "Percent", "fieldtype": "Percent",
"in_list_view": 1,
"label": "% Completed", "label": "% Completed",
"no_copy": 1, "no_copy": 1,
"read_only": 1 "read_only": 1
@@ -138,6 +139,7 @@
"bold": 1, "bold": 1,
"fieldname": "expected_start_date", "fieldname": "expected_start_date",
"fieldtype": "Date", "fieldtype": "Date",
"in_list_view": 1,
"label": "Expected Start Date", "label": "Expected Start Date",
"oldfieldname": "project_start_date", "oldfieldname": "project_start_date",
"oldfieldtype": "Date" "oldfieldtype": "Date"
@@ -478,7 +480,7 @@
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"links": [], "links": [],
"max_attachments": 4, "max_attachments": 4,
"modified": "2026-03-04 11:09:55.253367", "modified": "2026-03-09 17:15:24.426294",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Projects", "module": "Projects",
"name": "Project", "name": "Project",

View File

@@ -240,6 +240,7 @@
"fieldname": "default_currency", "fieldname": "default_currency",
"fieldtype": "Link", "fieldtype": "Link",
"ignore_user_permissions": 1, "ignore_user_permissions": 1,
"in_list_view": 1,
"label": "Billing Currency", "label": "Billing Currency",
"no_copy": 1, "no_copy": 1,
"options": "Currency" "options": "Currency"
@@ -639,7 +640,7 @@
"link_fieldname": "party" "link_fieldname": "party"
} }
], ],
"modified": "2026-02-02 15:39:55.920831", "modified": "2026-03-09 17:15:26.040050",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Selling", "module": "Selling",
"name": "Customer", "name": "Customer",

View File

@@ -213,6 +213,7 @@
{ {
"fieldname": "company", "fieldname": "company",
"fieldtype": "Link", "fieldtype": "Link",
"in_list_view": 1,
"label": "Company", "label": "Company",
"oldfieldname": "company", "oldfieldname": "company",
"oldfieldtype": "Link", "oldfieldtype": "Link",
@@ -1127,7 +1128,7 @@
"idx": 82, "idx": 82,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2026-02-06 17:34:22.170032", "modified": "2026-03-09 17:15:31.941114",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Selling", "module": "Selling",
"name": "Quotation", "name": "Quotation",

View File

@@ -166,6 +166,7 @@
"default": "0", "default": "0",
"fieldname": "is_group", "fieldname": "is_group",
"fieldtype": "Check", "fieldtype": "Check",
"in_list_view": 1,
"label": "Is Group" "label": "Is Group"
}, },
{ {
@@ -187,7 +188,6 @@
"fieldname": "parent_company", "fieldname": "parent_company",
"fieldtype": "Link", "fieldtype": "Link",
"ignore_user_permissions": 1, "ignore_user_permissions": 1,
"in_list_view": 1,
"label": "Parent Company", "label": "Parent Company",
"options": "Company" "options": "Company"
}, },
@@ -245,6 +245,7 @@
"fieldname": "default_currency", "fieldname": "default_currency",
"fieldtype": "Link", "fieldtype": "Link",
"ignore_user_permissions": 1, "ignore_user_permissions": 1,
"in_list_view": 1,
"label": "Default Currency", "label": "Default Currency",
"options": "Currency", "options": "Currency",
"reqd": 1 "reqd": 1
@@ -468,6 +469,7 @@
"default": "1", "default": "1",
"fieldname": "enable_perpetual_inventory", "fieldname": "enable_perpetual_inventory",
"fieldtype": "Check", "fieldtype": "Check",
"in_list_view": 1,
"label": "Enable Perpetual Inventory" "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.", "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", "fieldname": "accounts_frozen_till_date",
"fieldtype": "Date", "fieldtype": "Date",
"in_list_view": 1,
"label": "Accounts Frozen Till Date" "label": "Accounts Frozen Till Date"
}, },
{ {
@@ -955,7 +956,6 @@
{ {
"fieldname": "role_allowed_for_frozen_entries", "fieldname": "role_allowed_for_frozen_entries",
"fieldtype": "Link", "fieldtype": "Link",
"in_list_view": 1,
"label": "Roles Allowed to Set and Edit Frozen Account Entries", "label": "Roles Allowed to Set and Edit Frozen Account Entries",
"options": "Role" "options": "Role"
}, },
@@ -970,7 +970,7 @@
"image_field": "company_logo", "image_field": "company_logo",
"is_tree": 1, "is_tree": 1,
"links": [], "links": [],
"modified": "2025-11-16 16:51:27.624096", "modified": "2026-03-09 17:15:33.819426",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Setup", "module": "Setup",
"name": "Company", "name": "Company",

View File

@@ -246,6 +246,7 @@
"default": "Today", "default": "Today",
"fieldname": "posting_date", "fieldname": "posting_date",
"fieldtype": "Date", "fieldtype": "Date",
"in_list_view": 1,
"label": "Date", "label": "Date",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "posting_date", "oldfieldname": "posting_date",
@@ -971,6 +972,7 @@
{ {
"fieldname": "per_billed", "fieldname": "per_billed",
"fieldtype": "Percent", "fieldtype": "Percent",
"in_list_view": 1,
"label": "% Amount Billed", "label": "% Amount Billed",
"no_copy": 1, "no_copy": 1,
"print_hide": 1, "print_hide": 1,
@@ -1061,6 +1063,7 @@
"default": "Draft", "default": "Draft",
"fieldname": "status", "fieldname": "status",
"fieldtype": "Select", "fieldtype": "Select",
"in_list_view": 1,
"in_standard_filter": 1, "in_standard_filter": 1,
"label": "Status", "label": "Status",
"no_copy": 1, "no_copy": 1,
@@ -1078,7 +1081,6 @@
"depends_on": "eval:!doc.__islocal", "depends_on": "eval:!doc.__islocal",
"fieldname": "per_installed", "fieldname": "per_installed",
"fieldtype": "Percent", "fieldtype": "Percent",
"in_list_view": 1,
"label": "% Installed", "label": "% Installed",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "per_installed", "oldfieldname": "per_installed",
@@ -1212,6 +1214,7 @@
"depends_on": "eval:!doc.__islocal", "depends_on": "eval:!doc.__islocal",
"fieldname": "per_returned", "fieldname": "per_returned",
"fieldtype": "Percent", "fieldtype": "Percent",
"in_list_view": 1,
"label": "% Returned", "label": "% Returned",
"no_copy": 1, "no_copy": 1,
"print_hide": 1, "print_hide": 1,
@@ -1449,7 +1452,11 @@
"idx": 146, "idx": 146,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
<<<<<<< HEAD
"modified": "2026-02-10 14:35:08.523130", "modified": "2026-02-10 14:35:08.523130",
=======
"modified": "2026-03-09 17:15:27.932956",
>>>>>>> 9cf529215f (fix: set default list view columns and filters for sales, purchase and accounts module)
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Delivery Note", "name": "Delivery Note",

View File

@@ -159,6 +159,7 @@
"default": "Today", "default": "Today",
"fieldname": "transaction_date", "fieldname": "transaction_date",
"fieldtype": "Date", "fieldtype": "Date",
"in_list_view": 1,
"label": "Transaction Date", "label": "Transaction Date",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "transaction_date", "oldfieldname": "transaction_date",
@@ -282,7 +283,6 @@
{ {
"fieldname": "set_warehouse", "fieldname": "set_warehouse",
"fieldtype": "Link", "fieldtype": "Link",
"in_list_view": 1,
"label": "Set Target Warehouse", "label": "Set Target Warehouse",
"options": "Warehouse" "options": "Warehouse"
}, },
@@ -377,7 +377,7 @@
"idx": 70, "idx": 70,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2026-01-21 12:48:40.792323", "modified": "2026-03-09 17:15:30.124509",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Material Request", "name": "Material Request",

View File

@@ -938,6 +938,7 @@
{ {
"fieldname": "per_billed", "fieldname": "per_billed",
"fieldtype": "Percent", "fieldtype": "Percent",
"in_list_view": 1,
"label": "% Amount Billed", "label": "% Amount Billed",
"no_copy": 1, "no_copy": 1,
"print_hide": 1, "print_hide": 1,
@@ -1302,7 +1303,7 @@
"idx": 261, "idx": 261,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2026-02-23 16:56:41.075091", "modified": "2026-03-09 17:15:28.602690",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Purchase Receipt", "name": "Purchase Receipt",