2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00

Merge pull request #1854 from SchrodingersGat/url-unit-test

Add unit test for validation of reverse url lookup
This commit is contained in:
Oliver
2021-07-21 11:09:10 +10:00
committed by GitHub
3 changed files with 145 additions and 3 deletions

View File

@ -272,7 +272,7 @@
<tr>
<td><span class='fas fa-user-tie'></span></td>
<td>{% trans "Customer" %}</td>
<td><a href="{% url 'company-detail-assigned-stock' item.customer.id %}">{{ item.customer.name }}</a></td>
<td><a href="{% url 'company-detail' item.customer.id %}?display=assigned-stock">{{ item.customer.name }}</a></td>
</tr>
{% endif %}
{% if item.belongs_to %}