forked from erp-dev/erp
feat: big
This commit is contained in:
33
cost/migrations/0002_costentry_amount_formula_fields.py
Normal file
33
cost/migrations/0002_costentry_amount_formula_fields.py
Normal file
@@ -0,0 +1,33 @@
|
||||
# Generated by Codex on 2026-06-30
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('cost', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='costentry',
|
||||
name='amount',
|
||||
field=models.DecimalField(blank=True, decimal_places=2, max_digits=15, verbose_name='金额'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='costentry',
|
||||
name='unit_amount',
|
||||
field=models.DecimalField(blank=True, decimal_places=4, max_digits=15, null=True, verbose_name='单价/基数金额'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='costentry',
|
||||
name='quantity',
|
||||
field=models.DecimalField(blank=True, decimal_places=4, max_digits=12, null=True, verbose_name='数量/倍数'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='costentry',
|
||||
name='unit_name',
|
||||
field=models.CharField(blank=True, max_length=20, null=True, verbose_name='单位名称'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user