Build addons for ERPForAll
You are reading the next documentation. It describes unreleased development code and changes as the code does.
Start here
Section titled “Start here”- User Manual: Daily operationsNavigate Accounting, Purchasing, Inventory, Sales, Point of Sale, Project, HR, and Workspace workflows end to end.
- Accounting & FinanceSet up Chart of Accounts, journals, invoicing, bank reconciliation, reports, controlling, and consolidation.
- Set up PostgreSQLInstall PostgreSQL 18 locally or pick a managed provider.
- Declare your first modelModels, fields, defaults, computed values and method overrides.
- Install and upgradeInstall, upgrade and uninstall your addon with the erp command.
- Odoo compatibilityHow Odoo concepts correspond to ERPForAll, and where they differ.
Browse by topic
Section titled “Browse by topic”User Manual: Getting Started
Section titled “User Manual: Getting Started”Navigate ERPForAll, configure settings, Discuss, outbound email, Approvals, data import/export, AI Assistant, and shared Contacts and Products. EN & ID editions.
User Manual: Accounting & Finance
Section titled “User Manual: Accounting & Finance”Accounting setup, AR/AP, bank reconciliation, all 17 reports and menus, controlling, budgets (AVC), assets & depreciation, consolidation, and full-cycle examples.
- Accounting Setup, Chart of Accounts, and Manual Journal Entries
- Customer Invoices, Vendor Bills, Payments, and Credit Notes
- Bank Statements and Bank Reconciliation
- Financial Reports: Statements, Drill-Down, and Export
- Controlling, Budgets (AVC), and Fixed Assets & CIP
- Multi-Company Group Consolidation
- Complete Accounting Menus, Configuration, and Reports Reference
- Accounting Full-Cycle Example: Record-to-Report End-to-End
- Budget Control (AVC), Controlling & Fixed Asset Depreciation Full-Cycle Example
User Manual: Purchasing
Section titled “User Manual: Purchasing”Procure-to-Pay workflows from Purchase Requests with budget reservations, RFQs, and agreements to partial receipts, 3-way matched bills, returns, and analytics.
User Manual: Inventory & Warehouse
Section titled “User Manual: Inventory & Warehouse”Warehouse receipts, deliveries, backorders, cycle counts, scrap, lots and serials, routes, landed costs, quality control, fleet vehicles, barcodes, and a full-cycle worked example.
- Warehouse Operations, Cycle Counts, Scrap, and Replenishment
- Lots, Serials, Expiry Dates, Multi-Step Routes, and Landed Costs
- Quality Control, Fleet Vehicles, Delivery Carriers, and Barcodes
- Inventory Full-Cycle Example: Receive-to-Ship with Lots, QC, Landed Cost, and Count
- Validate a company-owned receipt
- Barcodes in printed reports
User Manual: CRM & Sales
Section titled “User Manual: CRM & Sales”CRM Overview, lead scoring, opportunity pipelines, forecasts, quotations, pricelists, deliveries, invoicing, returns, sales analytics, and a worked example.
User Manual: Point of Sale & Retail
Section titled “User Manual: Point of Sale & Retail”Retail registers, cashier shifts, web terminal checkout, cash reconciliation, restaurant floor plans, kitchen tickets, split bills, versioned promotions, member cards, and vouchers.
User Manual: Project Management
Section titled “User Manual: Project Management”Project Overview KPIs, projects with independent workflow stages, Kanban task boards, subtasks, tags, deadline calendars, chatter, and multi-company visibility.
User Manual: Human Resources
Section titled “User Manual: Human Resources”Employee directory, org chart, departments, contracts, skills and resumes, self-service attendance, shift scheduling (Calendar & Gantt), and workforce analytics.
Get started
Section titled “Get started”Set up a database, learn the erp command and ship a first addon.
- PostgreSQL 18 Providers and Setup Guide
- Command-Line Interface (erp)
- Server lifecycle
- Installing, upgrading and uninstalling modules
- Background jobs for operators
- SQL-object database roles
- Attachment store for operators
- Running the transient cleanup (vacuum)
- A data-only addon: no Rust, no compilation
- Writing and extending addons: a two-addon tutorial
- Odoo compatibility
Models and data
Section titled “Models and data”Declare models and fields, and control how records are stored, keyed and migrated.
- Models, fields and method overrides
- Search domains for nonstored fields
- Translated fields
- Company-dependent fields
- Binary and image fields
- Tracked fields
- Money, currency rates and dated parameters
- Countries, Federal States, and Country Groups
- Exact units of measure
- Barcode configuration and parsing
- Product catalog, variants, and pricing
- Sales teams and the Sales groups
- Sales orders: the order header and its operations
- Stock read models
- Stock quant engine
- Changing a product's tracking
- Chatter storage: messages and followers
- Attachments
- Store wire: sending records to the client store
- Add a store topic
- Sequences: names, period keys and wait modes
- Keys, upsert and row versions
- Generated columns
- Index kinds
- Exclusion constraints and range fields
- Query AST: saving a search and running it later
- Migrations: upgrading an addon's data and schema
- Company-specific accounting mappings
- The accounting addon set
- Purchase orders: states, operations and extension steps
- Journal entry numbering: number chains and the allocation point
- Fiscal periods and lock statuses
- Ledger configuration models of the account addon
- Invoices and bills: the invoice line sync and the tax computation
- Journal entries and journal items: drafts and posting
- Payment terms: models, the split of a total and the invoice integration
- Reconciliation of journal items
- Payments and payment methods
- Tax definitions
- Fiscal-position resolution
- Localization pack format
Addons and packaging
Section titled “Addons and packaging”Load data, extend other addons, expose methods and package your addon.
- Data files (XML and CSV)
- Calling methods and deleting from data files (<function>, <delete>, CSV)
- Python Expressions in Data and Views
- Extending other addons, data-only models and custom fields
- Native declared settings
- Exposing methods over RPC
- Luau scripts: code server actions and data-only addon hooks
- WASM addons: one source, a native crate and a sandboxed component
- The .erpaddon package
- Native human lifecycle engine
- Demo data
- Load demo data on an existing database
- AI providers and tool calling
- AI provider configuration
Security and access
Section titled “Security and access”Decide who can read and change which records and fields, across companies.
- Security and Access Control
- Writing ir.access rules
- Record access in addons: access domains, parameters and checks
- Field access: hiding and protecting single fields
- Capabilities: naming an admin check
- Authentication for addon authors
- The audit trail
- Custom login selection rollout
- Native base bootstrap identities
- Companies in addons: the active companies and company consistency
- Links to users and company consistency
- HTML sanitising: the removal report and strict mode
- HTML field admission rollout
Views and web client
Section titled “Views and web client”Build forms, lists, menus and wizards, and extend the web client.
- View Architectures and Inheritance
- Actions and menus
- Printed business documents: the shared document parts
- Static form layout
- Pivot view
- Calendar view
- Graph view
- Kanban view
- Dashboard cards
- Declarative dashboard headers
- Client actions
- Dynamic reports
- PDF page operations, attachments, metadata and e-invoices
- Background jobs
- Wizard dialogs
- Client templates (QWeb for the web client)
- Declared UI assets
- Client registries, environments, services and patches
- Human client extensions
- The client messaging store: reading records and adding typed fields
- The shared thread, message and composer: registries and patch points
- Host values in browser expressions
- Expression AST transport
- Restricted card host types
- Accessibility and runtime strings
- Component tests with Elang