mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fixes
This commit is contained in:
parent
2408318eae
commit
00f7ece6b4
@ -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.
|
||||
|
@ -235,7 +235,6 @@ class PartDuplicate(AjaxCreateView):
|
||||
return initials
|
||||
|
||||
|
||||
|
||||
class PartCreate(AjaxCreateView):
|
||||
""" View for creating a new Part object.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user