Initialized dynamic link on Warehouse (#14135)
* Initialized dynamic link for Warehouse * Codacy Fixes
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user