# -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-04-05 12:53
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('codenerix_invoicing', '0011_auto_20170327_1014'),
    ]

    operations = [
        migrations.AlterUniqueTogether(
            name='salesbudget',
            unique_together=set([]),
        ),
        migrations.RemoveField(
            model_name='salesbudget',
            name='customer',
        ),
        migrations.RemoveField(
            model_name='salesbudget',
            name='payment',
        ),
        migrations.RemoveField(
            model_name='salesbudget',
            name='shopping_cart',
        ),
        migrations.RemoveField(
            model_name='saleslinebudget',
            name='budget',
        ),
        migrations.RemoveField(
            model_name='saleslinebudget',
            name='product',
        ),
        migrations.RemoveField(
            model_name='saleslinesalesshoppingcart',
            name='product',
        ),
        migrations.RemoveField(
            model_name='saleslinesalesshoppingcart',
            name='shoppingcart',
        ),
        migrations.RemoveField(
            model_name='salesshoppingcart',
            name='customer',
        ),
        migrations.AlterField(
            model_name='saleslineorder',
            name='line_budget',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='line_order_sales', to='codenerix_invoicing.SalesLineBasket', verbose_name='Line budget'),
        ),
        migrations.AlterField(
            model_name='salesorder',
            name='budget',
            field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='order_sales', to='codenerix_invoicing.SalesBasket', verbose_name='Budget'),
        ),
        migrations.DeleteModel(
            name='SalesBudget',
        ),
        migrations.DeleteModel(
            name='SalesLineBudget',
        ),
        migrations.DeleteModel(
            name='SalesLineSalesShoppingCart',
        ),
        migrations.DeleteModel(
            name='SalesShoppingCart',
        ),
    ]
