/odoo-attendance-manager

A Streamlit application to manage and sync attendance data with Odoo

Primary LanguagePython

Odoo Attendance Manager

A Streamlit application to manage and sync attendance data with Odoo.

Installation

  1. Clone this repository:
git clone https://github.com/your-username/odoo-attendance-manager.git
cd odoo-attendance-manager
  1. Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Install requirements:
pip install -r requirements.txt
  1. Create a .env file in the root directory with your Odoo credentials:
ODOO_URL=your_odoo_url
ODOO_DB=your_database
ODOO_USERNAME=your_username
ODOO_PASSWORD=your_password
api_key=your_api_key

Usage

Run the Streamlit app:

streamlit run run.py

The app will open in your default web browser. 1-simple python script to run the app

Clone repository

git clone https://github.com/yourusername/odoo-attendance-manager.git cd odoo-attendance-manager

Run deploy script

On Linux/Mac:

chmod +x deploy.sh ./deploy.sh

On Windows:

deploy.bat 2-docker install

Clone repository

git clone https://github.com/yourusername/odoo-attendance-manager.git cd odoo-attendance-manager

Build and run with Docker Compose

docker-compose up --build