mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-01 17:41:33 +00:00
PEP
This commit is contained in:
@@ -206,11 +206,13 @@ class Part(models.Model):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def full_name(self):
|
def full_name(self):
|
||||||
""" Format a 'full name' for this Part.
|
""" Format a 'full name' for this Part.
|
||||||
|
|
||||||
- IPN (if not null)
|
- IPN (if not null)
|
||||||
- Part name
|
- Part name
|
||||||
- Part variant (if not null)
|
- Part variant (if not null)
|
||||||
|
|
||||||
|
Elements are joined by the | character
|
||||||
"""
|
"""
|
||||||
|
|
||||||
elements = []
|
elements = []
|
||||||
|
Reference in New Issue
Block a user