Files
suite/connector_opencart/models/opencart/backend_importer.py
Jared Kipe e21163d2a8 [MIG] connector_opencart: to Odoo 15.0
Added checkpoint activity and search views.
2021-12-16 08:41:55 -08:00

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']