From 82fb43e1e3b79881a7cb04cd09997d36f6f362ea Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 12 May 2019 12:29:16 +1000 Subject: [PATCH] PEP --- InvenTree/part/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/InvenTree/part/models.py b/InvenTree/part/models.py index ac322887e2..06ec2f1955 100644 --- a/InvenTree/part/models.py +++ b/InvenTree/part/models.py @@ -206,11 +206,13 @@ class Part(models.Model): @property def full_name(self): - """ Format a 'full name' for this Part. + """ Format a 'full name' for this Part. - IPN (if not null) - Part name - Part variant (if not null) + + Elements are joined by the | character """ elements = []