2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 03:25:42 +00:00

Ok, that was a bad idea.

This commit is contained in:
Oliver
2021-06-21 11:30:20 +10:00
parent 908039e1db
commit 04b216253d
2 changed files with 2 additions and 2 deletions

View File

@ -380,7 +380,6 @@ class Part(MPTTModel):
previous.image.delete(save=False)
self.clean()
self.validate_unique()
super().save(*args, **kwargs)
@ -672,6 +671,8 @@ class Part(MPTTModel):
super().clean()
self.validate_unique()
if self.trackable:
for part in self.get_used_in().all():