mirror of
https://github.com/inventree/InvenTree.git
synced 2026-06-12 11:38:47 +00:00
Remove "review_needed" field (#12071)
* Remove "review_needed" field * Update CHANGELOG
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# Generated by Django 5.2.14 on 2026-06-02 06:22
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("stock", "0122_alter_stockitem_creation_date"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name="stockitem",
|
||||
name="review_needed",
|
||||
),
|
||||
]
|
||||
@@ -448,7 +448,6 @@ class StockItem(
|
||||
expiry_date: Expiry date of the StockItem (optional)
|
||||
stocktake_date: Date of last stocktake for this item
|
||||
stocktake_user: User that performed the most recent stocktake
|
||||
review_needed: Flag if StockItem needs review
|
||||
delete_on_deplete: If True, StockItem will be deleted when the stock level gets to zero
|
||||
status: Status of this StockItem (ref: stock.status_codes.StockStatus)
|
||||
notes: Extra notes field
|
||||
@@ -1238,8 +1237,6 @@ class StockItem(
|
||||
help_text=_('Date that this stock item was created'),
|
||||
)
|
||||
|
||||
review_needed = models.BooleanField(default=False)
|
||||
|
||||
delete_on_deplete = models.BooleanField(
|
||||
default=default_delete_on_deplete,
|
||||
verbose_name=_('Delete on deplete'),
|
||||
|
||||
Reference in New Issue
Block a user