This commit is contained in:
parent
cbdbc253e8
commit
b3ecae6fd9
1 changed files with 41 additions and 0 deletions
41
src/servala/core/migrations/0014_hide_billing_address.py
Normal file
41
src/servala/core/migrations/0014_hide_billing_address.py
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
# Generated by Django 5.2.8 on 2025-11-12 09:31
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("core", "0013_add_form_config"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name="organizationorigin",
|
||||||
|
name="billing_message",
|
||||||
|
field=models.TextField(
|
||||||
|
blank=True,
|
||||||
|
help_text="Optional message to display instead of billing address (e.g., 'You will be invoiced by Exoscale').",
|
||||||
|
verbose_name="Billing Message",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name="organizationorigin",
|
||||||
|
name="hide_billing_address",
|
||||||
|
field=models.BooleanField(
|
||||||
|
default=False,
|
||||||
|
help_text="If enabled, the billing address will not be shown in the organization details view.",
|
||||||
|
verbose_name="Hide Billing Address",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="controlplane",
|
||||||
|
name="user_info",
|
||||||
|
field=models.JSONField(
|
||||||
|
blank=True,
|
||||||
|
help_text='Array of info objects: [{"title": "…", "content": "…", "help_text": "…"}]. The help_text field is optional and will be shown as a hover popover on an info icon.',
|
||||||
|
null=True,
|
||||||
|
verbose_name="User Information",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue