mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-07 20:32:12 +00:00
Remove dead code
This commit is contained in:
@@ -583,13 +583,6 @@ class InvenTreeModel(PluginValidationMixin, models.Model):
|
|||||||
|
|
||||||
abstract = True
|
abstract = True
|
||||||
|
|
||||||
def save(self):
|
|
||||||
"""Custom save method for InvenTreeModel.
|
|
||||||
|
|
||||||
- Ensure custom status code values are correctly updated
|
|
||||||
"""
|
|
||||||
super().save()
|
|
||||||
|
|
||||||
|
|
||||||
class InvenTreeMetadataModel(MetadataMixin, InvenTreeModel):
|
class InvenTreeMetadataModel(MetadataMixin, InvenTreeModel):
|
||||||
"""Base class for an InvenTree model which includes a metadata field."""
|
"""Base class for an InvenTree model which includes a metadata field."""
|
||||||
|
Reference in New Issue
Block a user