Synchronize odoo-import data with Odoo Timesheet and Jira Worklogs
Project description
TIMETRACK ODOO (and JIRA Worklogs and more)
Timetrack is a synchronisation tool for work hours. It can read, write and update different data bases.
- Odoo Timesheet via REST API
- Jira Issue Worklogs via REST API
- zeit.txt timetrack notes as a local file
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
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file timetrack-odoo-1.1.3314.tar.gz
.
File metadata
- Download URL: timetrack-odoo-1.1.3314.tar.gz
- Upload date:
- Size: 76.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2598d8b2fdd6973045d91547c144d1dbffec0d7daf8d37889791f208ffdd9c87 |
|
MD5 | c1040cb68ade37198de935c45d03f08a |
|
BLAKE2b-256 | 2e78212f4ff7eabfd1bc7d823cdf77efb5a0e488ab32c5f1707fecc06e5ebd5b |