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

Simplify URLs for purchase orders

This commit is contained in:
Oliver Walters
2020-03-22 19:47:08 +11:00
parent 834f80698b
commit 5af2fae120
12 changed files with 32 additions and 31 deletions

View File

@ -117,7 +117,7 @@
{% if item.purchase_order %}
<tr>
<td>{% trans "Purchase Order" %}</td>
<td><a href="{% url 'purchase-order-detail' item.purchase_order.id %}">{{ item.purchase_order }}</a></td>
<td><a href="{% url 'po-detail' item.purchase_order.id %}">{{ item.purchase_order }}</a></td>
</tr>
{% endif %}
{% if item.customer %}