Skip to content

A comprehensive e-commerce management system built on Odoo 17, featuring intelligent workflow management, role-based security, and automated reporting.

Notifications You must be signed in to change notification settings

thejokers69/Odoo-Ecommerce-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Odoo E-commerce Manager

Odoo Python Docker License

πŸš€ Overview

A comprehensive e-commerce management system built on Odoo 17, featuring intelligent workflow management, role-based security, and automated reporting.

✨ Features

  • Product Management: Complete catalog with pricing and inventory
  • Order Workflow: Intelligent state management (Draft β†’ Confirmed β†’ Delivered)
  • User Roles: Granular permissions (Sales Staff / Manager)
  • Automated Reports: PDF generation for orders
  • Real-time Messaging: Built-in communication system
  • Docker Ready: One-command deployment

πŸ› οΈ Tech Stack

  • Backend: Odoo 17 (Python)
  • Database: PostgreSQL 15
  • Frontend: Odoo Web Client
  • Deployment: Docker Compose
  • Architecture: MVC Pattern

πŸš€ Quick Start

Prerequisites

  • Docker & Docker Compose
  • 4GB+ RAM
  • 2GB+ disk space

Installation

  1. Clone the repository
git clone https://github.com/thejokers69/Odoo-Ecommerce-Manager.git
cd Odoo-Ecommerce-Manager
  1. Start the services
cd dossier_docker
docker-compose up -d
  1. Access the application
  1. Install the module
  • Go to Apps β†’ Update Apps List
  • Search for "Gestion Magasin"
  • Click Install

πŸ“– Usage

Managing Products

  1. Navigate to Gestion Magasin β†’ Produits
  2. Click Create to add new products
  3. Set pricing and descriptions

Processing Orders

  1. Go to Gestion Magasin β†’ Commandes
  2. Create new orders and add products
  3. Use workflow buttons: Confirm β†’ Deliver
  4. Generate PDF reports with the Print button

User Management

  1. Access Settings β†’ Users & Companies
  2. Assign roles: Sales Staff or Manager
  3. Configure permissions per role

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Web Client    β”‚    β”‚   Odoo Server   β”‚    β”‚   PostgreSQL    β”‚
β”‚   (Frontend)    │◄──►│   (Backend)     │◄──►│   (Database)    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                              β”‚
                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚  Custom Module  β”‚
                    β”‚ Odoo-Ecommerce-Manager β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ”§ Development

Project Structure

dossier_docker/Odoo-Ecommerce-Manager/
β”œβ”€β”€ models/          # Business logic
β”‚   β”œβ”€β”€ produit.py   # Product model
β”‚   └── commande.py  # Order model
β”œβ”€β”€ views/           # UI definitions
β”‚   β”œβ”€β”€ produit_view.xml
β”‚   β”œβ”€β”€ commande_view.xml
β”‚   └── menu.xml
β”œβ”€β”€ security/        # Access rights
β”‚   β”œβ”€β”€ security.xml
β”‚   └── ir.model.access.csv
β”œβ”€β”€ data/           # Default data
β”‚   β”œβ”€β”€ sequence.xml
β”‚   └── rapport.xml
└── __manifest__.py # Module definition

Key Models

Product Model (gestion.produit)

  • Name, description, price fields
  • Category management
  • Inventory tracking

Order Model (gestion.commande)

  • Customer relationship
  • Product selection (Many2many)
  • Workflow states: Draft β†’ Confirmed β†’ Delivered
  • Automatic total calculation
  • PDF report generation

Adding Features

  1. Create models in models/
  2. Define views in views/
  3. Set permissions in security/
  4. Update __manifest__.py

πŸ” Security System

User Roles

  • Sales Staff: Can view products, manage orders
  • Manager: Full administrative access

Permissions Matrix

Resource Sales Staff Manager
Products Read Full CRUD
Orders Read/Create/Write Full CRUD
Reports Generate Full Access

πŸ“‹ Business Logic

Order Workflow

  1. Draft: Initial state, editable
  2. Confirmed: Order validated, ready for processing
  3. Delivered: Order completed
  4. Cancelled: Order cancelled

Automatic Features

  • Sequential numbering for orders
  • Real-time total calculation
  • Mail thread integration for communication
  • PDF report generation

🐳 Docker Deployment

# Start all services
docker-compose up -d

# View logs
docker logs odoo

# Restart Odoo only
docker restart odoo

# Stop all services
docker-compose down

πŸ“Έ Screenshots

Feature Description
Dashboard Main navigation and overview
Products Product catalog management
Orders Order processing workflow
Reports PDF generation system

🀝 Contributing

  1. Fork the project
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ‘¨β€πŸ’» Authors

Main Developer: @thejokers69

Contributors:

πŸ™ Acknowledgments

  • Odoo Community for the excellent framework
  • Docker team for containerization tools
  • PostgreSQL for robust database management

⭐ Star this repository if it helped you!

About

A comprehensive e-commerce management system built on Odoo 17, featuring intelligent workflow management, role-based security, and automated reporting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published