[Skip to content](#main)

[→](/)

[![Avunu](/brand/avunu-logo.svg)![Avunu](/brand/avunu-logo-light.svg)](/)[Services](/services/)[Consulting](/services/consulting/)[ERP](/services/erp/)[Odoo](/services/erp/odoo/)[ERPNext](/services/erp/erpnext/)[Custom software](/services/custom-software/)[Devices & IoT](/services/devices-iot/)[Websites](/services/websites/)[Infrastructure](/services/infrastructure/)[Partners](/partners/)

[Work](/work/)[Open source](/open-source/)[Knowledge base](/kb/)[About](/about/)

[About Avunu](/about/)[Team](/about/team/)[Insights](/insights/)[Contact](/contact/)

[Client portal](https://erp.avunu.net/projects)[Start a project](/start/)

- [Services](/services/)[Consulting](/services/consulting/)
- [ERP](/services/erp/)
- [Odoo](/services/erp/odoo/)
- [ERPNext](/services/erp/erpnext/)
- [Custom software](/services/custom-software/)
- [Devices & IoT](/services/devices-iot/)
- [Websites](/services/websites/)
- [Infrastructure](/services/infrastructure/)
- [Partners](/partners/)

[Work](/work/)[Open source](/open-source/)[Knowledge base](/kb/)[About](/about/)

- [About Avunu](/about/)
- [Team](/about/team/)
- [Insights](/insights/)
- [Contact](/contact/)

[Client portal](https://erp.avunu.net/projects)[Start a project](/start/)

[Knowledge base](/kb/)[Frappe](/kb/frappe/)Project Structure & Hooks

Search the knowledge basePress/

ESC

Jump to

[Browse the knowledge base](/kb/)[Frappe](/kb/frappe/)[ERPNext](/kb/erpnext/)[Odoo](/kb/odoo/)[WordPress](/kb/wordpress/)[NixOS](/kb/nixos/)[Email](/kb/email/)[Linux](/kb/linux/)[Databases](/kb/databases/)[Containers](/kb/containers/)[Proxmox](/kb/proxmox/)[Git & Dev Tools](/kb/git-and-dev-tools/)

↵select↑↓navigateescclose

Search the knowledge base

[Skip to the article](#kb-article)[Frappe](/kb/frappe/)20 articles

- [Overview](/kb/frappe/)
- [Bench Operations](/kb/frappe/bench-operations/)
- [Builder Page Scripts](/kb/frappe/builder-page-scripts/)
- [Client-Side Recipes](/kb/frappe/client-side-recipes/)
- [Common Query Patterns](/kb/frappe/common-query-patterns/)
- [Custom Field Controllers](/kb/frappe/custom-field-controllers/)
- [Custom Pages](/kb/frappe/custom-pages/)
- [Custom Views](/kb/frappe/custom-views/)
- [Customizations API](/kb/frappe/customizations-api/)
- [Customizing Grid Columns for Child Tables](/kb/frappe/customizing-grid-columns-child-tables/)
- [Doctype States & Status Fields](/kb/frappe/doctype-states-status-fields/)
- [Grandchild Table Fields](/kb/frappe/grandchild-table-fields/)
- [Portal Views](/kb/frappe/portal-views/)
- [Project Structure & Hooks](/kb/frappe/project-structure-hooks/)
- [Query Builder & PyPika Extensions](/kb/frappe/query-builder-pypika/)
- [Quick Entry Forms](/kb/frappe/quick-entry-forms/)
- [Script Reports](/kb/frappe/script-reports/)
- [Testing on Live Databases](/kb/frappe/testing-live-databases/)
- [Type Annotations & Controller Overrides](/kb/frappe/type-annotations-controller-overrides/)
- [Vite & TypeScript Compilation](/kb/frappe/vite-typescript-compilation/)
- [Web Forms](/kb/frappe/web-forms/)

Other sections[ERPNext](/kb/erpnext/)[Odoo](/kb/odoo/)[WordPress](/kb/wordpress/)[NixOS](/kb/nixos/)[Email](/kb/email/)[Linux](/kb/linux/)[Databases](/kb/databases/)[Containers](/kb/containers/)[Proxmox](/kb/proxmox/)[Git & Dev Tools](/kb/git-and-dev-tools/)

In Frappe: 20 articles

[Overview](/kb/frappe/)[Bench Operations](/kb/frappe/bench-operations/)[Builder Page Scripts](/kb/frappe/builder-page-scripts/)[Client-Side Recipes](/kb/frappe/client-side-recipes/)[Common Query Patterns](/kb/frappe/common-query-patterns/)[Custom Field Controllers](/kb/frappe/custom-field-controllers/)[Custom Pages](/kb/frappe/custom-pages/)[Custom Views](/kb/frappe/custom-views/)[Customizations API](/kb/frappe/customizations-api/)[Customizing Grid Columns for Child Tables](/kb/frappe/customizing-grid-columns-child-tables/)[Doctype States & Status Fields](/kb/frappe/doctype-states-status-fields/)[Grandchild Table Fields](/kb/frappe/grandchild-table-fields/)[Portal Views](/kb/frappe/portal-views/)[Project Structure & Hooks](/kb/frappe/project-structure-hooks/)[Query Builder & PyPika Extensions](/kb/frappe/query-builder-pypika/)[Quick Entry Forms](/kb/frappe/quick-entry-forms/)[Script Reports](/kb/frappe/script-reports/)[Testing on Live Databases](/kb/frappe/testing-live-databases/)[Type Annotations & Controller Overrides](/kb/frappe/type-annotations-controller-overrides/)[Vite & TypeScript Compilation](/kb/frappe/vite-typescript-compilation/)[Web Forms](/kb/frappe/web-forms/)

Other sections[ERPNext](/kb/erpnext/)[Odoo](/kb/odoo/)[WordPress](/kb/wordpress/)[NixOS](/kb/nixos/)[Email](/kb/email/)[Linux](/kb/linux/)[Databases](/kb/databases/)[Containers](/kb/containers/)[Proxmox](/kb/proxmox/)[Git & Dev Tools](/kb/git-and-dev-tools/)

FrappeProject Structure & Hooks

Standard Frappe app layout, the main hooks.py settings, bundle naming, and post-migration scripts.

UpdatedMar 13, 2026

Tagsfrappehooksapp-structurepython

Reading time3 min

On this page[App Directory Layout](#app-directory-layout)[hooks.py Reference](#hookspy-reference)[Basic App Info](#basic-app-info)[Asset Inclusion](#asset-inclusion)[DocType Class Overrides](#doctype-class-overrides)[Document Event Hooks](#document-event-hooks)[List View JS Overrides](#list-view-js-overrides)[Post-Migration Hook](#post-migration-hook)[Bundle Naming Convention](#bundle-naming-convention)[Post-Migration Script](#post-migration-script)

## App Directory Layout

A Frappe app follows this standard structure:

```text
myapp/
├── myapp/
│   ├── __init__.py
│   ├── hooks.py              # Central configuration file
│   ├── modules.txt            # List of modules (one per line)
│   ├── patches.txt            # Migration patches
│   ├── migrate.py             # Post-migration hook (optional)
│   ├── mymodule/
│   │   ├── doctype/
│   │   │   └── my_doctype/
│   │   │       ├── my_doctype.json    # DocType definition
│   │   │       ├── my_doctype.py      # Controller
│   │   │       ├── my_doctype.js      # Form script
│   │   │       ├── my_doctype_list.js # List view customization (optional)
│   │   │       └── test_my_doctype.py # Tests
│   │   ├── page/
│   │   │   └── my_page/
│   │   │       ├── my_page.json       # Page definition
│   │   │       ├── my_page.py         # Empty (required for registration)
│   │   │       └── my_page.js         # Page script (or built bundle)
│   │   ├── report/
│   │   │   └── my_report/
│   │   │       ├── my_report.json     # Report definition
│   │   │       ├── my_report.py       # Data logic
│   │   │       ├── my_report.js       # Client-side config
│   │   │       ├── my_report.sql      # External SQL (optional)
│   │   │       ├── my_report.css      # Report styles (optional)
│   │   │       └── columns.json       # External column defs (optional)
│   │   └── web_form/
│   │       └── my_form/
│   │           ├── my_form.json       # Web form definition
│   │           ├── my_form.py         # get_context() hook
│   │           └── my_form.js         # Client-side logic
│   ├── custom/                        # DocType overrides (see customizations-api.md)
│   │   ├── doctype_name.json
│   │   └── doctype_name.py
│   ├── public/
│   │   ├── js/
│   │   │   ├── app.bundle.js          # Auto-included desk JS bundle
│   │   │   └── my_control.bundle.js   # Named bundle (include via hooks)
│   │   └── dist/                      # Vite/Rollup build output
│   └── utils/                         # Shared utilities
├── pyproject.toml
├── package.json                       # Node dependencies (if using Vite/Rollup)
├── vite.config.ts                     # Vite build config (optional)
└── tsconfig.json                      # TypeScript config (optional)
```

## hooks.py Reference

`hooks.py` is the central configuration file for a Frappe app. Key properties:

### Basic App Info

```
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">app_name </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"myapp"</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">app_title </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"My App"</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">app_publisher </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"Avunu LLC"</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">app_description </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"Description"</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">app_license </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"MIT"</span>

<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">export_python_type_annotations </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> </span><span style="--shiki-dark:#79C0FF;--shiki-light:#0550AE">True</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">  </span><span style="--shiki-dark:#8B949E;--shiki-light:#6E7781"># Enable DF.* type annotation system</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">required_apps </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> [</span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"frappe"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">, </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"erpnext"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">]  </span><span style="--shiki-dark:#8B949E;--shiki-light:#6E7781"># App dependencies</span>
```

### Asset Inclusion

```
<span style="--shiki-dark:#8B949E;--shiki-light:#6E7781"># Global desk JS/CSS (loaded on every desk page)</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">app_include_js </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"myapp.app.bundle.js"</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">app_include_css </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"myapp.app.bundle.css"</span>

<span style="--shiki-dark:#8B949E;--shiki-light:#6E7781"># Website-only assets</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">web_include_js </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> [</span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"/assets/myapp/js/web.js"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">]</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">web_include_css </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> [</span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"/assets/myapp/css/web.css"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">]</span>

<span style="--shiki-dark:#8B949E;--shiki-light:#6E7781"># Web form specific assets</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">webform_include_js </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> {</span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"My Web Form"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">: [</span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"public/js/webform_helper.js"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">]}</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">webform_include_css </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> {</span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"My Web Form"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">: [</span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"public/css/webform.css"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">]}</span>
```

### DocType Class Overrides

```
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">override_doctype_class </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> {</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">    </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"Item"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">: </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"myapp.myapp.custom.item.Item"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">,</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">    </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"BOM"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">: </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"myapp.myapp.custom.bom.BOM"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">,</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">}</span>
```

### Document Event Hooks

```
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">doc_events </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> {</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">    </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"Workday"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">: {</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">        </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"before_save"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">: </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"myapp.api.workday_update"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">,</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">        </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"on_update"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">: </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"myapp.api.workday_changed"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">,</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">    },</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">    </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"*"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">: {  </span><span style="--shiki-dark:#8B949E;--shiki-light:#6E7781"># All doctypes</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">        </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"on_trash"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">: </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"myapp.api.handle_trash"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">,</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">    },</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">}</span>
```

### List View JS Overrides

```
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">doctype_list_js </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> {</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">    </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"Job Card"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">: </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"public/js/job_card.js"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">,</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">}</span>
```

### Post-Migration Hook

```
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">after_migrate </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"myapp.migrate.after_migrate"</span>
```

## Bundle Naming Convention

Frappe's asset builder recognizes files by naming pattern:

| Pattern         | Behavior                                                      |
| --------------- | ------------------------------------------------------------- |
| `*.bundle.js`   | Processed through Frappe's esbuild bundler (resolves imports) |
| `*.bundle.css`  | Processed through Frappe's CSS bundler                        |
| `app.bundle.js` | Special: auto-included when `app_include_js` references it    |

Place bundles in `<app>/public/js/` and reference them in hooks:

```
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">app_include_js </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">=</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> </span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"myapp.app.bundle.js"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">  </span><span style="--shiki-dark:#8B949E;--shiki-light:#6E7781"># → public/js/app.bundle.js</span>
```

The `app.bundle.js` convention is particularly useful for injecting global behavior (custom views, field controllers) without explicitly including them per page.

## Post-Migration Script

`migrate.py` runs after `bench migrate` completes:

```
<span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">from</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> frappe.utils.nestedset </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">import</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> rebuild_tree</span>
<span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">from</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> frappe.utils.scheduler </span><span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">import</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> activate_scheduler</span>

<span style="--shiki-dark:#FF7B72;--shiki-light:#CF222E">def</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328"> </span><span style="--shiki-dark:#D2A8FF;--shiki-light:#8250DF">after_migrate</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">() -> </span><span style="--shiki-dark:#79C0FF;--shiki-light:#0550AE">None</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">:</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">    rebuild_tree(</span><span style="--shiki-dark:#A5D6FF;--shiki-light:#0A3069">"Item Group"</span><span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">)  </span><span style="--shiki-dark:#8B949E;--shiki-light:#6E7781"># Rebuild nested set tree</span>
<span style="--shiki-dark:#E6EDF3;--shiki-light:#1F2328">    activate_scheduler()         </span><span style="--shiki-dark:#8B949E;--shiki-light:#6E7781"># Ensure scheduler is running</span>
```

Register in hooks: `after_migrate = "myapp.migrate.after_migrate"`.

Need help with Frappe?

Our notes can take you a long way, but sometimes you'd rather have someone who's done it before.

[ERPNext implementation](/services/erp/erpnext/)

[← PreviousPortal Views](/kb/frappe/portal-views/)[Next →Query Builder & PyPika Extensions](/kb/frappe/query-builder-pypika/)

CC0This article is in the public domain ([CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/)), code samples included. Use it however helps you.

On this page

- [App Directory Layout](#app-directory-layout)
- [hooks.py Reference](#hookspy-reference)
- [Basic App Info](#basic-app-info)
- [Asset Inclusion](#asset-inclusion)
- [DocType Class Overrides](#doctype-class-overrides)
- [Document Event Hooks](#document-event-hooks)
- [List View JS Overrides](#list-view-js-overrides)
- [Post-Migration Hook](#post-migration-hook)
- [Bundle Naming Convention](#bundle-naming-convention)
- [Post-Migration Script](#post-migration-script)

[Back to top↑](#top)

Services

- [ERP implementation](/services/erp/)
- [Odoo](/services/erp/odoo/)
- [ERPNext](/services/erp/erpnext/)
- [Custom software](/services/custom-software/)
- [Devices & IoT](/services/devices-iot/)
- [Websites](/services/websites/)
- [Infrastructure](/services/infrastructure/)

Resources

- [Our work](/work/)
- [Open source](/open-source/)
- [Knowledge base](/kb/)
- [Insights](/insights/)

Company

- [About](/about/)
- [Team](/about/team/)
- [Partners](/partners/)
- [Contact](/contact/)

Clients

- [Project portal](https://erp.avunu.net/projects)
- [Invoices](https://erp.avunu.net/)
- [Support](https://erp.avunu.net/)

[![Avunu](/brand/avunu-logo-light.svg)](/)[\<av-icon data-jx-static>\<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" stroke="none" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">\<path d="M20.400 20.500h-3.600v-5.600c0-1.300 0-3-1.800-3s-2.100 1.400-2.100 2.900v5.700H9.400V9h3.400v1.600c.5-.9 1.600-1.900 3.400-1.900 3.600 0 4.300 2.400 4.300 5.500v6.300zM5.300 7.400a2.100 2.100 0 1 1 0-4.100 2.100 2.100 0 0 1 0 4.100zm1.800 13.100H3.600V9h3.500v11.500zM22.200 0H1.800C.8 0 0 .8 0 1.700v20.600c0 .9.800 1.700 1.800 1.700h20.400c1 0 1.800-.8 1.800-1.700V1.700C24 .8 23.200 0 22.200 0z">\</path>\</svg>\</av-icon>](https://www.linkedin.com/company/avunu)[\<av-icon data-jx-static>\<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" stroke="none" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">\<path d="M12 .3a12 12 0 0 0-3.8 23.4c.6.1.8-.3.8-.6v-2c-3.3.7-4-1.6-4-1.6-.6-1.4-1.4-1.8-1.4-1.8-1-.7.1-.7.1-.7 1.2.1 1.8 1.2 1.8 1.2 1 1.8 2.8 1.3 3.5 1 .1-.8.4-1.3.7-1.6-2.7-.3-5.5-1.3-5.5-5.9 0-1.3.5-2.4 1.2-3.2-.1-.3-.5-1.5.1-3.2 0 0 1-.3 3.3 1.2a11.500 11.500 0 0 1 6 0c2.300-1.500 3.300-1.200 3.300-1.200.6 1.700.2 2.900.1 3.200.8.8 1.200 1.900 1.200 3.200 0 4.600-2.800 5.600-5.500 5.900.4.400.8 1.100.8 2.200v3.300c0 .3.2.7.8.6A12 12 0 0 0 12 .3">\</path>\</svg>\</av-icon>](https://github.com/Avunu)[Client portal](https://erp.avunu.net/projects)[Start a project](/start/)

Avunu LLC · 948 East Philadelphia Street, York, PA 17403 · (717) 814-8540Knowledge base articles are in the public domain[Privacy](/privacy/)[Terms](/terms/)
