Commit Graph

601 Commits

Author SHA1 Message Date
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
Mohamed Eltayar 81b739376e
Revert "🎯 Simplify Hijri Datepicker - Remove Custom Styling" 2025-08-29 01:57:56 +03:00
Mohamed Eltayar d8c89c8fc9
Merge pull request #4402 from expsa/revert-4393-eltayar
Revert "🔧 Add Minimal Placeholder Fix for Gregorian Date Field"
2025-08-29 01:57:37 +03:00
Mohamed Eltayar b5ac09afd5
Revert "🔧 Add Minimal Placeholder Fix for Gregorian Date Field" 2025-08-29 01:57:19 +03:00
Mohamed Eltayar ab36a0e789
Merge pull request #4401 from expsa/revert-4400-fix-hijri-from-dev
Revert "Fix: Hijri Datepicker Complete Solution"
2025-08-29 01:54:55 +03:00
Mohamed Eltayar 0b1dee0abd
Revert "Fix: Hijri Datepicker Complete Solution" 2025-08-29 01:54:36 +03:00
Mohamed Eltayar a6d12f7a93
Fix: Hijri Datepicker Complete Solution
Merge PR #4400: Fix Hijri Datepicker Complete Solution

- Fixed __libInput undefined error
- Fixed library paths (2.0.2 instead of 2.2.0)
- Fixed navigation buttons
- Added comprehensive error handling
2025-08-29 01:50:53 +03:00
Mohamed Eltayar 527b85e7f2 🔧 Fix: إصلاح مشاكل JavaScript في التقويم الهجري
- إصلاح خطأ __libInput undefined
- إضافة معالجة أخطاء شاملة
- إصلاح أزرار التنقل (السابق/التالي)
- تحسين التحقق من توفر المكتبات
- إضافة error handling في جميع الدوال الحرجة
2025-08-29 01:50:15 +03:00
Mohamed Eltayar 10cfe1b601 🔧 Fix: حل مشكلة مسارات المكتبات في __manifest__.py
- تصحيح مسار المكتبات من 2.2.0 إلى 2.0.2 (المجلد الموجود فعلياً)
- تحديث الإصدار إلى 2.2.1
- تحديث معلومات الشركة
2025-08-29 01:48:27 +03:00
Mohamed Eltayar 2dd1e31a45
Merge pull request #4397 from expsa/revert-4394-eltayar
Revert "🎨 Fix Hijri Calendar Styling Issues - إصلاح مشاكل تصميم التقويم الهجري"
2025-08-29 01:26:18 +03:00
Mohamed Eltayar ff44f7d312
Revert "🎨 Fix Hijri Calendar Styling Issues - إصلاح مشاكل تصميم التقويم الهجري" 2025-08-29 01:25:53 +03:00
Mohamed Eltayar 65d61bc45b
Merge pull request #4396 from expsa/revert-4395-eltayar
Revert "🔧 Fix jQuery Calendars Library Loading Error - إصلاح خطأ تحميل مكتبة التقويم"
2025-08-29 01:25:29 +03:00
Mohamed Eltayar 7a7fd30ef1
Revert "🔧 Fix jQuery Calendars Library Loading Error - إصلاح خطأ تحميل مكتبة …"
This reverts commit c4d0ad051f.
2025-08-29 01:25:08 +03:00
Mohamed Eltayar c4d0ad051f
🔧 Fix jQuery Calendars Library Loading Error - إصلاح خطأ تحميل مكتبة التقويم
🔧 Fix jQuery Calendars Library Loading Error

- Fix library loading order in manifest with proper prepend directives
- Add safety checks for $.calendars availability before usage
- Add try-catch blocks for error handling during initialization
- Separate Hijri calendar initialization into its own method
- Remove duplicate jquery.plugin.js file that was causing conflicts
- Add fallback behavior when library fails to load (hide Hijri field)
- Add console warnings for debugging library loading issues
- Ensure Gregorian datepicker works even if Hijri library fails
- Proper loading sequence: CSS → Libraries → Custom JS

 Complete fix for jQuery Calendars loading error
2025-08-29 01:17:56 +03:00
Mohamed Eltayar 18bf6b4d46
🎨 Fix Hijri Calendar Styling Issues - إصلاح مشاكل تصميم التقويم الهجري
🎨 Fix Hijri Calendar Styling Issues

- Fix navigation buttons to show proper arrow symbols (‹ ›) and make them clickable
- Fix week header background - now solid and clearly visible
- Fix month/year dropdown selectors with proper styling and focus states
- Add comprehensive CSS improvements for better calendar appearance
- Add proper hover effects, selection states, and responsive design
- Ensure full compatibility with Odoo UI while maintaining modern look
- Add Arabic tooltips and RTL support for better user experience

 Complete fix for all Hijri calendar styling issues
