2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 23:51:08 +00:00

Expand possibilities for variant conversion

- Ref get_conversion_options
This commit is contained in:
Oliver Walters
2021-05-27 12:35:55 +10:00
parent 3a36e800c0
commit c2fe5e08b4
4 changed files with 60 additions and 2 deletions

View File

@@ -102,6 +102,11 @@
</div>
<div class='info-messages'>
{% if part.virtual %}
<div class='alert alert-warning alert-block'>
{% trans "This is a virtual part" %}
</div>
{% endif %}
{% if part.variant_of %}
<div class='alert alert-info alert-block'>
{% object_link 'part-variants' part.variant_of.id part.variant_of.full_name as link %}