# -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-07-24 08:32
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('codenerix_pos', '0005_auto_20170719_1454'),
        ('codenerix_invoicing', '0021_auto_20170531_1407'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='pos',
            name='billing_series',
        ),
        migrations.RemoveField(
            model_name='salesbasket',
            name='point_sales',
        ),
        migrations.RemoveField(
            model_name='salesinvoice',
            name='tax',
        ),
        migrations.AddField(
            model_name='salesbasket',
            name='pos_slot',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='basket_sales', to='codenerix_pos.POSSlot', verbose_name='Point of Sales'),
        ),
        migrations.AddField(
            model_name='salesinvoice',
            name='billing_series',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='invoice_sales', to='codenerix_invoicing.BillingSeries', verbose_name=b'Billing series'),
            preserve_default=False,
        ),
        migrations.DeleteModel(
            name='POS',
        ),
    ]
