feat: add prompt qty flag to pick list
This commit is contained in:
parent
0a77c28594
commit
e9cf5cb4b0
@ -165,7 +165,8 @@ frappe.ui.form.on('Pick List', {
|
||||
items_table_name: 'locations',
|
||||
qty_field: 'picked_qty',
|
||||
max_qty_field: 'qty',
|
||||
dont_allow_new_row: true
|
||||
dont_allow_new_row: true,
|
||||
prompt_qty: frm.doc.prompt_qty
|
||||
};
|
||||
const barcode_scanner = new erpnext.utils.BarcodeScanner(opts);
|
||||
barcode_scanner.process_scan();
|
||||
|
@ -20,6 +20,7 @@
|
||||
"scan_barcode",
|
||||
"column_break_13",
|
||||
"scan_mode",
|
||||
"prompt_qty",
|
||||
"section_break_15",
|
||||
"locations",
|
||||
"amended_from",
|
||||
@ -151,11 +152,17 @@
|
||||
"fieldname": "scan_mode",
|
||||
"fieldtype": "Check",
|
||||
"label": "Scan Mode"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "prompt_qty",
|
||||
"fieldtype": "Check",
|
||||
"label": "Prompt Qty"
|
||||
}
|
||||
],
|
||||
"is_submittable": 1,
|
||||
"links": [],
|
||||
"modified": "2022-05-04 11:12:48.044239",
|
||||
"modified": "2022-05-05 09:50:36.252445",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Stock",
|
||||
"name": "Pick List",
|
||||
|
Loading…
x
Reference in New Issue
Block a user