Version 6.x.x Source

Table Name: tabCustom Script

Adds a custom script (client or server) to a DocType

Fields

Sr Fieldname Type Label Options
1 dt Link DocType DocType
2 script_type Select Script Type
Client
3 script Code Script
Script
4 sample HTML Sample

Controller

frappe.custom.doctype.custom_script.custom_script

Class CustomScript

Inherits from frappe.model.document.Document

autoname (self)

No docs


on_trash (self)

No docs


on_update (self)

No docs