Commit graph

40 commits

Author SHA1 Message Date
30051938d5 feat: add dynamic active tab management and URL query param support for warehouse index view 2026-10-12 13:42:21 +02:00
20669d545b fix(stock): permettre la modification et l'affichage des numéros de série d'un article
- Ajout de la vue et de la route `serialized_item_edit` avec régénération QR code et journalisation d'audit
- Affichage de la liste des exemplaires tracés avec modale de modification directe dans le formulaire produit (`product_form.html`)
- Ajout de boutons de modification sur les fiches détail bureau, mobile et dans les tableaux d'articles tracés
- Validation empêchant de décocher la traçabilité si des exemplaires existent
- Mise à jour des traductions (FR, EN, NL) et ajout des tests unitaires
2026-10-12 13:18:07 +02:00
ea02b12ea5 feat(stock): add product search by code and label in purchase order PDF import 2026-10-07 11:58:17 +02:00
9a85696d90 fix(stock): escapejs translated option text in batch location selects 2026-10-07 11:40:57 +02:00
Karl Determe
e27a979a53 feat: add views for stock management and observations applications 2026-10-06 15:56:21 +02:00
03fa3adaf6 feat: suggest product default locations when parsing purchase orders from PDF 2026-10-05 09:24:22 +02:00
1d212194ad feat: add external destination badges and indigo styling to stock and production order templates 2026-10-05 09:09:43 +02:00
9764b525bb refactor: remove local OCR references and escape translated messages in purchase order scripts 2026-10-01 16:07:32 +02:00
4bb53fb71c feat(mobile): add quote photo/pdf OCR import interface in mobile stock
- Add mobile-optimized purchase order from quote view and template
- Support taking multiple page photos directly from smartphone camera
- Display responsive article cards with catalog product matching
- Provide sticky summary with live totals and confirmation CTA
- Link from mobile purchases list and add unit tests
2026-10-01 15:43:52 +02:00
53d579009a feat(stock): support multi-page photo uploads for quote OCR processing
- Allow uploading multiple quote photos at once via multi-file input
- Process photos sequentially with deskewing and OCR line clustering
- Aggregate articles and metadata across all pages seamlessly
- Attach all uploaded photos to the generated purchase order
- Add unit tests for multi-image quotes and multiple document attachments
2026-10-01 15:28:08 +02:00
4010dfb138 fix(stock): prevent merged quote items via auto-deskew, fixed baseline clustering and item splitting
- Add auto-deskewing for tilted smartphone photos and document scans
- Anchor line clustering to initial baseline to avoid vertical centroid drift
- Normalize OCR numerical artifacts (semicolon decimals, glued VAT percentages)
- Purge catalog URLs from product names to improve catalog matching
- Implement fused item splitter to rescue embedded articles from descriptions
- Add regression tests for item splitting and OCR normalization
2026-10-01 15:12:56 +02:00
32cb154815 feat(stock): support photo/scan quotes via local OCR and propose supplier creation
- Enable image uploads (.png, .jpg, .jpeg, .webp, .tiff) alongside PDFs
- Process photos and scans with local RapidOCR and adaptive bounding box clustering
- Propose new supplier creation with pre-filled fields when quote supplier is not found
- Retain manual catalog product association safeguard
- Add automated unit and integration tests
2026-10-01 14:46:09 +02:00
358fb23d7e refactor(stock): restrict PDF purchase order to existing products and loosen matching similarity
- Replace auto-creation of new products with strict association to existing stock items
- Add dimension normalization and token-based similarity matching (rapidfuzz/difflib)
- Provide ranked candidate suggestions in product dropdown during quote review
- Enforce validation preventing purchase order creation with unassociated products
2026-10-01 14:23:01 +02:00
391966da07 refactor: make PDF parser dependencies optional and lazy-load parser 2026-10-01 13:57:12 +02:00
de6828221b feat: add product validation workflow, supervisor notifications, and PDF purchase order parser 2026-10-01 13:51:27 +02:00
71154a0fb4 feat: standardize preparation order numbering format and add recodification command 2026-09-30 11:07:10 +02:00
a08ef0f035 feat: add order filtering and default descending sort for preparation and production orders 2026-09-30 08:46:06 +02:00
63a9a080de feat(stock): tri chronologique des bons et réouverture/historique des bons de confection
- Trie les bons de préparation (date) et de confection (created_at) par ordre chronologique FIFO
- Ajoute la réouverture a posteriori des bons de confection terminés avec régularisation automatique des stocks
- Ajoute le modèle ProductionOrderHistory et trace l'historique complet des modifications (statuts, composants, documents)
- Intègre le bouton de réouverture et la section d'historique dans les vues desktop et mobile
2026-09-29 22:38:34 +02:00
b78c9da50e feat(stock): inclure les statuts 'à traiter' et 'en cours' dans le widget de raccourcis 2026-09-29 22:17:06 +02:00
Karl Determe
e00f9cf784 feat: add stock management module including views, models, templates, and tests 2026-09-29 17:07:29 +02:00
Karl Determe
001bee8ca9 feat: add stock batch views, templates, and comprehensive test suite 2026-09-29 15:20:03 +02:00
Karl Determe
25a64b824a feat: add mobile views, stock management views, and preparation order templates 2026-09-29 13:55:26 +02:00
Karl Determe
f429838a39 feat: add stock management module, common models, and mobile views 2026-09-29 13:30:42 +02:00
Karl Determe
ca4d1b3c1b feat: add views and templates for stock batch creation on desktop and mobile 2026-09-29 12:42:27 +02:00
de73de7328 feat(interventions,stock): sync preparation orders and material status on intervention cancellation
- Fix preparation status calculation by ignoring cancelled orders, preventing false green 'stock ready' icon
- Update item prepared state when preparation order is marked as processed
- Automatically cancel unprepared preparation orders when intervention is canceled
- Send alert notification to stock managers when canceled intervention has already prepared orders
- Add alert banner with direct restock/cancellation action on preparation order detail views
- Prevent editing material switches or creating orders for canceled interventions
- Add and compile translations for FR, EN and NL
- Add comprehensive automated unit tests
2026-09-28 20:01:39 +02:00
dcf5477199 feat: add inventory validation notifications with single-claim auto-archiving 2026-09-14 15:54:29 +02:00
6d2de3a7c8 feat: add mobile asset views and templates with localization updates 2026-09-13 09:24:55 +02:00
261ce2dd14 chore: update localization files and templates for stock and intervention modules 2026-09-11 11:37:51 +02:00
26c07a769f feat: add usage tracking for material items in preparation orders and include status in reporting 2026-09-11 10:48:36 +02:00
ae540acacc refactor: replace emoji status flags with Bootstrap icons and enable HTML rendering for system messages in discussions. 2026-09-09 17:30:32 +02:00
9657111a1c feat: implement discussion flagging system with status filtering and UI updates 2026-09-09 17:09:49 +02:00
Karl Determe
fecd7430ad feat: add preparation order management features and mobile intervention detail view 2026-09-01 14:43:52 +02:00
Karl Determe
913c00e34b feat: add English, French, and Dutch localization files for stock module 2026-09-01 11:53:11 +02:00
7e80c5b055 fix: delete inactive stock alerts to prevent uniqueness constraint violations during updates 2026-08-31 16:29:10 +02:00
4599537be3 fix: update template string quoting and regenerate translation files 2026-08-21 12:09:09 +02:00
f810041e98 feat: add external interventions widget to home dashboard and update localization file references 2026-08-19 09:51:46 +02:00
4024dad7bc chore: update and prune translation files across multiple locales 2026-08-17 12:27:28 +02:00
5878bff447 chore: update and compile application translations 2026-08-17 12:15:13 +02:00
f1f8897ad3 feat: implement mobile controls UI and synchronize application translations 2026-08-17 12:08:52 +02:00
6de48bee77 refactor: rename to loko; implement base template and add static assets for Loko branding 2026-08-16 15:09:01 +02:00