# Generated manually for customer opening balance

import decimal
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ("shop_management", "0025_purchasepayment_notes"),
    ]

    operations = [
        migrations.AddField(
            model_name="customer",
            name="opening_balance",
            field=models.DecimalField(
                blank=True,
                decimal_places=2,
                default=decimal.Decimal("0"),
                max_digits=14,
            ),
        ),
        migrations.AddField(
            model_name="customer",
            name="opening_balance_currency",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="customers_opening_balance",
                to="shop_management.currency",
            ),
        ),
    ]
