PurchaseOrder table improvements (#10098)

Clear table after receiving items
This commit is contained in:
Oliver 2025-07-29 14:38:01 +10:00 committed by GitHub
parent 0ef5b12747
commit d33f07a3fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ export function PurchaseOrderLineItemTable({
formProps: {
// Timeout is a small hack to prevent function being called before re-render
onClose: () => {
table.clearSelectedRecords();
table.refreshTable();
setTimeout(() => setSingleRecord(null), 500);
}