forked from erp-dev/erp
feat: app verion && some field modify (printing & shipment)
This commit is contained in:
20
shipment/migrations/0026_shipment_customer_address.py
Normal file
20
shipment/migrations/0026_shipment_customer_address.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# Generated by Django 5.2.8 on 2026-07-08 05:38
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('basic_info', '0029_customeraddress_coordinates'),
|
||||
('shipment', '0025_alter_shipmentdelivery_options_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='shipment',
|
||||
name='customer_address',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='shipments', to='basic_info.customeraddress', verbose_name='客户地址'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,28 @@
|
||||
# Generated by Django 5.2.8 on 2026-07-08 05:50
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('shipment', '0026_shipment_customer_address'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='shipment',
|
||||
name='coordinates',
|
||||
field=models.CharField(blank=True, help_text='经纬度字符串,格式由调用方决定', max_length=100, null=True, verbose_name='经纬度'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='shipment',
|
||||
name='extra',
|
||||
field=models.JSONField(blank=True, null=True, verbose_name='扩展信息'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='shipment',
|
||||
name='area',
|
||||
field=models.CharField(blank=True, default='', help_text='出货地区(可空字符串)', max_length=100, verbose_name='地区'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user