mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-10 22:48:59 +00:00
[UI] Bug fix for duplicating purchase order line item (#12822)
This commit is contained in:
@@ -313,9 +313,9 @@ export function PurchaseOrderLineItemTable({
|
|||||||
title: t`Add Line Item`,
|
title: t`Add Line Item`,
|
||||||
fields: addPurchaseOrderFields,
|
fields: addPurchaseOrderFields,
|
||||||
initialData: {
|
initialData: {
|
||||||
...initialData,
|
|
||||||
purchase_price: null,
|
purchase_price: null,
|
||||||
purchase_price_currency: currency
|
purchase_price_currency: currency,
|
||||||
|
...initialData
|
||||||
},
|
},
|
||||||
onFormSuccess: orderDetailRefresh,
|
onFormSuccess: orderDetailRefresh,
|
||||||
table: table
|
table: table
|
||||||
|
|||||||
Reference in New Issue
Block a user