Merge pull request #54252 from frappe/mergify/bp/version-16-hotfix/pr-54249

This commit is contained in:
Nishka Gosalia
2026-04-13 16:10:39 +05:30
committed by GitHub
2 changed files with 11 additions and 8 deletions

View File

@@ -119,7 +119,7 @@ frappe.query_reports["Stock Ledger"] = {
},
{
fieldname: "segregate_serial_batch_bundle",
label: __("Segregate Serial / Batch Bundle"),
label: __("Enable Serial / Batch Bundle"),
fieldtype: "Check",
default: 0,
},

View File

@@ -390,12 +390,21 @@ def get_columns(filters):
"options": "voucher_type",
"width": 100,
},
{
"label": _("Serial and Batch Bundle"),
"fieldname": "serial_and_batch_bundle",
"fieldtype": "Link",
"options": "Serial and Batch Bundle",
"width": 150,
"hidden": not filters.get("segregate_serial_batch_bundle"),
},
{
"label": _("Batch"),
"fieldname": "batch_no",
"fieldtype": "Link",
"options": "Batch",
"width": 100,
"hidden": not filters.get("segregate_serial_batch_bundle"),
},
{
"label": _("Serial No"),
@@ -403,13 +412,7 @@ def get_columns(filters):
"fieldtype": "Link",
"options": "Serial No",
"width": 100,
},
{
"label": _("Serial and Batch Bundle"),
"fieldname": "serial_and_batch_bundle",
"fieldtype": "Link",
"options": "Serial and Batch Bundle",
"width": 100,
"hidden": not filters.get("segregate_serial_batch_bundle"),
},
{
"label": _("Project"),