mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP
This commit is contained in:
parent
d5dbc1b072
commit
82fb43e1e3
@ -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 = []
|
||||||
|
Loading…
Reference in New Issue
Block a user