erpnext-impl-hooks

Implement ERPNext hooks for doc_events, scheduler_events, and overrides across versions V14–V16.

163|53|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/OpenAEC-Foundation/ERPNext_Anthropic_Claude_Development_Skill_Package --skill erpnext-impl-hooks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: erpnext-impl-hooks
Source: https://github.com/OpenAEC-Foundation/ERPNext_Anthropic_Claude_Development_Skill_Package/tree/main/skills/source/impl/erpnext-impl-hooks
Command: npx skills add https://github.com/OpenAEC-Foundation/ERPNext_Anthropic_Claude_Development_Skill_Package --skill erpnext-impl-hooks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

ERPNext customization often requires intricate coordination between doc events, scheduled tasks, and hook overrides; this skill provides structured, battle-tested workflows to implement and maintain hooks safely.

Core Features & Use Cases

  • Comprehensive decision trees for doc_events, scheduler_events, and override hooks across ERPNext versions.
  • Step-by-step implementation patterns including extend_doctype_class (V16+), permission hooks, boot info, fixtures, and asset wiring.
  • Practical examples and anti-patterns to accelerate secure, maintainable customizations.

Quick Start

Configure doc_events and scheduler_events first, then progressively add override, permissions, bootinfo, fixtures, and assets following the workflows.

Frequently Asked Questions about erpnext-impl-hooks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement doc_events and scheduler_events safely in ERPNext?

To implement ERPNext hooks safely, configure doc_events and scheduler_events first, then progressively add override, permissions, bootinfo, fixtures, and assets following structured workflows and decision trees that enforce correct handler signatures and safety guardrails.

What is the correct way to use extend_doctype_class for ERPNext V16 overrides?

The extend_doctype_class hook for ERPNext V16+ allows class extension overrides. Using version-aware extension strategies ensures correct handler signatures and safe deployment, preventing conflicts during framework upgrades and ongoing maintenance.

How do ERPNext permission_hooks and boot info configurations work together?

ERPNext permission_hooks and boot info configurations work together by following step-by-step implementation patterns. Configuring these hooks requires understanding handler signatures and safety guardrails to maintain secure and maintainable customizations across ERPNext versions.

Can I use these ERPNext hook workflows across different framework versions?

Yes, these workflows support ERPNext versions V14 through V16. They provide version-aware extension strategies, specifying the scope across versions and enforcing correct handler signatures and safety guardrails for deployment and maintenance regardless of your specific version.

What are common anti-patterns when configuring Frappe override hooks?

Common anti-patterns when configuring Frappe override hooks include ignoring version-aware extension strategies and using incorrect handler signatures. Following structured workflows and practical examples helps avoid these issues and accelerates secure, maintainable customizations.

When do I need to configure fixtures and asset wiring in my Frappe app?

You need to configure fixtures and asset wiring after setting up doc_events and scheduler_events. Following the progressive implementation workflow ensures these components are added safely with correct handler signatures and deployment guardrails for maintainable customizations.