Docs › Frappe Framework
Frappe Framework Modules Explained (DocType, Desk & More)
A plain-English guide to the Frappe Framework modules: Core, Desk, Custom, Automation, Workflow, Email, Printing, Website, Integrations and more.
The Frappe Framework is the low-code base under ERPNext and every Frappe app. If you understand its building blocks, you can customise almost anything without touching the app's code.
The idea: everything is a DocType
A DocType is a model: it defines fields, and Frappe automatically creates the database table, the form, the list view, permissions and a REST API for it. Customer, Sales Invoice and even User are all DocTypes.
Framework modules
| Module | What it gives you |
|---|---|
| Core | DocType, User, Role, File, error logs: the foundation |
| Desk | The admin interface: workspaces, dashboards, number cards, Kanban, calendar, ToDo |
| Custom | No-code changes: Customize Form, Custom Field, Client Script |
| Automation | Auto Repeat, Assignment Rule, Server Script and scheduled tasks |
| Workflow | Approval states and transitions by role |
| Email accounts, templates, notifications, auto email reports | |
| Printing | Print formats, letter heads, PDF generation |
| Website | Web pages, web forms, portal pages and website settings |
| Integrations | Webhooks, OAuth, social login, backups to cloud storage |
| Contacts | Contact and Address, shared by all apps |
| Users & System | User permissions, role profiles, system settings, scheduled job logs |
| Data, Geo, Studio | Data import/export, countries and currencies, and a visual app builder |
No-code vs code
- No code: custom fields, print formats, workflows, notifications, reports with Report Builder.
- Low code: Client Scripts (JavaScript) and Server Scripts (Python) from the browser.
- Full code: a custom app with its own DocTypes, APIs and hooks, installed with the bench tool. This is the safest way to keep changes through upgrades.
Tip
Keep all customisations in a custom app or exported fixtures, not only in the database, so you can move them between test and live sites and survive upgrades.
Sources
Written from the official documentation and source code below. Menus and fields can differ between versions, so check the docs for your version.
