replaced device type weight with device total weight #12286

This commit is contained in:
Abhimanyu Saharan 2023-05-08 20:41:17 +05:30
parent 259d0e96f2
commit 42b43e2e34

View File

@ -314,7 +314,7 @@
<th scope="row">Weight</th> <th scope="row">Weight</th>
<td> <td>
{% if object.device_type.weight %} {% if object.device_type.weight %}
{{ object.device_type.weight|floatformat }} {{ object.device_type.get_weight_unit_display }} {{ object.total_weight|floatformat }} {{ object.device_type.get_weight_unit_display }}
{% else %} {% else %}
{{ ''|placeholder }} {{ ''|placeholder }}
{% endif %} {% endif %}