# -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2021, Shuup Commerce Inc. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
from shuup.apps import AppConfig
[docs]class ShuupSimpleSupplierAppConfig(AppConfig):
name = "shuup.simple_supplier"
verbose_name = "Shuup Simple Supplier"
label = "simple_supplier"
provides = {
"supplier_module": ["shuup.simple_supplier.module:SimpleSupplierModule"],
"admin_product_form_part": ["shuup.simple_supplier.admin_module.forms:SimpleSupplierFormPart"],
"admin_module": ["shuup.simple_supplier.admin_module:StocksAdminModule"],
"notify_event": ["shuup.simple_supplier.notify_events:AlertLimitReached"],
"notify_script_template": [
"shuup.simple_supplier.notify_script_template:StockLimitEmailScriptTemplate",
],
}
[docs] def ready(self):
import shuup.simple_supplier.product_copy_signal_handler # noqa: F401
default_app_config = "shuup.simple_supplier.ShuupSimpleSupplierAppConfig"