Skip to content
Success

Changes

Summary

  1. Rebuild global search for the new idempiere-elastic backend (details)
  2. SearchModal: invoice search link -> /sales|procurements/invoices/{id}/edit (details)
  3. SearchModal: tiled grid + master-detail related panel; modern restyle (details)
  4. SearchModal: color qty tags only when >0, grey 0 (details)
  5. change search modal (details)
  6. add date range for fulfilmment customer generation (details)
  7. add modal filtering on persmissions for roles (details)
Commit 561096353130db41c02e1b0eedc551d74997dfa5 by info
Rebuild global search for the new idempiere-elastic backend

- search/[query]: parallel multi-index (9 entities), no fragile agg, tenant/org scoping
- search/related/[entity]/[id]: new related-documents fan-out (both directions)
- materials/products/quantities: new live stock-qty endpoint (async enrichment)
- materials/products/filter-elastic: new one-doc-per-product index (nested price filter, batched live qty); keeps {records:[...]} so the 19 line pickers are unchanged
- SearchModal: 9 grouped result types, lazy related-docs, partner kind / shipment type tags, async product qty

Deploy only with/after the new ES is live (queries the new index shape).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The file was modifiedapp/components/SearchModal.vue (diff)
The file was modifiedserver/api/materials/products/filter-elastic.get.ts (diff)
The file was addedserver/api/materials/products/quantities.post.ts
The file was addedserver/api/search/related/[entity]/[id].get.ts
The file was modifiedserver/api/search/[query]/index.get.ts (diff)
Commit 126feaf1bb5d5fc4ef9064d46e8db1c95d524259 by info
SearchModal: invoice search link -> /sales|procurements/invoices/{id}/edit

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The file was modifiedapp/components/SearchModal.vue (diff)
Commit b25d972c58e9ed83dd4821e07b202b415bf68f55 by info
SearchModal: tiled grid + master-detail related panel; modern restyle

- one tile per document type (responsive grid), modern styling (glass header, color-mixed accents, hover lift)
- click a result -> right column shows its related docs grouped (max 10 each, newest first)
- per-result ↗ Open button opens the record in a new window (modal stays open)
- related API capped to 10 per group

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The file was modifiedserver/api/search/related/[entity]/[id].get.ts (diff)
The file was modifiedapp/components/SearchModal.vue (diff)
Commit 4a2e34a73d4d39348cb1aa1c342ab2579ffc1e1f by info
SearchModal: color qty tags only when >0, grey 0

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The file was modifiedapp/components/SearchModal.vue (diff)
Commit 5078356e72f496766c448c950e0002e7c1904819 by info
change search modal
The file was modifiedapp/components/SearchModal.vue (diff)
The file was modifiedapp/components/partners/PartnerForm.vue (diff)
Commit b333d78edba14982b5ee760372feab3824e8a805 by info
add date range for fulfilmment customer generation
The file was modifiedserver/api/fulfillment/generate-orders.post.ts (diff)
The file was modifiedapp/components/fulfillment/FulfillmentGenerateOrdersModal.vue (diff)
The file was modifiedapp/assets/langs/shared.js (diff)
Commit 6df6dc025f7d7f78a1252fd632ab2ee002743897 by info
add modal filtering on persmissions for roles
The file was modifiedapp/components/SearchModal.vue (diff)