mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-16 07:01:01 +00:00
[ui] fix line item pricing (#11091)
- Fix bug where line item pricing was retained across forms
This commit is contained in:
1 parent
b478254e98
commit
8eff5ff59a
1 file changed
+1
@@ -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