Commit Graph

682 Commits

Author SHA1 Message Date
Mohamed Eltayar 7a906739e3 Final fix: Prevent full view reload - Update body content only to preserve search input 2025-08-29 18:44:44 +03:00
Mohamed Eltayar 7146c96da3
Merge PR #4421: Critical Fix for TypeError
Critical fix for TypeError in _renderBody function:
- Added proper checking for Promise vs non-Promise returns
- Fixed compatibility issues with Odoo 14 variations
- Maintains all previous functionality (search preservation, pagination, etc.)
- No more console errors when using the search module
2025-08-29 18:37:07 +03:00
Mohamed Eltayar 5c63fe567e Fix TypeError: Check if _renderBody returns promise before calling .then() 2025-08-29 18:35:14 +03:00
Mohamed Eltayar e0a033c6fb
Merge PR #4420: Fix Search Input Value Preservation
Fixed search input value preservation issue:
- Search value now stays visible in input field after results load
- Users can modify search by adding/removing characters
- Search automatically updates when text is modified
- Focus and cursor position are maintained
- All previous fixes included (2-char minimum, visible counter, proper pagination)
2025-08-29 18:28:47 +03:00
Mohamed Eltayar b21e7c8ceb Fix search input clearing issue - Force preserve search value after render 2025-08-29 18:26:09 +03:00
Mohamed Eltayar a2fdbb6d25
Merge PR #4419: Fix Search Module Issues - Pagination, Input Clearing, and Character Requirements
Successfully fixed all search module issues including:
- Minimum 2 characters requirement for search
- Preserved search input value
- Keep record count always visible
- Proper pagination support (80 records per page)
- Better state management with offset tracking
- Full Odoo 14 compatibility
2025-08-29 18:12:19 +03:00
Mohamed Eltayar 92862e682a Fix search issues: pagination, input clearing, and minimum character requirement 2025-08-29 18:09:34 +03:00
Mohamed Eltayar 0f23b29078
Merge pull request #4418 from expsa/eltayar
Fix: General Search Tree View - List Rendering After Search
2025-08-29 17:48:28 +03:00
Mohamed Eltayar efe18c310b Fix list rendering after search - Professional Odoo 14 compatible solution 2025-08-29 17:45:21 +03:00
Mohamed Eltayar 072783d40c
Merge pull request #4417 from expsa/eltayar
Eltayar
2025-08-29 17:32:42 +03:00
Mohamed Eltayar 661f3b448b Complete rewrite: clean, focused code with proper DOM handling and multiple ID detection methods 2025-08-29 17:25:41 +03:00
Mohamed Eltayar 96cf9a42ac Fix view update: proper render methods with multiple fallbacks, DOM filtering, and parent reload 2025-08-29 17:21:29 +03:00
Mohamed Eltayar 2bd0e2c9e2
Merge pull request #4416 from expsa/eltayar
🚀 [v3.0] إعادة كتابة كاملة - موديول البحث العام المحسّن
2025-08-29 17:05:57 +03:00
Mohamed Eltayar 4271c1c0e6 Complete rewrite with careful attention to every detail - proper module name, domain handling, state management 2025-08-29 17:02:47 +03:00
Mohamed Eltayar 3ab8990e62 Ultra-defensive code with complete error handling, fallbacks, and client-side search option 2025-08-29 16:55:43 +03:00
Mohamed Eltayar 14d5cdfcea Complete logic review and fixes: proper case handling, better record management, improved search logic 2025-08-29 16:47:00 +03:00
Mohamed Eltayar fa4e0e0090 Fix: Handle _renderBody not returning Promise and improve search logic 2025-08-29 16:43:27 +03:00
Mohamed Eltayar 8ade7ca729
Merge pull request #4415 from expsa/eltayar
🛠️ [HOTFIX] odex25_base - إصلاح خطأ JavaScript في موديول البحث v2.2
2025-08-29 16:38:48 +03:00
Mohamed Eltayar 01d5744ee4 Fix: Handle undefined orderedBy safely and add error handling for render operations 2025-08-29 16:32:00 +03:00
Mohamed Eltayar c20bda9d25
Merge pull request #4414 from expsa/eltayar
 [FINAL] odex25_base - موديول البحث العام المحسّن v2.1 - حل نهائي لجميع المشاكل
2025-08-29 16:28:41 +03:00
Mohamed Eltayar 7f40e29c73 Remove record limit - search all records without restrictions 2025-08-29 16:16:06 +03:00
Mohamed Eltayar 16615486f3 Professional fix: Only read stored fields to avoid singleton errors, skip computed non-stored fields 2025-08-29 16:05:21 +03:00
Mohamed Eltayar 0e562f6cbb
Merge pull request #4413 from expsa/eltayar
🔧 [FIX] odex25_base - إصلاح مشكلة البحث العام وحل مشكلة مسح الحقل
2025-08-29 15:51:15 +03:00
Mohamed Eltayar ab69c6eb62 Fix search logic - use RPC instead of trigger_up to prevent input clearing 2025-08-29 15:49:16 +03:00
Mohamed Eltayar 777d8e130e
Merge pull request #4412 from expsa/eltayar
🔍 [odex25_base] تحسين موديول البحث العام - البحث في جميع السجلات (Server-side)
2025-08-29 15:36:55 +03:00
Mohamed Eltayar dff44cd612 Update manifest: version 2.0 with enhanced server-side search capabilities 2025-08-29 15:34:37 +03:00
Mohamed Eltayar fd52b2db08 Update CSS to improve search interface styling 2025-08-29 15:34:11 +03:00
Mohamed Eltayar d9a8bbcdd2 Update list_search.js to search all records using server-side filtering 2025-08-29 15:33:45 +03:00
Mohamed Eltayar ab99a15852
Merge PR #4411: تحديث موديول Web Hijri Datepicker v2.0
دمج تحديث موديول Web Hijri Datepicker v2.0

