What an ERPNext implementation involves
An ERPNext implementation models your companies, accounts, items, warehouses and approvals in DocTypes. It then adds custom fields, scripts, a custom app, integrations and a data migration where the standard product falls short. ERPNext is a free and open source ERP in the frappe/erpnext repository, licensed GPL-3.0 and built on the Frappe Framework. The framework is MIT licensed, written in Python and JavaScript, with MariaDB as its main database.
ERPNext covers accounting, buying, selling, stock, manufacturing, projects, assets, quality and support. HR and payroll are a separate GPLv3 app, Frappe HR, installed on the same site.
Everything in Frappe is a DocType: one definition produces the table, form, list view, permissions and REST endpoints. That makes ERPNext quick to extend and makes implementation mostly modeling work. Companies and chart of accounts, items and warehouses, bills of materials and routings, pricing rules, tax templates and approval workflows are decided before data is loaded.
The project then fills the gaps: custom fields and DocTypes, scripts, a custom app for anything that needs version control, integrations with banks, shops and other systems, and a migration from the package being replaced. The sections below cover versions, customization layers, delivery stages, integrations, migration, hosting and ownership after go-live.
ERPNext version 16 upgrade and supported versions
Dates come from Frappe's supported versions page. ERPNext, the Frappe Framework and Frappe HR share the same version numbers and end-of-life dates, and planned dates can change.
| Item | What Frappe states | Planning note |
|---|---|---|
| Version 14 | End of life on January 31, 2026. The security policy lists 14.x and earlier as unsupported. | Sites still on v14 no longer receive fixes. Plan the move to v15 or v16 now. |
| Version 15 | Supported, with end of life planned for the end of 2027. | Existing sites can stay for now. Schedule the v16 upgrade and the porting of custom apps. |
| Version 16 | Released on January 12, 2026, with end of life planned for the end of 2029. The announcement lists a new navigation with a persistent sidebar and up to 2x faster performance on most workloads. | The target for new implementations. Check the host requirements first. |
| develop branch | Bleeding edge, with no end-of-life date. | Use it to test upcoming changes. Keep production sites on a released version. |
| Host requirements | v14 and v15: MariaDB 10.6.6+, Python 3.11+, Node.js 18+. v16 and develop: MariaDB 11.8, Python 3.14, Node.js 24, per the installation guide. | A v16 move usually means a new Python, Node.js and MariaDB on the host. Build and test that host before the upgrade window. |
| Patch releases | The releases API showed v16.62.0 and v15.128.0 on December 2, 2026, and v16.61.0 on November 25, 2026. | Several patch releases arrive each month across the supported lines. Apply them on a tested schedule. |
| Security reports | Versions 16.x and 15.x are supported, and security fixes ship as patch releases. Vulnerabilities go by email to security@frappe.io, not to public GitHub issues or the forum. | Name who watches the repository's Security tab and who applies advisories. |
ERPNext custom app development and other customization layers
The layer you choose decides whether a change is reviewed, versioned and carried through upgrades, or lives only in one site's database.
Customize Form and custom fields
Changes to standard DocTypes and new fields are stored as Property Setter and Custom Field records in the site database. That makes them easy to create and easy to lose track of. Export them into a custom app as fixtures so every environment matches and so the changes appear in Git review. Treat the Customize Form screen as a place to prototype, and move anything that must survive an upgrade into the app.
Custom DocTypes
Custom DocTypes cover processes ERPNext does not, such as an inspection record. One definition produces the table, form, list view, permissions and REST endpoints, so a new document type is mostly modeling work. Create it inside a custom app's module so the definition sits in Git and moves with the code to each environment. Give each new DocType its own role permissions from the start, and record the requirement it serves.
Client and server scripts
Client scripts add form behavior in JavaScript. Server scripts run restricted Python on document events or as API endpoints, and RestrictedPython limits the methods available to them. They are disabled by default to protect shared benches. Enable them with bench set-config -g server_script_enabled true. Public shared benches on Frappe Cloud do not allow them, so a site that relies on them needs a private bench. Logic that needs tests belongs in an app instead.
Workflows and notifications
The Workflow DocType defines states, transitions and the roles allowed to move a document between them. Use it for approvals such as purchase orders above a limit or credit notes. Notifications and assignment rules handle alerts and routing. Keep segregation of duties in mind when you assign roles: the person who raises a document should not be the only person who can approve it. Agree approval limits during discovery, before the workflow is built.
Custom apps
A Frappe app holds DocTypes, hooks, event handlers, overrides, reports, patches and fixtures in one repository. Business logic that needs tests belongs here. The app is what gets ported at each major upgrade, so keep it small, reviewed and covered by tests. Custom app images for containers are built from the Dockerfiles in the frappe_docker repository, because the pwd.yml demo cannot take custom apps.
How an ERPNext implementation runs from discovery to rollout
Discovery maps order to cash, procure to pay, stock movements, production planning and month-end close with the people who run them. Sit with the warehouse, the buyers, the planners and the finance team separately, because each describes the same flow differently. Record legal entities, currencies, tax rules, document numbering, approval limits and the reports finance relies on. Write down every current workaround in the old system, since each one is either a requirement or a habit to retire. Capture volumes too: documents per month, item counts and users per role, because they drive the sizing of workers and the length of migration rehearsals. The output is a process and masters design, which is also the first item in the handover set.
Design companies, chart of accounts, cost centers, item groups and variants, units of measure, warehouses, price lists and tax templates. These are hard to change once transactions exist, so agree them in writing first. Decide item coding, variant attributes and warehouse structure with stock and finance together, because a warehouse tree built for one team often blocks another. Define tax templates per jurisdiction and test them on sample invoices. Name the owner of each master, since the same people maintain it after go-live. Set up roles and user permissions here too, so company and warehouse restrictions exist before anyone enters data. Load only the masters first. Transactions come later, after the migration rehearsals have checked them against the old system.
Keep custom DocTypes, fields, scripts and print formats in a custom app with fixtures so all environments stay in step. Each customization records its requirement and its test. Name an owner for each customization. Work in a development site, review changes in Git and promote the same commit to test and production. Prefer standard fields and workflows over new code where they meet the need, because every line of custom code has to be ported at the next major upgrade. Keep integration code in the same app as hooks or whitelisted methods, and give integration users an API key with limited roles. Write patches for any data change that must run on every site.
Run complete flows on migrated data: sales order to payment, purchase to bill, work order to stock entry. Check role and user permissions, print formats, integrations and the general ledger after each flow. Compare the ledger result with what finance expects, as well as checking that the document saved. Test the failure paths too: a rejected approval, a cancelled invoice, a bank line that does not match and an integration call that times out. Include users from each role in the test, since they find permission gaps that an administrator account hides. Run the tests again on the final migration rehearsal, because data quality problems appear only with real records. Keep the results; they join the reconciliation records in the handover.
Train key users first and run a pilot or parallel close. Then train end users by role, publish short task guides and keep close support through the first month-end. Choose the cutover date away from a period close if the calendar allows. Freeze changes to masters in the old system before the final migration, run the same scripts used in the rehearsals and reconcile the trial balance, aged receivables and payables and stock value with finance before opening the site to users. Publish the support route for the first weeks, so users know who handles a missing permission, a wrong price or a failed print. Keep the old system read-only for reference until the first close is signed off.
ERPNext integrations, REST API and LDAP SSO
DocTypes are exposed at /api/resource/:doctype and whitelisted methods at /api/method/<dotted.path>. Integration users authenticate with an API key and secret on a user with limited roles.
| Need | Mechanism | Design point |
|---|---|---|
| API authentication | Token auth with the header Authorization: token api_key:api_secret, session login through POST /api/method/login, or OAuth with Authorization: Bearer access_token. | Use token auth for server-to-server jobs and give each integration its own user with limited roles. |
| Outbound events | Webhooks on DocType events, or document event hooks in a custom app. | Define retries and failure alerts. Hooks in an app are easier to test. |
| Bank data | Bank Statement Import and reconciliation tools, or a bank integration app. | Agree file formats with each bank and who handles unmatched lines. |
| E-commerce | Connector apps or a custom app calling the REST API. | Pick one owner for items, prices and stock. |
| Regional compliance | Localization apps for e-invoicing and tax reporting. | Confirm the app supports your major version before relying on it. |
| Identity and SSO | LDAP Settings for directory login. Social Login Key under Integrations > Authentication, with presets for Frappe, Google, Facebook, GitHub, Microsoft and Salesforce, plus a Custom option. | Map LDAP groups to roles and keep one local administrator for recovery. |
How ERPNext data migration works
ERPNext data migration moves masters and open positions from the previous system and leaves closed history in an archive unless a report needs it. Common predecessors are desktop accounting packages, spreadsheets, another ERP or an older ERPNext site. Masters include customers, suppliers, items, BOMs and the chart of accounts.
The Data Import tool loads CSV or Excel files from a template, inserts new records or updates existing ones by ID, and handles child tables. It validates the uploaded file, and all warnings must be fixed before the import can start. There is no hard record limit, but the documentation recommends a few thousand records at a time, because around 50,000 at once may slow the system for other users. Larger loads run as scripts in a custom app.
Opening positions use ERPNext's own tools: the Opening Invoice Creation Tool for open receivables and payables, a journal entry for account balances, and Stock Reconciliation with the Opening Stock purpose for quantities and valuation. Reconcile the trial balance, aged receivables and payables and stock value with finance after every rehearsal.
Fix mapping problems in the scripts and reload, so the final cutover repeats a result you have already reconciled. Keep the scripts and reconciliation records, because they are part of the handover.
Frappe Cloud vs self-hosted ERPNext, with backups, access and upgrades
Frappe Cloud is Frappe's managed hosting. The ERPNext README says it handles installation, upgrades, monitoring and maintenance. Sites plans run a single site with multiple apps on shared servers. Servers plans give a complete virtual machine for multiple sites and benches. Sites with custom apps or server scripts need a private bench, and data sits in Frappe's infrastructure. Frappe states a recovery point objective of up to 24 hours, with no database high availability, automated failover or point-in-time recovery by default. Automated backups run every 24 hours. Product Warranty covers bug fixes in Frappe apps and Frappe Cloud, not functional support. Frappe Cloud lists ISO 9001:2015, ISO 27001:2022 and SOC 2 Type 2 certifications.
Self-hosting runs a bench: web workers, background workers, the scheduler, Redis and the socket server against MariaDB behind nginx. The production setup guide describes Supervisor and nginx, automated by sudo bench setup production, but says Frappe prefers Docker images over bare metal. The frappe_docker repository provides production-ready images, with compose.yaml as the base file and overrides/ for scenarios. It needs Docker, Docker Compose v2 and git. On Kubernetes, the Frappe Helm chart defines gunicorn, nginx, scheduler, socketio and three worker queues, with autoscaling and persistent volumes, and can use an external database host. Size background workers for imports, email and reports.
Roles grant DocType permissions, and user permissions restrict records by company, warehouse or other links. Limit the System Manager role and keep server scripts off unless a reviewed use needs them. Two-factor authentication offers an OTP app (TOTP), email (HOTP) or SMS (HOTP). Turn it on with bench --site [sitename] set-config enable_two_factor_auth true, which also enables it for the All role. It does not apply to Web Users or API logins, so protect API keys separately and give them limited roles. Review administrators, API keys and role grants on a schedule. Keep one local administrator for recovery when directory login is in use. The site config also holds rate_limit and deny_multiple_logins. A wildcard value for allow_cors is not recommended for production.
The bench backup reference says a plain run creates a compressed database dump in ./sites/{site}/private/backups. Add --with-files for public and private files, --compress for tgz archives and --backup-path to choose the output directory. By default, bench deletes backup files older than 24 hours, so set keep_backups_for_hours in the site config and copy backups off the server. Set backup_encryption_key to encrypt them. The encryption_key encrypts stored passwords, so a restore needs that key as well. Restore with bench --site {site} restore and a local sql or sql.gz file. Restore one regularly to a separate site to check documents, attachments and permissions. Record each result, since backup and restore results are part of the handover.
A v15 to v16 move is a major upgrade. Check the host first: v16 lists MariaDB 11.8, Python 3.14 and Node.js 24, against MariaDB 10.6.6+, Python 3.11+ and Node.js 18+ for v14 and v15. The v16 announcement says major refactors were made to the Frappe core to make it more secure, so test custom code that touches core behavior. Port custom apps first. Then upgrade a copy of production with the Frappe, ERPNext and custom app branches switched together, and test the critical flows before the production window. bench update pulls minor releases and runs migrations. Fixes are not merged across versions automatically, so stay on a listed version.
Who owns ERPNext after go-live
After go-live, ERPNext needs owners for the platform, the configuration, the custom app and the controls around it.
Platform
- Run the bench, MariaDB, Redis and workers.
- Watch the background job queue and scheduler.
- Apply minor updates on a tested schedule.
Functional owners
- Own masters such as items, accounts and price lists.
- Approve changes to workflows, roles and print formats.
- Run period close and stock reconciliation.
Developers
- Maintain the custom app with tests and review.
- Move UI customizations into fixtures.
- Port the app before each major upgrade.
Security and audit
- Review administrators, API keys and role grants.
- Keep segregation of duties in approval workflows.
- Retain evidence of access reviews and restore tests.
ERPNext implementation questions
What does an ERPNext implementation partner do?
DeployOpen runs discovery, designs masters and workflows, builds the custom app, integrates SSO and other systems, migrates and reconciles data, deploys and hardens the bench or containers in your infrastructure, trains key users and supports go-live. Handover includes the process and masters design, the custom app repository with fixtures, migration scripts, reconciliation records and the role and permission matrix.
How does an ERPNext v15 to v16 migration work?
Treat it as a major upgrade. Port custom apps first, then upgrade a copy of production with the Frappe, ERPNext and custom app branches switched together. Check the host first, because v16 lists MariaDB 11.8, Python 3.14 and Node.js 24. Test critical flows before the production window. Frappe plans end of life for v15 at the end of 2027, so schedule the move, including any localization apps, well before that date.
What are the ERPNext system requirements?
The installation guide lists MariaDB 10.6.6+, Python 3.11+, Node.js 18+, Redis or Valkey 6, Yarn 1.12+ and pip 20+ for v14 and v15. For v16 and develop it lists MariaDB 11.8, Python 3.14, Node.js 24, Redis or Valkey 6+, Yarn 1.22+ and pip 25.3+. macOS and Debian or Ubuntu are supported. Windows users should use Ubuntu under WSL. Cron is required, and bench downloads Chromium for PDFs.
Frappe Cloud vs self-hosted ERPNext: which fits?
Frappe Cloud removes server operations, and its README says it handles installation, upgrades, monitoring and maintenance. Sites with custom apps or server scripts need a private bench, data sits in Frappe's infrastructure, and Frappe states a recovery point objective of up to 24 hours. Self-hosting in your infrastructure means you operate the bench, MariaDB, Redis and workers yourself, and you decide database availability, backups and network placement.
How do I enable server scripts in ERPNext?
Server scripts are disabled by default to protect shared benches. On a self-hosted bench, run bench set-config -g server_script_enabled true. Public shared benches on Frappe Cloud do not allow them, so use a private bench. RestrictedPython limits the methods available to the scripts. Keep them off unless a reviewed use needs them, and move logic that needs tests into a custom app.
How do ERPNext LDAP SSO and two-factor authentication fit together?
Directory login uses LDAP Settings. OAuth or OpenID Connect providers use a Social Login Key, with presets for Frappe, Google, Facebook, GitHub, Microsoft and Salesforce plus a Custom option. Map LDAP groups to roles and keep one local administrator for recovery. Two-factor authentication does not apply to Web Users or API logins, so require it for administrators and protect API keys with limited roles.
Scope and handover of an ERPNext implementation
Effort depends on the number of companies and countries, the modules in use, manufacturing complexity, the volume of custom DocTypes and integrations, source data quality and the number of users to train. Masters design and migration rehearsals usually take longer than the technical setup.
DeployOpen runs discovery, designs masters and workflows, builds the custom app, integrates SSO and other systems, migrates and reconciles data, deploys and hardens the bench or containers in your infrastructure, trains key users and supports go-live. Handover includes the process and masters design, the custom app repository with fixtures, integration specifications, migration scripts and reconciliation records, the role and permission matrix, backup and restore results, and the plan for the next major version.
DeployOpen reviews roles, approval workflows, hosting and change control, runs security testing, and helps prepare evidence for SOC 2, ISO 27001, DORA or NIS2 readiness. DeployOpen does not issue audit reports or certifications.
Sources and further reading
- ERPNext source repository (GPL-3.0) ↗
- Supported versions for Frappe products ↗
- Frappe Framework server scripts ↗
- ERPNext Data Import ↗
- Frappe v16 announcement ↗
- ERPNext GitHub releases API ↗
- ERPNext security policy ↗
- Frappe installation guide ↗
- Frappe bench repository ↗
- frappe_docker repository ↗
- frappe_docker README ↗
- Frappe Helm chart ↗
- Frappe production setup guide ↗
- Frappe bench backup reference ↗
- Frappe bench commands ↗
- Frappe site config ↗

