{% extends "delete_obj.html" %} {% block del_title %} Are you sure you want to delete part '{{ part.name }}'? {% endblock %} {% block del_body %} {% if part.used_in_count %}
This part is used in BOMs for {{ part.used_in_count }} other parts. If you delete this part, the BOMs for the following parts will be updated:
There are {{ part.locations.all|length }} stock entries defined for this part. If you delete this part, the following stock entries will also be deleted:
There are {{ part.supplier_parts.all|length }} suppliers defined for this part. If you delete this part, the following supplier parts will also be deleted.
There are {{ part.serials.all|length }} unique parts tracked for '{{ part.name }}'. Deleting this part will permanently remove this tracking information.
{% endif %} {% endblock %}