replaced device type weight with device total weight #12286

This commit is contained in:
Abhimanyu Saharan 2023-05-08 20:43:50 +05:30
parent 42b43e2e34
commit aa13f45b78

View File

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