Features: 1) Add migration to update verbose_name and verbose_name_plural for CustomerRelationshipManagementProvider.

Fixes: 1) Correct `verbose_name` and `verbose_name_plural` in `CustomerRelationshipManagementProvider` model.

Extra: 1) None.
This commit is contained in:
Egor Pavlovich Gorbunov 2025-09-07 01:16:48 +03:00
parent a4ca20c8be
commit 3cd12423fe
2 changed files with 19 additions and 2 deletions

View file

@ -0,0 +1,17 @@
# Generated by Django 5.2 on 2025-09-06 22:16
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("core", "0040_customerrelationshipmanagementprovider_ordercrmlink"),
]
operations = [
migrations.AlterModelOptions(
name="customerrelationshipmanagementprovider",
options={"verbose_name": "CRM", "verbose_name_plural": "CRMs"},
),
]

View file

@ -1977,8 +1977,8 @@ class CustomerRelationshipManagementProvider(ExportModelOperationsMixin("crm_pro
super().save(**kwargs)
class Meta:
verbose_name = _("order CRM link")
verbose_name_plural = _("orders CRM links")
verbose_name = _("CRM")
verbose_name_plural = _("CRMs")
class OrderCrmLink(ExportModelOperationsMixin("order_crm_link"), NiceModel):