mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 23:19:20 +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",
|
fieldname: "segregate_serial_batch_bundle",
|
||||||
label: __("Segregate Serial / Batch Bundle"),
|
label: __("Enable Serial / Batch Bundle"),
|
||||||
fieldtype: "Check",
|
fieldtype: "Check",
|
||||||
default: 0,
|
default: 0,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -390,12 +390,21 @@ def get_columns(filters):
|
|||||||
"options": "voucher_type",
|
"options": "voucher_type",
|
||||||
"width": 100,
|
"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"),
|
"label": _("Batch"),
|
||||||
"fieldname": "batch_no",
|
"fieldname": "batch_no",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"options": "Batch",
|
"options": "Batch",
|
||||||
"width": 100,
|
"width": 100,
|
||||||
|
"hidden": not filters.get("segregate_serial_batch_bundle"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": _("Serial No"),
|
"label": _("Serial No"),
|
||||||
@@ -403,13 +412,7 @@ def get_columns(filters):
|
|||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"options": "Serial No",
|
"options": "Serial No",
|
||||||
"width": 100,
|
"width": 100,
|
||||||
},
|
"hidden": not filters.get("segregate_serial_batch_bundle"),
|
||||||
{
|
|
||||||
"label": _("Serial and Batch Bundle"),
|
|
||||||
"fieldname": "serial_and_batch_bundle",
|
|
||||||
"fieldtype": "Link",
|
|
||||||
"options": "Serial and Batch Bundle",
|
|
||||||
"width": 100,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": _("Project"),
|
"label": _("Project"),
|
||||||
|
|||||||
Reference in New Issue
Block a user