erpnext-errors-hooks

Official

Robust ERPNext hooks error handling.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

ERPNext hooks.py configurations are error-prone and can disrupt form saves, scheduler jobs, and bootstrapping if not guarded properly. This skill providesRobust, deterministic error-handling patterns to guide safe implementation across hooks.

Core Features & Use Cases

  • Isolated error handling for doc_events to prevent cascading failures during save.
  • Safe scheduler patterns with try/except, logging, and explicit commit handling.
  • Permission hooks that never throw and always return safe fallbacks.
  • Safe extend_bootinfo and parent-class overrides with proper error propagation and logging.

Quick Start

Study the provided examples and apply safe error-handling patterns to ERPNext hooks.py implementations.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: erpnext-errors-hooks
Download link: https://github.com/OpenAEC-Foundation/ERPNext_Anthropic_Claude_Development_Skill_Package/archive/main.zip#erpnext-errors-hooks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.