From bae8a7262ced346fd7ad1f85f3a4d7276ebcd3b5 Mon Sep 17 00:00:00 2001 From: strixaluco Date: Thu, 8 Jun 2017 09:23:05 +0800 Subject: [PATCH] Fix headings, minor typos --- Community-Developed-Custom-Scripts.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Community-Developed-Custom-Scripts.md b/Community-Developed-Custom-Scripts.md index 32e90b9..0a9ffd9 100644 --- a/Community-Developed-Custom-Scripts.md +++ b/Community-Developed-Custom-Scripts.md @@ -1,6 +1,6 @@ The following provides a database of community developed custom scripts for implementing unique features through the ERPNext custom script tool. In certain cases, server-side scripts have also been written to support the client-side scripts. -###Attachment transfer +### Attachment transfer This script takes attachments identified in specific custom fields of an Item document and copies them into another document as general attachments. This is used in practice to attach critical design documents to Request for Quotations and Purchase Orders that get sent automatically through e-mail. **Custom Script** @@ -59,8 +59,8 @@ This script takes attachments identified in specific custom fields of an Item do frappe.msgprint("Attached {0} files".format(count)) *** -###Manual Dropbox Backup -####NOTE: THIS NO LONGER WORKS ON ERPNEXT 7.1 AND BEYOND. +### Manual Dropbox Backup +#### NOTE: THIS NO LONGER WORKS ON ERPNEXT 7.1 AND BEYOND. Add this to Setup > Custom Script > New Doctype : Dropbox Backup Script : @@ -125,9 +125,8 @@ cur_frm.refresh_field("ChildTableB"); }) }); ``` -}); -###Push Changes to a document from another document. +### Push Changes to a document from another document. The following code will push changes to a document. @@ -163,7 +162,7 @@ The following code will push changes to a document. If you have any problems, please comment on the discussion thread on the ERPNext forum https://discuss.erpnext.com/t/tutorial-push-changes-to-another-document/18317 -###Host custom script files on DropBox +### Host custom script files on DropBox If you want to load a .js file from DropBox as a custom script, you can use the following code in your custom script file: ```