Fixes #2666: Uses correct function for displaying choices label
* Changes record.length_type to record.get_length_type_display
This commit is contained in:
@@ -179,7 +179,7 @@ CABLE_TERMINATION_PARENT = """
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
CABLE_LENGTH = """
|
CABLE_LENGTH = """
|
||||||
{% if record.length %}{{ record.length }}{{ record.length_unit }}{% else %}—{% endif %}
|
{% if record.length %}{{ record.length }}{{ record.get_length_unit_display }}{% else %}—{% endif %}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user