mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-12 17:23:38 +00:00
Fix headings, minor typos
@@ -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:
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user