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:
parent
a4ca20c8be
commit
3cd12423fe
2 changed files with 19 additions and 2 deletions
|
|
@ -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"},
|
||||
),
|
||||
]
|
||||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue