mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-30 03:24:38 +00:00
API endpoint for serializing SalesOrder objects
This commit is contained in:
1 parent
5901b21e78
commit
9f97d81e83
6 files changed
+206
-12
No files matched your search
@@ -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'),
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user