frappe-doctype-form-view

Installation
SKILL.md

Frappe DocType Form Controller (.js)

See frappe-doctype-schema for the .json schema. See frappe-doctype-controller for the .py server controller. See frappe-doctype-list-view for the _list.js list view controller. See frappe-doctype-tests for writing DocType controller Python tests. See frappe-js-api for full option tables on frappe.call, frappe.db.*, dialogs, datetime, and all other globals. Full per-hook details: REFERENCE.md. Common use-case examples: EXAMPLES.md.

Quick Start

// myapp/mymodule/doctype/my_doc_type/my_doc_type.js
frappe.ui.form.on('My Doc Type', {
    setup(frm) {
        // runs ONCE per doctype load — wire set_query, one-time event listeners
        frm.set_query('customer', () => ({
            filters: { disabled: 0 },
Related skills
Installs
2
Repository
kehwar/skills
First Seen
Apr 18, 2026