mirror of
https://github.com/inventree/InvenTree.git
synced 2026-01-08 12:17:57 +00:00
[ui] fix line item pricing (#11091)
- Fix bug where line item pricing was retained across forms
This commit is contained in:
@@ -301,6 +301,7 @@ export function PurchaseOrderLineItemTable({
|
||||
fields: addPurchaseOrderFields,
|
||||
initialData: {
|
||||
...initialData,
|
||||
purchase_price: null,
|
||||
purchase_price_currency: currency
|
||||
},
|
||||
onFormSuccess: orderDetailRefresh,
|
||||
|
||||
Reference in New Issue
Block a user