diff --git a/modules/core/karrio/server/providers/migrations/0078_auto_20240813_1552.py b/modules/core/karrio/server/providers/migrations/0078_auto_20240813_1552.py index 17d040f2e0..9a6b43320d 100644 --- a/modules/core/karrio/server/providers/migrations/0078_auto_20240813_1552.py +++ b/modules/core/karrio/server/providers/migrations/0078_auto_20240813_1552.py @@ -29,7 +29,11 @@ def forwards_func(apps, schema_editor): for name, model in MODELS.items() if hasattr(_carrier, model.__name__.lower()) ), - ("eshipper", _carrier.metadata.get("__settings", {})), + ( + _carrier.metadata.get("__settings", {}).get("carrier_name") + or "eshipper", + _carrier.metadata.get("__settings", {}), + ), ) _services = _settings.pop("services", {})