forked from erp-dev/erp
feat: stock module
This commit is contained in:
18
basic_info/migrations/0016_product_unit.py
Normal file
18
basic_info/migrations/0016_product_unit.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.2.7 on 2025-11-04 02:12
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('basic_info', '0015_remove_product_single_price_product_single_price_in_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='product',
|
||||
name='unit',
|
||||
field=models.IntegerField(choices=[(1, '米'), (2, '码'), (3, '公斤')], default=1, verbose_name='单位'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user