Add 'recevied' field to SupplierOrderLineItem

This commit is contained in:
Oliver 2018-04-18 01:23:08 +10:00
parent 1400128f9f
commit f66a751608
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.12 on 2018-04-17 15:22
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('supplier', '0014_auto_20180417_1520'),
]
operations = [
migrations.AddField(
model_name='supplierorderlineitem',
name='received',
field=models.BooleanField(default=False),
),
]

View File

@ -175,3 +175,5 @@ class SupplierOrderLineItem(models.Model):
quantity = models.PositiveIntegerField(default=1) quantity = models.PositiveIntegerField(default=1)
notes = models.TextField(blank=True) notes = models.TextField(blank=True)
received = models.BooleanField(default=False)