Skip to content

Synchronize odoo-import data from Timetrack notes with Odoo Timesheets and Jira Worklogs via their API

License

Notifications You must be signed in to change notification settings

gdraheim/timetrack-odoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Style Check Type Check Unit Tests PyPI version

TIMETRACK ODOO (and JIRA Worklogs and more)

Timetrack is a synchronisation tool for work hours. It can read, write and update different data bases.

It was originally used to push local timetrack notes to Odoo timesheet tracking. If all work notes (in the description field) have a symbolic prefix then the data can also be updated later - for every day the tool assumes that the symbolic prefix is used only once. Here's a mapping definition in two lines followed by two lines for the work notes.

>> app1 [PRJ Contract 2023]
>> app1 "App1 Development"
so **** WEEK 08.01.-15.01.
mo 5:00 app1 extended frontend

This can be pushed to Odoo with ./zeit2odoo.py -f zeit.txt update. It defaults to dryrun and the real write operations are done when adding -y. For Jira you need to to configure a ticket number >> app1 BUG-1234 so that the tool knows where to add worklog entries when using ./zeit2jira.py -f zeit.txt update.

Surley, it only works when the basic setup was done where you have configured the urls and login credentials. However for the biggest part you need to setup the mapping of different work topics to their Odoo and Jira accounts. If you do already have data in Odoo then you can get a zeit summary from it for a quick start with ./odoo2data.py lastmonth zeit. Save it with -O zeit.txt.


Documentation Topic
odoo2data.setup generate reports for Odoo data
jira2data.setup generate reports for Jira data
zeit2json.setup generate reports for Zeit
zeit2odoo.setup synchronize Zeit to Odoo
zeit2jira.setup synchronize Zeit to Jira
odoo2data API Odoo API hints
tabtotext.setup how report tables are generated
dotnetrc.setup how credentials are stored

and some HISTORY / overview of FEATURES / latest RELEASENOTES

About

Synchronize odoo-import data from Timetrack notes with Odoo Timesheets and Jira Worklogs via their API

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published