Fill out supplier_part details when receiving a line for a purchase order
This commit is contained in:
parent
9212d6047f
commit
fa8056f4b9
|
|
@ -247,6 +247,7 @@ class PurchaseOrder(Order):
|
|||
if line.part:
|
||||
stock = StockItem(
|
||||
part=line.part.part,
|
||||
supplier_part=line.part,
|
||||
location=location,
|
||||
quantity=quantity,
|
||||
purchase_order=self)
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ InvenTree | Purchase Orders
|
|||
$("#po-create").click(function() {
|
||||
launchModalForm("{% url 'purchase-order-create' %}",
|
||||
{
|
||||
reload: true,
|
||||
follow: true,
|
||||
}
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue