Skip to content

Commit ab5b60e

Browse files
author
John75SunCity
committed
refactor: Clean up whitespace in portal_barcode_management.js for better readability
1 parent 3531e9f commit ab5b60e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

records_management/static/src/js/portal/portal_barcode_management.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
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)

0 commit comments

Comments
 (0)