From e04fbb6a9955276da0d1897a0d181cbd2309680e Mon Sep 17 00:00:00 2001 From: Devin Slauenwhite Date: Wed, 27 Apr 2022 22:02:04 -0400 Subject: [PATCH] feat: pick list scan fields --- .../stock/doctype/pick_list/pick_list.json | 29 +++++++++++++++++-- .../pick_list_item/pick_list_item.json | 8 ++++- 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/erpnext/stock/doctype/pick_list/pick_list.json b/erpnext/stock/doctype/pick_list/pick_list.json index e984c082d4..59a586e404 100644 --- a/erpnext/stock/doctype/pick_list/pick_list.json +++ b/erpnext/stock/doctype/pick_list/pick_list.json @@ -17,6 +17,10 @@ "parent_warehouse", "get_item_locations", "section_break_6", + "scan_barcode", + "column_break_13", + "scan_mode", + "section_break_15", "locations", "amended_from", "print_settings_section", @@ -126,11 +130,32 @@ "fieldtype": "Check", "label": "Group Same Items", "print_hide": 1 + }, + { + "fieldname": "column_break_13", + "fieldtype": "Column Break" + }, + { + "default": "0", + "fieldname": "scan_mode", + "fieldtype": "Check", + "label": "Scan Mode" + }, + { + "fieldname": "section_break_15", + "fieldtype": "Section Break" + }, + { + "depends_on": "eval:doc.scan_mode", + "fieldname": "scan_barcode", + "fieldtype": "Data", + "label": "Scan Barcode", + "options": "Barcode" } ], "is_submittable": 1, "links": [], - "modified": "2022-04-21 07:56:40.646473", + "modified": "2022-04-27 20:31:49.260238", "modified_by": "Administrator", "module": "Stock", "name": "Pick List", @@ -202,4 +227,4 @@ "sort_order": "DESC", "states": [], "track_changes": 1 -} \ No newline at end of file +} diff --git a/erpnext/stock/doctype/pick_list_item/pick_list_item.json b/erpnext/stock/doctype/pick_list_item/pick_list_item.json index a96ebfcdee..dda0a02782 100644 --- a/erpnext/stock/doctype/pick_list_item/pick_list_item.json +++ b/erpnext/stock/doctype/pick_list_item/pick_list_item.json @@ -5,6 +5,7 @@ "editable_grid": 1, "engine": "InnoDB", "field_order": [ + "barcode", "item_code", "item_name", "column_break_2", @@ -187,11 +188,16 @@ "hidden": 1, "label": "Product Bundle Item", "read_only": 1 + }, + { + "fieldname": "barcode", + "fieldtype": "Data", + "label": "Barcode" } ], "istable": 1, "links": [], - "modified": "2022-04-22 05:27:38.497997", + "modified": "2022-04-27 22:00:38.462989", "modified_by": "Administrator", "module": "Stock", "name": "Pick List Item",