Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.08 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.08 KB

toggl_to_odoo

toggle_to_odoo is a tool to synchronize entries from Toggl Track to timesheets in an Odoo database

Setup

Install
  • Clone this repository
  • Install dependencies for your python3 environment:
    pip3 install -r requirements.txt
  • Setup Toggl CLI config
  • Adapt converters for your use, these converters are a good place to start
Toggl side

If using the suggested converters, you will need to define several Toggl projects and add them to an "Odoo" client under Toggl.
Tasks should be in the format [odoo task id] title and filed under a project named "Odoo-psbe" or "Odoo-maintenance"

Look into converters/odoo_common.py to get an idea of the others projects you need.
For exemple Misc entries have to be filed under "Odoo-misc"

Guide

Usage

To run the synchronization, run :

python3 -m toggl_to_odoo upload toggl2odoo https://www.odoo.com openerp history