Redmine Import Time Entry
Project description
Redmine Import Time Entry
Connector used to import Redmine time entries as Odoo analytic timesheets in batch.
To use this module, you must add a custom field on your Redmine projects. You can give the name you want to this field, but every project must have a different value for this field.
In Odoo, you must create an analytic account for each Redmine project. The value of the custom field must be written in the field ref (‘Reference’) of the analytic account.
Installation
Nothing to do.
Configuration
# Go to Connectors -> Redmine -> Backends and select your Redmine backend
# Enter the name of the custom field used to identify projects in Redmine
# Click on the button to test the custom field
- # The field “Time Entries - Number of days” is by default set to 14. This means that the connector will
only fetch time entries that have a date between 2 weeks ago and now. Of course, the connector will only create single jobs for Redmine records that have been updated since the last update.
You must set one Redmine service as the default one. For this, you may check the box Default Redmine Service. By default, the timesheets of every user will be imported from that redmine service. If a user needs to import his timesheets from a different redmine service, he may change it in his preference settings, the same way you switch companies.
Usage
To use this module, you need to:
Go to …
Known issues / Roadmap
The Redmine API does not allow to fetch time entry records based on the last update field. For this reason, the connector fetches every records for a period of time (e.g. 2 weeks) as explained in Configuration.
Timesheet Entries Update
In vanilla Odoo, there is a flaw of design with the timesheet widget. When you modify a time entry using the widget, instead of updating the existing records, Odoo deletes all records and creates all of them from the begginning. Not only it has a performance impact, but it also conflicts with the Redmine Connector. This is why the widget is fixed in this module so that entries are updated intead of recreated.
This issue has another impact. The field partner_id on analytic.timesheet.line is related and it is not readonly. This is a flaw of design but in vanilla Odoo, it does not cause issues because of the entries are not updated. Therefore, the field partner_id is set to readonly to prevent access errors.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
Credits
Contributors
Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>
David Dufresne <david.dufresne@savoirfairelinux.com>
Maintainer
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for odoo8_addon_redmine_import_time_entry-8.0.1.0.0.99.dev8-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 975fbaf9a94fa56153ef4da34d40b650bfbe09e43a048244099750ec2f78c6ad |
|
MD5 | bafe2814a67c91b20c26f1c06c646d6e |
|
BLAKE2b-256 | dcab234b14a85ab32ec7e695f92ef003ebcca628d02ce9e7e824c83561fa786a |