2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

Renamed 'customer-order' app to 'customer'

- This app should manage more than just orders
- Moved the 'Customer' model into this app
This commit is contained in:
Oliver
2018-04-17 23:39:53 +10:00
parent 53d7fd2c46
commit 8856d7f793
24 changed files with 145 additions and 188 deletions

View File

@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.12 on 2018-04-17 13:37
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('stock', '0012_auto_20180417_1316'),
]
operations = [
migrations.AlterField(
model_name='stockitem',
name='customer',
field=models.ForeignKey(blank=True, help_text='Item assigned to customer?', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='stockitems', to='customer.Customer'),
),
]

View File

@ -12,7 +12,7 @@ from django.dispatch import receiver
from datetime import datetime
from supplier.models import SupplierPart
from supplier.models import Customer
from customer.models import Customer
from part.models import Part
from InvenTree.models import InvenTreeTree
from build.models import Build