odv
v0.0.2
Published
CLI tool for Odoo development
Readme
Odookit
Odookit is a powerful Command Line Interface (CLI) tool designed to streamline Odoo development workflows. It provides an efficient way to scaffold new Odoo projects and modules, following best practices and modern development standards.
Features
- Project scaffolding with Docker integration
- Module generation for both backend and frontend
- Standardized project structure
- Development environment setup automation
Prerequisites
- Node.js (v14 or higher)
- npm (v6 or higher)
- Docker (for containerized development)
Installation
Install Odookit globally using npm:
npm install -g odookitQuick Start
Creating a New Odoo Project
Initialize a new Odoo project with Docker configuration:
npx odookit new:projectThis command sets up:
- Docker Compose configuration
- Odoo configuration files
- Development environment structure
- Basic project scaffolding
Running the Project
After generating the project, navigate to the project directory and start the services:
cd your-project-name
docker-compose up -dThe Odoo instance will be available at:
- Web Interface: http://localhost:8069
- Database Manager: http://localhost:8069/web/database/manager
To stop the services:
docker-compose downCreating a New Module
Generate a new frontend module:
npx odookit new:module frontendProject Structure
project/
├── docker/
│ ├── Dockerfile
│ └── docker-compose.yml
├── odoo/
│ └── config/
│ └── odoo.conf
└── modules/
└── [your-modules]Module Structure
Generated modules follow Odoo's standard structure:
module/
├── __manifest__.py
├── static/
│ ├── src/
│ │ ├── js/
│ │ ├── css/
│ │ └── xml/
│ └── description/
└── views/Contributing
We welcome contributions! Please read our contributing guidelines before submitting pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For support, please open an issue in our GitHub repository or contact our development team.
