File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
records_management/static/src/js/portal Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11/**
22 * Records Management Portal - Barcode Management Logic
3- *
3+ *
44 * PURPOSE: Customer-facing barcode generation and management widget
55 * USE CASE: /my/barcodes route - portal users generate/view barcodes
6- *
6+ *
77 * FEATURES:
88 * ✓ Multi-type barcode generation (container/file/temp)
99 * ✓ Real-time filtering with debounced search (300ms)
1010 * ✓ Print/download barcode images
1111 * ✓ Bootstrap 5 notifications with auto-dismiss
1212 * ✓ Integration with ir.sequence for proper barcode format
13- *
13+ *
1414 * PERFORMANCE OPTIMIZATIONS (Grok 2025):
1515 * - Debounced filter updates (300ms) prevents excessive DOM queries
1616 * - Full row text search (faster than multiple selectors)
1717 * - Cleaner promise chains with throw/catch
1818 * - Batch DOM operations where possible
19- *
19+ *
2020 * BARCODE MODELS:
2121 * - portal.barcode.container (sequence: records.barcode.container)
22- * - portal.barcode.file (sequence: records.barcode.file)
22+ * - portal.barcode.file (sequence: records.barcode.file)
2323 * - portal.barcode.temp (sequence: records.barcode.temp)
24- *
24+ *
2525 * DEPENDENCIES:
2626 * - jQuery (Odoo frontend)
2727 * - Bootstrap 5 (alerts, modals)
You can’t perform that action at this time.
0 commit comments