1
0
forked from erp-dev/erp

feat: red flush and cost

This commit is contained in:
2026-06-22 22:27:28 +08:00
parent 9a1c92febf
commit 70b3a0d246
25 changed files with 1375 additions and 20 deletions

View File

@@ -0,0 +1,31 @@
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('business', '0031_red_flush_fields'),
]
operations = [
migrations.AddField(
model_name='purchaseorder',
name='balance_before_snapshot',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=15, null=True, verbose_name='创建前供应商余额快照'),
),
migrations.AddField(
model_name='salesorder',
name='balance_before_snapshot',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=15, null=True, verbose_name='创建前客户余额快照'),
),
migrations.AddField(
model_name='purchasereturnorder',
name='balance_before_snapshot',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=15, null=True, verbose_name='创建前供应商余额快照'),
),
migrations.AddField(
model_name='salesreturnorder',
name='balance_before_snapshot',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=15, null=True, verbose_name='创建前客户余额快照'),
),
]