# Generated by Django 5.2.9 on 2025-12-04 12:46

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("core", "0017_add_unit_and_convert_odoo_ids_to_charfield"),
    ]

    operations = [
        migrations.AddField(
            model_name="organizationorigin",
            name="invoice_grouping",
            field=models.CharField(
                choices=[
                    ("by_service", "By Service"),
                    ("by_organization", "By Organization"),
                ],
                default="by_service",
                help_text="Determines how service instances are grouped on invoices.",
                max_length=20,
                verbose_name="Invoice Line Item Grouping",
            ),
        ),
        migrations.AlterField(
            model_name="computeplanassignment",
            name="unit",
            field=models.CharField(
                choices=[
                    ("hour", "Hour"),
                    ("day", "Day"),
                    ("month", "Month (30 days / 720 hours)"),
                    ("year", "Year"),
                ],
                default="hour",
                help_text="Unit for the price (e.g., price per hour)",
                max_length=10,
                verbose_name="Billing unit",
            ),
        ),
    ]
