2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 20:15:44 +00:00

API endpoint for serializing SalesOrder objects

This commit is contained in:
Oliver Walters
2020-04-20 20:11:21 +10:00
parent 5901b21e78
commit 9f97d81e83
6 changed files with 206 additions and 12 deletions

View File

@ -0,0 +1,20 @@
# Generated by Django 3.0.5 on 2020-04-20 10:10
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('company', '0021_remove_supplierpart_manufacturer_name'),
('order', '0020_auto_20200420_0940'),
]
operations = [
migrations.AlterField(
model_name='salesorder',
name='customer',
field=models.ForeignKey(help_text='Customer', limit_choices_to={'is_customer': True}, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='sales_orders', to='company.Company'),
),
]