# -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-08-04 14:36
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('codenerix_products', '0030_productfinaloption_productfinaloptiontexten_productfinaloptiontextes'),
        ('codenerix_invoicing', '0027_saleslinebasketoption_quantity'),
    ]

    operations = [
        migrations.CreateModel(
            name='SalesLineOrderOption',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created', models.DateTimeField(auto_now_add=True, verbose_name='Created')),
                ('updated', models.DateTimeField(auto_now=True, verbose_name='Updated')),
                ('quantity', models.FloatField(verbose_name='Quantity')),
                ('line_order', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='line_order_option_sales', to='codenerix_invoicing.SalesLineOrder', verbose_name='Line Order')),
                ('product_final', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='line_order_option_sales', to='codenerix_products.ProductFinal', verbose_name='Product')),
                ('product_option', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='line_order_option_sales', to='codenerix_products.ProductFinalOption', verbose_name='Option')),
            ],
            options={
                'default_permissions': ('add', 'change', 'delete', 'view', 'list'),
                'abstract': False,
            },
        ),
    ]
