# Generated by Django 5.2.8 on 2025-12-02 10:35

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("core", "0016_computeplan_and_more"),
    ]

    operations = [
        migrations.AddField(
            model_name="computeplanassignment",
            name="unit",
            field=models.CharField(
                choices=[
                    ("hour", "Hour"),
                    ("day", "Day"),
                    ("month", "Month (30 days)"),
                    ("year", "Year"),
                ],
                default="hour",
                help_text="Unit for the price (e.g., price per hour)",
                max_length=10,
                verbose_name="Billing unit",
            ),
        ),
        migrations.AlterField(
            model_name="computeplanassignment",
            name="odoo_product_id",
            field=models.CharField(
                help_text="Product ID in Odoo (e.g., 'openshift-exoscale-workervcpu-standard')",
                max_length=255,
                verbose_name="Odoo product ID",
            ),
        ),
        migrations.AlterField(
            model_name="computeplanassignment",
            name="odoo_unit_id",
            field=models.CharField(
                max_length=255,
                verbose_name="Odoo unit ID",
            ),
        ),
        migrations.AlterField(
            model_name="controlplane",
            name="storage_plan_odoo_product_id",
            field=models.CharField(
                blank=True,
                help_text="Storage product ID in Odoo",
                max_length=255,
                null=True,
                verbose_name="Storage plan Odoo product ID",
            ),
        ),
        migrations.AlterField(
            model_name="controlplane",
            name="storage_plan_odoo_unit_id",
            field=models.CharField(
                blank=True,
                help_text="Unit of measure ID in Odoo",
                max_length=255,
                null=True,
                verbose_name="Storage plan Odoo unit ID",
            ),
        ),
    ]
