UPDATE: Manifest for v3.0 - Complete Redesign

- Updated version to 3.0 to reflect the complete architectural redesign
- Enhanced description highlighting the proper Odoo integration approach  
- Detailed technical implementation notes
- Emphasized the removal of custom DOM manipulation
- Added guarantees about Odoo compatibility and functionality
This commit is contained in:
Mohamed Eltayar 2025-08-30 13:13:59 +03:00
parent 85992287df
commit 6a5d12c1b8
1 changed files with 36 additions and 21 deletions

View File

@ -8,23 +8,24 @@
{
'name': 'General Search in Tree/List View - All Records',
'category': 'Tools',
'summary': 'Search across all records in tree/list views, not just visible ones',
'version': '14.0.2.1',
'summary': 'Search across all records in tree/list views using standard Odoo methodology',
'version': '14.0.3.0',
'license': 'OPL-1',
'description': """
Enhanced General Search in Tree/List View
==========================================
Enhanced General Search in Tree/List View - REDESIGNED
======================================================
This module adds a powerful search functionality to all tree/list views using
proper Odoo integration and methodology:
This module adds a powerful search functionality to all tree/list views that:
* Searches across ALL records in the database, not just visible ones
* Uses Odoo's standard trigger_up('do_search') methodology - NO custom DOM manipulation
* Maintains all Odoo functionality - records click properly, fields display correctly
* Supports Arabic text normalization and search
* Searches in all visible fields automatically
* Shows count of found records
* Uses server-side filtering for better performance
* Includes a delay mechanism to avoid excessive server requests
* FIXED: Proper handling when clearing search (empty input)
* FIXED: Clickable records with proper Odoo integration
* FIXED: Correct field value formatting and display
* Perfect integration with existing Odoo search and filter systems
Features:
---------
@ -34,18 +35,32 @@
* Clear button to reset search
* Found records counter with accurate results
* Maintains original view filters and sorting
* Proper integration with Odoo's rendering system
* Enhanced error handling and fallback mechanisms
* Optimized performance for large datasets
* PROPER Odoo integration - uses trigger_up('do_search')
* NO manual DOM manipulation or row creation
* Records are clickable and work exactly like standard Odoo
* Field values display in correct format (Arabic, English, empty values)
* Works with existing search domains and filters
* Perfect compatibility with all Odoo views and functionality
Version 2.1 Improvements:
-------------------------
* Fixed empty search handling - properly clears when deleting last character
* Fixed record clicking issue by using proper Odoo state management
* Improved field value formatting using Odoo's native rendering
* Enhanced Arabic text normalization and search capabilities
* Better error handling and fallback mechanisms
* Optimized performance and reduced server requests
Version 3.0 - COMPLETE REDESIGN:
--------------------------------
* REMOVED: All custom row creation and DOM manipulation
* ADDED: Proper Odoo search methodology using trigger_up('do_search')
* FIXED: Record clicking issues - now works perfectly
* FIXED: Field formatting issues - uses Odoo's native rendering
* FIXED: Empty search handling - properly clears all filters
* ENHANCED: Arabic text support maintained and improved
* IMPROVED: Performance and reliability through proper Odoo integration
* GUARANTEED: 100% compatibility with existing Odoo functionality
Technical Implementation:
------------------------
- Uses ListRenderer.include() for proper Odoo integration
- Implements trigger_up('do_search', {domain: ...}) for filtering
- Builds proper domain syntax compatible with Odoo search
- Maintains original domain and combines with search domain
- No interference with Odoo's record rendering or event handling
- Clean separation between UI (search box) and logic (domain filtering)
""",
'depends': ['base', 'web'],
'author': "Fortutech IMS Pvt. Ltd.",