# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-09-06 14:36
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('codenerix_invoicing', '0041_auto_20170905_1349'),
    ]

    operations = [
        migrations.AddField(
            model_name='salesalbaran',
            name='billing_series',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='albaran_sales', to='codenerix_invoicing.BillingSeries', verbose_name='Billing series'),
        ),
        migrations.AddField(
            model_name='salesalbaran',
            name='code_counter',
            field=models.IntegerField(default=0, editable=False, verbose_name='Code counter'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='salesbasket',
            name='billing_series',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='basket_sales', to='codenerix_invoicing.BillingSeries', verbose_name='Billing series'),
        ),
        migrations.AddField(
            model_name='salesbasket',
            name='code_counter',
            field=models.IntegerField(default=0, editable=False, verbose_name='Code counter'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='salesinvoice',
            name='code_counter',
            field=models.IntegerField(default=0, editable=False, verbose_name='Code counter'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='salesinvoicerectification',
            name='billing_series',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='invoicerectivication_sales', to='codenerix_invoicing.BillingSeries', verbose_name='Billing series'),
        ),
        migrations.AddField(
            model_name='salesinvoicerectification',
            name='code_counter',
            field=models.IntegerField(default=0, editable=False, verbose_name='Code counter'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='salesorder',
            name='billing_series',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='order_sales', to='codenerix_invoicing.BillingSeries', verbose_name='Billing series'),
        ),
        migrations.AddField(
            model_name='salesorder',
            name='code_counter',
            field=models.IntegerField(default=0, editable=False, verbose_name='Code counter'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='salesticket',
            name='billing_series',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='ticket_sales', to='codenerix_invoicing.BillingSeries', verbose_name='Billing series'),
        ),
        migrations.AddField(
            model_name='salesticket',
            name='code_counter',
            field=models.IntegerField(default=0, editable=False, verbose_name='Code counter'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='salesticketrectification',
            name='billing_series',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='ticketrectification_sales', to='codenerix_invoicing.BillingSeries', verbose_name='Billing series'),
        ),
        migrations.AddField(
            model_name='salesticketrectification',
            name='code_counter',
            field=models.IntegerField(default=0, editable=False, verbose_name='Code counter'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='customer',
            name='billing_series',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='billing_series', to='codenerix_invoicing.BillingSeries', verbose_name='Billing series'),
        ),
        migrations.AlterField(
            model_name='printcounterdocumentalbaran',
            name='status_document',
            field=models.CharField(choices=[('TM', 'Temporary'), ('DF', 'Definitive')], default='TM', max_length=2, verbose_name='Status document'),
        ),
        migrations.AlterField(
            model_name='printcounterdocumentbasket',
            name='status_document',
            field=models.CharField(choices=[('TM', 'Temporary'), ('DF', 'Definitive')], default='TM', max_length=2, verbose_name='Status document'),
        ),
        migrations.AlterField(
            model_name='printcounterdocumentinvoice',
            name='status_document',
            field=models.CharField(choices=[('TM', 'Temporary'), ('DF', 'Definitive')], default='TM', max_length=2, verbose_name='Status document'),
        ),
        migrations.AlterField(
            model_name='printcounterdocumentinvoicerectification',
            name='status_document',
            field=models.CharField(choices=[('TM', 'Temporary'), ('DF', 'Definitive')], default='TM', max_length=2, verbose_name='Status document'),
        ),
        migrations.AlterField(
            model_name='printcounterdocumentorder',
            name='status_document',
            field=models.CharField(choices=[('TM', 'Temporary'), ('DF', 'Definitive')], default='TM', max_length=2, verbose_name='Status document'),
        ),
        migrations.AlterField(
            model_name='printcounterdocumentticket',
            name='status_document',
            field=models.CharField(choices=[('TM', 'Temporary'), ('DF', 'Definitive')], default='TM', max_length=2, verbose_name='Status document'),
        ),
        migrations.AlterField(
            model_name='printcounterdocumentticketrectification',
            name='status_document',
            field=models.CharField(choices=[('TM', 'Temporary'), ('DF', 'Definitive')], default='TM', max_length=2, verbose_name='Status document'),
        ),
        migrations.AlterField(
            model_name='provider',
            name='billing_series',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='providers', to='codenerix_invoicing.BillingSeries', verbose_name='Billing series'),
        ),
        migrations.AlterField(
            model_name='provider',
            name='finance_surcharge',
            field=models.CharField(blank=True, choices=[('I', 'Taxable base'), ('F', 'Total bill')], max_length=1, null=True, verbose_name='Finance surcharge'),
        ),
        migrations.AlterField(
            model_name='provider',
            name='payment_methods',
            field=models.CharField(blank=True, choices=[('AMA', 'Amazon'), ('TRA', 'Wire transfer'), ('CAR', 'Card'), ('CAS', 'Cash'), ('CRE', 'Credit'), ('PYP', 'Paypal'), ('30C', '30 day credit'), ('60C', '60 day credit'), ('90C', '90 day credit')], max_length=3, null=True, verbose_name='Payment methods'),
        ),
        migrations.AlterField(
            model_name='purchaseslinealbaran',
            name='status',
            field=models.CharField(blank=True, choices=[('PR', 'Pending review'), ('RV', 'Reviewed'), ('RC', 'Rejected')], default='PR', max_length=2, null=True, verbose_name='Status'),
        ),
        migrations.AlterField(
            model_name='salesbasket',
            name='role',
            field=models.CharField(choices=[('SC', 'Shopping cart'), ('BU', 'Budget'), ('WL', 'Wish list')], default='SC', max_length=2, verbose_name='Role basket'),
        ),
        migrations.AlterField(
            model_name='salesinvoice',
            name='billing_series',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='invoice_sales', to='codenerix_invoicing.BillingSeries', verbose_name='Billing series'),
        ),
        migrations.AlterField(
            model_name='salesorder',
            name='payment_detail',
            field=models.CharField(blank=True, choices=[('AMA', 'Amazon'), ('TRA', 'Wire transfer'), ('CAR', 'Card'), ('CAS', 'Cash'), ('CRE', 'Credit'), ('PYP', 'Paypal'), ('30C', '30 day credit'), ('60C', '60 day credit'), ('90C', '90 day credit')], max_length=3, null=True, verbose_name='Payment detail'),
        ),
        migrations.AlterField(
            model_name='salesorder',
            name='status_order',
            field=models.CharField(choices=[('PE', 'Pending'), ('PA', 'Payment accepted'), ('SE', 'Sent'), ('DE', 'Delivered')], default='PE', max_length=2, verbose_name='Status'),
        ),
        migrations.AlterField(
            model_name='stockmovement',
            name='status',
            field=models.CharField(choices=[('R', 'Requested'), ('S', 'Sent'), ('D', 'Delivered')], default='R', max_length=1, verbose_name='Status'),
        ),
    ]
