mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +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…
x
Reference in New Issue
Block a user