fix: 'NoneType' object has no attribute 'stock_uom' (#19532)
This commit is contained in:
parent
7a23057eab
commit
d36c6068b2
@ -173,8 +173,10 @@ frappe.ui.form.on('Pick List Item', {
|
||||
});
|
||||
|
||||
function get_item_details(item_code, uom=null) {
|
||||
if (item_code) {
|
||||
return frappe.xcall('erpnext.stock.doctype.pick_list.pick_list.get_item_details', {
|
||||
item_code,
|
||||
uom
|
||||
});
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user