mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 20:46:47 +00:00
Thanks, PEP
This commit is contained in:
parent
e5bb6284db
commit
41eb195940
@ -774,7 +774,7 @@ class Part(models.Model):
|
|||||||
@property
|
@property
|
||||||
def attachment_count(self):
|
def attachment_count(self):
|
||||||
""" Count the number of attachments for this part.
|
""" Count the number of attachments for this part.
|
||||||
If the part is a variant of a template part,
|
If the part is a variant of a template part,
|
||||||
include the number of attachments for the template part.
|
include the number of attachments for the template part.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user