Initialized dynamic link on Warehouse (#14135)
* Initialized dynamic link for Warehouse * Codacy Fixes
This commit is contained in:
parent
8233cb11ed
commit
8f17281011
@ -39,6 +39,8 @@ frappe.ui.form.on("Warehouse", {
|
||||
|
||||
frm.toggle_enable(['is_group', 'company'], false);
|
||||
|
||||
frappe.dynamic_link = {doc: frm.doc, fieldname: 'name', doctype: 'Warehouse'};
|
||||
|
||||
frm.fields_dict['parent_warehouse'].get_query = function(doc) {
|
||||
return {
|
||||
filters: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user