التحديثات الرئيسية:
- جعل التاريخ الهجري اختياري بدلاً من تلقائي
- إضافة widgets مخصصة: hijri_date و hijri_datetime
- عدم التأثير على الحقول الموجودة
- توثيق كامل وأمثلة استخدام
2025-08-29 03:01:48 +03:00
Mohamed Eltayar 99e9e5db1f Add README.md documentation for the module 2025-08-29 02:58:46 +03:00
Mohamed Eltayar d4aa5714db Update manifest to version 2.0 with improved description and remove bootstrap flag 2025-08-29 02:58:10 +03:00
Mohamed Eltayar 3df203a602 Add list_renderer.js to assets to support hijri dates in list views 2025-08-29 02:57:53 +03:00
Mohamed Eltayar 37a44b67bd Update list_renderer.js to only show hijri dates for hijri_date and hijri_datetime widgets 2025-08-29 02:57:22 +03:00
Mohamed Eltayar 5cc072f2b8 Update web_hijri_date.xml to add new template for hijri widget 2025-08-29 02:56:15 +03:00
Mohamed Eltayar dfe293893c Update web_hijri_date.js to use custom widget instead of extending all date fields 2025-08-29 02:55:49 +03:00
Mohamed Eltayar 8c0d42777b
Merge PR #4410: إصلاح placeholder التاريخ الميلادي
إصلاح placeholder التاريخ الميلادي - تطبيقه بعد تهيئة datetimepicker widget
2025-08-29 02:25:25 +03:00
Mohamed Eltayar 21434cbaeb إصلاح مشكلة عدم ظهور placeholder للتاريخ الميلادي - تطبيق placeholder بعد تهيئة datetimepicker 2025-08-29 02:24:53 +03:00
Mohamed Eltayar 305f7385c4
Merge PR #4409: إضافة placeholders للتاريخ الميلادي والهجري
دمج تحسينات موديول web_hijri_datepicker - إضافة placeholders للتواريخ
2025-08-29 02:19:59 +03:00
Mohamed Eltayar b3b542a290 إضافة placeholders ديناميكية للتاريخ الميلادي والهجري مع دعم اللغتين العربية والإنجليزية 2025-08-29 02:18:28 +03:00
Mohamed Eltayar 7322ff3450
Merge pull request #4408 from expsa/revert-4368-eltayar
Revert "enhance_hijri_date1"
2025-08-29 02:05:19 +03:00
Mohamed Eltayar a13cabfe27
Revert "enhance_hijri_date1" 2025-08-29 02:04:54 +03:00
Mohamed Eltayar 4f531df431
Merge pull request #4407 from expsa/revert-4369-eltayar
Revert "enhance_hijri_date2"
2025-08-29 02:04:25 +03:00
Mohamed Eltayar 322be00a41
Revert "enhance_hijri_date2" 2025-08-29 02:04:06 +03:00
Mohamed Eltayar 9cd4e64fd9
Merge pull request #4406 from expsa/revert-4375-eltayar
Revert "enhance_hijri_date3"
2025-08-29 02:03:09 +03:00
Mohamed Eltayar 43c78330d4
Revert "enhance_hijri_date3" 2025-08-29 02:02:51 +03:00
Mohamed Eltayar 00f4eb69ca
Merge pull request #4405 from expsa/revert-4376-eltayar
Revert "enhance_hijri_datepicker"
2025-08-29 02:02:03 +03:00
Mohamed Eltayar c32adf39ba
Revert "enhance_hijri_datepicker" 2025-08-29 02:01:44 +03:00
Mohamed Eltayar 7e83267a81
Merge pull request #4404 from expsa/revert-4391-eltayar
Revert "🔧 Fix Hijri Datepicker Placeholder Display - إصلاح عرض placeholder في التاريخ الهجري"
2025-08-29 01:59:01 +03:00
Mohamed Eltayar 04fda99931
Revert "🔧 Fix Hijri Datepicker Placeholder Display - إصلاح عرض placeholder في…"
This reverts commit b2ffbf3557.
2025-08-29 01:58:43 +03:00
Mohamed Eltayar 294ddb0dde
Merge pull request #4403 from expsa/revert-4392-eltayar
Revert "🎯 Simplify Hijri Datepicker - Remove Custom Styling"
2025-08-29 01:58:15 +03:00