💡 ROOT CAUSE DISCOVERED: After deep research, the real issue was trying to trigger search from ListRenderer. The correct Odoo approach is: - ListRenderer is for DISPLAY only, not data updates - The proper way is trigger_up('reload') with domain parameter - This is exactly how Odoo's own search functionality works internally ✅ CORRECTED IMPLEMENTATION: - Changed from trigger_up('search') to trigger_up('reload') - Added proper domain parameter passing - Added keepSelection: false for proper filtering behavior - Maintained all other enhancements (count, Arabic support, etc.) 🎯 HOW IT WORKS (Standard Odoo Pattern): 1. ListRenderer triggers 'reload' event with new domain 2. Controller receives reload event and updates state.domain 3. Controller calls reload() which refetches data with new domain 4. View re-renders with filtered records 🚀 EXPECTED RESULT: - Search count continues to work (RPC call) - Records will now be properly filtered using Odoo's standard reload mechanism - Clear function restores all records using original domain - Perfect integration with Odoo's data loading system This follows the exact same pattern used by Odoo's native search and filter functionality. |
||
|---|---|---|
| .github/workflows | ||
| odex25_base | ||
| README.md | ||
README.md
odex25-standard-modules
This Repo contains general standard modules for all projects.