mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-08 03:11:22 +00:00
Remove dead code
This commit is contained in:
1 parent
08a15719a3
commit
2ce17f6d44
1 file changed
-7
@@ -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