1
0
forked from erp-dev/erp

feat: running on docker fully, and added rabbitmq/worker container

This commit is contained in:
2025-11-25 15:56:13 +08:00
parent cd6a2370fc
commit d90917e764
34 changed files with 2474 additions and 74 deletions

View File

@@ -0,0 +1,22 @@
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stock', '0004_alter_stockchangerecord_source_type'),
]
operations = [
migrations.AddField(
model_name='stockchangedetail',
name='is_consumed',
field=models.BooleanField(default=False, verbose_name='是否已消耗'),
),
migrations.AddField(
model_name='stockchangedetail',
name='consume_with',
field=models.OneToOneField(blank=True, null=True, on_delete=models.PROTECT, related_name='consumed_by_detail', to='stock.stockchangedetail', verbose_name='所消耗的入库明细'),
),
]