Skip to content

Commit

Permalink
[FIX] connector_redmine, redmine_import_time_entry: fix OCA#16
Browse files Browse the repository at this point in the history
In redmine 2.0.0, the package name was renamed from redmine to redminelib
  • Loading branch information
tafaRU committed Mar 7, 2018
1 parent 9a89773 commit 3cca781
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion connector_redmine/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'hr_timesheet_sheet',
],
'external_dependencies': {
'python': ['redmine'],
'python': ['redminelib'],
},
'data': [
'security/ir.model.access.csv',
Expand Down
2 changes: 1 addition & 1 deletion connector_redmine/unit/backend_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
_logger = logging.getLogger(__name__)

try:
from redmine import Redmine, exceptions
from redminelib import Redmine, exceptions
except (ImportError, IOError) as err:
_logger.warning('python-redmine not installed!')

Expand Down
2 changes: 1 addition & 1 deletion redmine_import_time_entry/unit/backend_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from odoo.tools.translate import _
import odoo.addons.connector.exception as cn_exception
from redmine import exceptions
from redminelib import exceptions
from odoo.addons.connector_redmine.unit.backend_adapter import (
RedmineAdapter)
from odoo.addons.connector_redmine.backend import redmine
Expand Down

0 comments on commit 3cca781

Please sign in to comment.