2025-08-29 01:09:23 +03:00
Mohamed Eltayar ca78074f03 Fix Hijri Calendar Navigation and Rendering Issues
- Fix navigation buttons in renderer to show proper arrow symbols (‹ ›)
- Add onShow callback to ensure buttons display correctly after calendar loads
- Add proper Arabic titles for navigation buttons
- Ensure navigation buttons are clickable and functional
- Keep minimal code changes focused only on navigation fixes
2025-08-29 01:08:43 +03:00
Mohamed Eltayar 2e0cb7bc14 Fix Hijri Calendar Styling Issues
- Fix navigation buttons (prev/next) - now show as proper arrows and clickable
- Fix week header background - solid background instead of transparent
- Fix month/year dropdown selectors with proper styling
- Add proper hover and focus states for all interactive elements
- Improve overall calendar appearance and usability
- Ensure proper integration with Odoo without affecting other components
- Add responsive design for mobile devices
2025-08-29 01:07:42 +03:00
Mohamed Eltayar 9b932f3e3c
Merge pull request #4393 from expsa/eltayar
🔧 Add Minimal Placeholder Fix for Gregorian Date Field
2025-08-29 01:00:36 +03:00
Mohamed Eltayar 8ccc175b24 Add minimal placeholder handling for Gregorian date field
- Add simple check and set placeholder for Gregorian input field
- Add setTimeout fallback to ensure placeholder after datetimepicker load
- Keep code minimal and focused only on placeholder functionality
- No complex DOM observers or event handlers
- Uses standard Odoo styling without modifications
2025-08-29 01:00:10 +03:00
Mohamed Eltayar 87beada147
Merge pull request #4392 from expsa/eltayar
🎯 Simplify Hijri Datepicker - Remove Custom Styling
2025-08-29 00:54:33 +03:00
Mohamed Eltayar 6d7b57b291 Simplify JavaScript - remove complex placeholder handling
- Remove _ensurePlaceholders() method and related complexity
- Remove DOM MutationObserver and event handlers
- Remove setTimeout and async handling
- Keep only the core functionality for date conversion
- Remove all custom placeholder manipulation code
- Use simple, standard Odoo approach for placeholders
- Focus on core Hijri calendar functionality only
2025-08-29 00:53:51 +03:00
Mohamed Eltayar 0634076837 Remove custom placeholder styling - keep only Odoo standard styles
- Remove all custom placeholder CSS modifications
- Remove custom input field styling 
- Remove custom colors, borders, and visual enhancements
- Keep only the original functionality-related CSS
- Use Odoo's default styling for all input fields
- Focus purely on placeholder functionality without visual changes
2025-08-29 00:52:55 +03:00
Mohamed Eltayar b2ffbf3557
🔧 Fix Hijri Datepicker Placeholder Display - إصلاح عرض placeholder في التاريخ الهجري
🔧 Fix Hijri Datepicker Placeholder Display

- Fix XML template placeholder attributes for proper QWeb rendering
- Add comprehensive JavaScript placeholder handling methods  
- Enhance CSS styling for better placeholder visibility
- Add DOM mutation observer for dynamic content
- Ensure placeholder works in all Odoo contexts (forms, lists, mobile)
- Add cross-browser compatibility for placeholder styling

 Both Gregorian and Hijri placeholders now display correctly
2025-08-29 00:40:37 +03:00
ahmed-nouri051 abca60aabb
Merge pull request #4388 from expsa/ahmed_odex25_base
fixing issue
2025-08-28 20:52:38 +02:00
ahmed-nouri051 8abdf9870a fixing issue 2025-08-28 20:43:14 +02:00
Mohamed Eltayar 918914d248
Merge pull request #4383 from expsa/revert-4380-eltayar
Revert "hijri_date_enhance"
2025-08-28 17:54:30 +03:00
Mohamed Eltayar 0d5b18e5ae
Revert "hijri_date_enhance" 2025-08-28 17:54:09 +03:00
Mohamed Eltayar 2899d07762
Merge pull request #4382 from expsa/revert-4381-eltayar
Revert "Fixed QWeb template inheritance error - removed non-existent template…"
2025-08-28 17:53:46 +03:00
Mohamed Eltayar 911777a403
Revert "Fixed QWeb template inheritance error - removed non-existent template…" 2025-08-28 17:53:25 +03:00
Mohamed Eltayar d698e09e8c
Merge pull request #4381 from expsa/eltayar
Fixed QWeb template inheritance error - removed non-existent template…
2025-08-28 17:49:16 +03:00
Mohamed Eltayar 477563b3eb Fixed QWeb template inheritance error - removed non-existent template references for Odoo 14 2025-08-28 17:45:59 +03:00
Mohamed Eltayar d7ec2cf848
Merge pull request #4380 from expsa/eltayar
hijri_date_enhance
2025-08-28 17:41:35 +03:00