Skip to content

Commit 514d4bc

Browse files
author
Zakaria Makrelouf
committed
[REV]connector_importer: revert default job channel.
1 parent 53f62d1 commit 514d4bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

connector_importer/models/record.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def debug_mode(self):
8383
os.environ.get('IMPORTER_DEBUG_MODE')
8484

8585
@api.multi
86-
@job(default_channel='root.import')
86+
@job
8787
def import_record(self, component_name, model_name):
8888
"""This job will import a record."""
8989
with self.backend_id.work_on(self._name) as work:

connector_importer/models/recordset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def available_models(self):
239239
return self.import_type_id.available_models()
240240

241241
@api.multi
242-
@job(default_channel='root.import')
242+
@job
243243
def import_recordset(self):
244244
"""This job will import a recordset."""
245245
with self.backend_id.work_on(self._name) as work:

0 commit comments

Comments
 (0)