codex/fix: inconsistent stock options and availability

This commit is contained in:
Adnan Zahir
2026-04-04 09:53:10 +07:00
parent f302bcdb4b
commit c6d8533190
2 changed files with 89 additions and 26 deletions
@@ -160,8 +160,10 @@ const SalesOrderProductForm = ({
ProductWarehouseApi.basePath,
'id',
'product.name',
'',
'search',
{
limit: '100',
available_only: 'true',
warehouse_id: formik.values.warehouse_id?.toString() ?? '',
type: formik.values.marketing_type?.value.toLocaleUpperCase() ?? '',
}