A lightweight bash script to instantly generate a clean Odoo custom module structure.
- Quickly scaffold Odoo custom modules.
- Automatically creates necessary folders and files.
- Supports custom module naming and company info.
- Developer-friendly structure for Odoo development.
__manifest__.py__init__.pymodels/,views/,data/,security/,controllers/directories- Basic content structure for Odoo 14+
<module_name>/
βββ __init__.py
βββ __manifest__.py
βββ controllers/
βββ models/
βββ views/
βββ security/
βββ data/
chmod +x odoo-module-generator.sh
./odoo-module-generator.shYouβll be prompted to enter:
- Module Name
- Technical Name
- Company Name
- Version
./odoo-module-generator.shInput:
Module Name: My Custom Module
Technical Name: my_custom_module
Company Name: Arclight Infotech
Version: 16.0.1.0.0
Creates a new folder my_custom_module/ with all required files.
- Bash shell (
sh,bash, etc.) - Linux / macOS / WSL (or any Unix-like system)
Priyank
Feel free to fork, contribute, or raise issues.
MIT - see LICENSE