diff --git a/tailbone/forms/renderers/products.py b/tailbone/forms/renderers/products.py index c1b7ce35..eda3f240 100644 --- a/tailbone/forms/renderers/products.py +++ b/tailbone/forms/renderers/products.py @@ -79,7 +79,7 @@ class DepartmentFieldRenderer(TextFieldRenderer): def render_readonly(self, **kwargs): dept = self.raw_value if dept: - return "{0} {1}".format(dept.number, dept.name) + return "{0} - {1}".format(dept.number, dept.name) return "" @@ -90,7 +90,7 @@ class SubdepartmentFieldRenderer(TextFieldRenderer): def render_readonly(self, **kwargs): sub = self.raw_value if sub: - return "{0} {1}".format(sub.number, sub.name) + return "{0} - {1}".format(sub.number, sub.name) return "" @@ -101,7 +101,7 @@ class CategoryFieldRenderer(TextFieldRenderer): def render_readonly(self, **kwargs): cat = self.raw_value if cat: - return "{0} {1}".format(cat.number, cat.name) + return "{0} - {1}".format(cat.number, cat.name) return ""