mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 10:21:18 +00:00
Fill out supplier_part details when receiving a line for a purchase order
This commit is contained in:
1 parent
9212d6047f
commit
fa8056f4b9
2 files changed
+2
-1
No files matched your search
@@ -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,
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user