parent
272451c92f
commit
a644ad4e75
2 changed files with 43 additions and 0 deletions
|
|
@ -0,0 +1,33 @@
|
|||
# Generated by Django 5.2.7 on 2025-10-16 22:52
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("core", "0008_organization_osb_guid_service_osb_service_id_and_more"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="organization",
|
||||
name="limit_cloudproviders",
|
||||
field=models.ManyToManyField(
|
||||
blank=True,
|
||||
related_name="+",
|
||||
to="core.cloudprovider",
|
||||
verbose_name="Limit to these Cloud providers",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="organization",
|
||||
name="limit_osb_services",
|
||||
field=models.ManyToManyField(
|
||||
blank=True,
|
||||
related_name="+",
|
||||
to="core.service",
|
||||
verbose_name="Services activated from OSB",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
@ -46,6 +46,16 @@ class Organization(ServalaModelMixin, models.Model):
|
|||
related_name="organizations",
|
||||
verbose_name=_("Members"),
|
||||
)
|
||||
limit_cloudproviders = models.ManyToManyField(
|
||||
to="CloudProvider",
|
||||
related_name="+",
|
||||
verbose_name=_("Limit to these Cloud providers"),
|
||||
)
|
||||
limit_osb_services = models.ManyToManyField(
|
||||
to="Service",
|
||||
related_name="+",
|
||||
verbose_name=_("Services activated from OSB"),
|
||||
)
|
||||
|
||||
odoo_sale_order_id = models.IntegerField(
|
||||
null=True, blank=True, verbose_name=_("Odoo Sale Order ID")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue