Erpnext Impl Hooks

🌐Community
by openaec-foundation · vlatest · Repository

This skill automates ERPNext implementation by creating and managing custom modules (impl hooks) for streamlined workflows and tailored configurations.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add erpnext-impl-hooks npx -- -y @trustedskills/erpnext-impl-hooks
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "erpnext-impl-hooks": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/erpnext-impl-hooks"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

The erpnext-impl-hooks skill enables AI agents to interact with the ERPNext implementation hooks system, allowing for custom business logic execution during data operations. It facilitates automation by triggering specific server-side functions whenever defined events occur within the ERPNext ecosystem.

When to use it

  • Automating complex validation rules that require custom Python code before saving a Sales Order or Purchase Receipt.
  • Triggering external API calls or internal scripts automatically when a new Customer or Supplier record is created.
  • Executing batch processing tasks based on specific document states, such as updating inventory levels upon delivery completion.
  • Enforcing unique constraints or data transformations that standard ERPNext fields cannot handle natively.

Key capabilities

  • Registers custom hooks for various document types and events (e.g., on_submit, before_save).
  • Executes Python functions within the ERPNext server environment securely.
  • Integrates with the broader ERPNext development framework to extend core functionality.
  • Supports dynamic logic injection without modifying standard source code files directly.

Example prompts

  • "Create an implementation hook that automatically calculates a custom tax rate for specific customer groups when a Quotation is submitted."
  • "Write a server script using erpnext-impl-hooks to send an email notification whenever a new Job Card is created in the manufacturing module."
  • "Implement a validation rule via hooks that prevents saving a Delivery Note if the stock quantity is insufficient, logging the error details."

Tips & gotchas

Ensure you have appropriate development permissions and access to the ERPNext server environment, as these hooks execute on the backend. Test all custom logic thoroughly in a sandbox instance before deploying to production to avoid unintended side effects during critical business operations.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
openaec-foundation
Installs
30

🌐 Community

Passed automated security scans.