Odoo Lens is a modern web application built to provide enhanced analytics, searching and management capabilities for Odoo ERP systems. It offers a set of powerful tools for exploring Odoo data models, analyzing permissions, querying data, and searching faculty information.
- Model Exploration: Visualize and explore Odoo data models and their relationships
- Permission Analysis: Review and analyze user permissions across the Odoo system
- Data Query: Execute and visualize custom queries against Odoo data
- Faculty Search: Advanced search and analytics for faculty members
- AI-Powered Analysis: Integration with Google's Generative AI for enhanced insights
- Framework: Next.js 15 with TypeScript
- Styling: Tailwind CSS
- UI Components: Radix UI primitives
- State Management: React hooks with Context API
- Data Visualization: Recharts
- AI Integration: Google Generative AI (@google/genai)
- Node.js 18+
- npm or yarn
- Access to an Odoo instance (for full functionality)
-
Clone the repository:
git clone https://github.com/yourusername/odoo-lens.git cd odoo-lens
-
Install dependencies:
npm install
-
Copy
.env.example
to.env.local
and update with your configuration:cp .env.example .env.local
-
Start the development server:
npm run dev
-
Open http://localhost:3000 in your browser
src/
app/ # Next.js app directory (pages and API routes)
components/ # React components
data/ # Static data files
hooks/ # Custom React hooks
lib/ # Utility functions and constants
types/ # TypeScript type definitions
- Development Server:
npm run dev
- Build for Production:
npm run build
- Start Production Server:
npm run start
- Linting:
npm run lint
The application can be deployed on any platform that supports Next.js applications. Vercel is recommended for the easiest deployment experience:
- Push your code to a Git repository
- Import the project in Vercel
- Configure environment variables
- Deploy
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature
- Commit your changes:
git commit -m 'Add amazing feature'
- Push to the branch:
git push origin feature/amazing-feature
- Open a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Next.js - The React framework
- Tailwind CSS - Utility-first CSS framework
- Radix UI - Unstyled, accessible UI components
- Recharts - Charting library for React
Developed as part of IS-LAB course at UET (Spring 2025)