mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 11:10:54 +00:00
Calculate 'fulfilled' quantity once a sales order is marked as shipped
- This allows us to delete the SalesOrderAllocation objects from the database
This commit is contained in:
@ -58,7 +58,8 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
|
||||
<a href="{% url 'build-detail' item.build_order.id %}">
|
||||
<div class='label label-large label-large-blue'>{% trans "Used in Build" %}</div>
|
||||
</a>
|
||||
{% elif item.status in StockStatus.UNAVAILABLE_CODES %}{% stock_status_label item.status large=True %}
|
||||
{% else %}
|
||||
{% stock_status_label item.status large=True %}
|
||||
{% endif %}
|
||||
</h3>
|
||||
<hr>
|
||||
|
@ -233,6 +233,7 @@
|
||||
{% endif %}
|
||||
part_detail: true,
|
||||
location_detail: true,
|
||||
in_stock: true,
|
||||
},
|
||||
url: "{% url 'api-stock-list' %}",
|
||||
});
|
||||
|
Reference in New Issue
Block a user