[ui] fix line item pricing (#11091)

- Fix bug where line item pricing was retained across forms
This commit is contained in:
Oliver 2026-01-07 14:03:31 +11:00 committed by GitHub
parent b478254e98
commit 8eff5ff59a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -301,6 +301,7 @@ export function PurchaseOrderLineItemTable({
fields: addPurchaseOrderFields,
initialData: {
...initialData,
purchase_price: null,
purchase_price_currency: currency
},
onFormSuccess: orderDetailRefresh,