mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
19 lines
499 B
Python
19 lines
499 B
Python
# © 2019-2021 Hibou Corp.
|
|
|
|
from odoo.addons.component.core import Component
|
|
|
|
|
|
class MetadataBatchImporter(Component):
|
|
""" Import the records directly, without delaying the jobs.
|
|
|
|
Import the Opencart Stores
|
|
|
|
They are imported directly because this is a rare and fast operation,
|
|
and we don't really bother if it blocks the UI during this time.
|
|
|
|
"""
|
|
|
|
_name = 'opencart.metadata.batch.importer'
|
|
_inherit = 'opencart.direct.batch.importer'
|
|
_apply_on = ['opencart.store']
|