Key features and capabilities- Code generation: Automatically creates the basic structure for new modules, including files for the descriptor, setup page, language, and public pages.
- Object creation: Helps in adding new objects to the database, specifying table names, and enabling features like automatic numbering and PDF generation.
- Permission and menu management: Facilitates the creation of new menu entries and the definition of new permissions for your module.
- Integrated development environment (IDE): Provides an embedded IDE for editing, testing, and refining the generated code directly within Dolibarr.
- Hooks and triggers: Allows developers to add custom code to specific Dolibarr actions and points using hook positions.
- Customization: Enables adding new information widgets, creating new document templates, and defining new substitution variables.
How it works1. Enable the module: First, the Module Builder application must be enabled in the Dolibarr admin settings.
2. Launch the tool: Access the builder from the main menu (e.g., Home > Admin tools > Module builder).
3. Define new objects: Use the builder to add new objects by specifying their name, associated database table, and options like auto-numbering or PDF generation.
4. Add features: Add new menu entries, define permissions, and create new screens for your objects.
5. Generate and edit code: The tool generates a skeleton for your new module. Developers can then use the built-in editor or an external IDE to write, test, and complete the custom logic for the module.
6. The module can be integrated with the existing Dolibarr system, allowing it to extend features, access data, and interact with other modules.