mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-12 17:23:38 +00:00
closing curly brackets, parentheses and semicolon!
@@ -113,6 +113,8 @@ frappe.ui.form.on("[PARENT_DOCTYPE_TARGET]", "refresh", function(frm) {
|
||||
frm.add_fetch("[CHILD_TABLE_LINK FIELD]", "[SOURCE_CUSTOM_FIELD2]", "[SOURCE_CUSTOM_FIELD2]");
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
```
|
||||
Note: If you wish to fetch data for a field within the parent doctype, then, add the frm.add_fetch line immediately below the line
|
||||
```frappe.ui.form.on("[PARENT_DOCTYPE_TARGET]", "refresh", function(frm) { ```
|
||||
|
||||
Reference in New Issue
Block a user