diff --git a/InvenTree/part/models.py b/InvenTree/part/models.py index c057c7930e..da989c525a 100644 --- a/InvenTree/part/models.py +++ b/InvenTree/part/models.py @@ -534,7 +534,7 @@ class Part(models.Model): return self.supplier_parts.count() def copyBomFrom(self, other): - """ Duplicates the BOM from another part. + """ Duplicates the BOM from another part. This should only be called during part creation, and it does not delete any existing BOM items for *this* part. diff --git a/InvenTree/part/views.py b/InvenTree/part/views.py index 3f5a16ef39..b78fcf7239 100644 --- a/InvenTree/part/views.py +++ b/InvenTree/part/views.py @@ -235,7 +235,6 @@ class PartDuplicate(AjaxCreateView): return initials - class PartCreate(AjaxCreateView): """ View for creating a new Part object.