diff options
| author | Julien Castiaux <juc@odoo.com> | 2020-03-03 15:34:07 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2020-05-14 14:40:02 +0000 |
| commit | d6d0e8d6d28f342a1aa88b31bc6344a371bfcece (patch) | |
| tree | 6bf3caa0d6ae83631212058f22dc342c3ae4fdee /addons/google_calendar/utils | |
| parent | 975deb21da316816c09e08167d0bfcecacfcea80 (diff) | |
[FIX] models.py: remove leftover `import crm` like compatibility
Historically, it was possible to import addons via a naked import. It is
no more possible since 9e1f13bac, since that commit, the only possible
way to import odoo addons is via the `import odoo.addons' prefix.
closes odoo/odoo#46995
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/google_calendar/utils')
| -rw-r--r-- | addons/google_calendar/utils/google_calendar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/google_calendar/utils/google_calendar.py b/addons/google_calendar/utils/google_calendar.py index 20032241362..20f30d33a7f 100644 --- a/addons/google_calendar/utils/google_calendar.py +++ b/addons/google_calendar/utils/google_calendar.py @@ -8,8 +8,8 @@ import logging from odoo import api, _ from odoo.tools import exception_to_unicode -from addons.google_calendar.utils.google_event import GoogleEvent -from addons.google_account.models.google_service import TIMEOUT +from odoo.addons.google_calendar.utils.google_event import GoogleEvent +from odoo.addons.google_account.models.google_service import TIMEOUT _logger = logging.getLogger(__name__) |
