2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00

Auto delete stock items when they are depleted

This commit is contained in:
Oliver Walters
2019-05-09 23:01:32 +10:00
parent 61351a8f8d
commit ac326c135f
2 changed files with 60 additions and 25 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 2.2 on 2019-05-09 12:59
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stock', '0014_auto_20190508_2332'),
]
operations = [
migrations.AddField(
model_name='stockitem',
name='delete_on_deplete',
field=models.BooleanField(default=True, help_text='Delete this Stock Item when stock is depleted'),
),
]