forked from erp-dev/erp
25 lines
677 B
Python
25 lines
677 B
Python
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('printing', '0021_plateorder_print_count_printingorder_print_count'),
|
|
('business', '0016_payment_receipt_discount'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='salesorderitem',
|
|
name='printing_job',
|
|
field=models.ForeignKey(
|
|
blank=True,
|
|
null=True,
|
|
on_delete=models.PROTECT,
|
|
related_name='sales_order_items',
|
|
to='printing.printingjob',
|
|
verbose_name='关联印染任务',
|
|
),
|
|
),
|
|
]
|