mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-19 06:45:11 +00:00
Merge pull request #54252 from frappe/mergify/bp/version-16-hotfix/pr-54249
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user