diff --git a/queue_job/job.py b/queue_job/job.py index e0bbe63e88..920a8a0781 100644 --- a/queue_job/job.py +++ b/queue_job/job.py @@ -47,7 +47,7 @@ def DelayableRecordset(*args, **kwargs): # prevent circular import from .delay import DelayableRecordset as dr - _logger.debug( + _logger.warning( "DelayableRecordset moved from the queue_job.job" " to the queue_job.delay python module" ) diff --git a/queue_job/models/base.py b/queue_job/models/base.py index 051598ee6f..bd481dcf26 100644 --- a/queue_job/models/base.py +++ b/queue_job/models/base.py @@ -5,8 +5,7 @@ from odoo import api, models -from ..delay import Delayable -from ..job import DelayableRecordset +from ..delay import Delayable, DelayableRecordset from ..utils import must_run_without_delay