Commit Graph

768 Commits

Author SHA1 Message Date
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
Mohamed Eltayar 69e7db306b
hijri_date_enhance 2025-08-28 17:40:07 +03:00
ahmed-nouri051 dd2e53c2f7
Merge pull request #4377 from expsa/ahmed_odex25_base
fixing calling function
2025-08-28 16:12:13 +02:00
ahmed-nouri051 ec5f8bd5eb fixing calling function 2025-08-28 16:06:47 +02:00
Mohamed Eltayar 87c9948d18 Enhanced SCSS with comprehensive placeholder styling and visual improvements 2025-08-28 16:54:51 +03:00
Mohamed Eltayar 966609559c Enhanced JavaScript with proper placeholder handling for both Gregorian and Hijri fields 2025-08-28 16:53:46 +03:00
Mohamed Eltayar 2812cde5cc Fixed placeholder display for Gregorian date field and improved Arabic labels 2025-08-28 16:51:48 +03:00
Mohamed Eltayar edc56219d3 Comprehensive README with all enhancement details and Odoo 14 integration info 2025-08-28 16:49:47 +03:00
Mohamed Eltayar cb2c09e437 Enhanced manifest with comprehensive Odoo 14 integration details 2025-08-28 16:48:54 +03:00
Mohamed Eltayar fce5d88e2a Enhanced assets template with optimized loading and QWeb templates 2025-08-28 16:48:14 +03:00
Mohamed Eltayar bf1776e219 Enhanced XML templates with better Odoo 14 integration and accessibility 2025-08-28 16:46:36 +03:00
Mohamed Eltayar aaa8c7da30 Enhanced JavaScript integration with Odoo 14 datepicker patterns 2025-08-28 16:46:07 +03:00
Mohamed Eltayar 1f759b0aa0 Enhanced SCSS integration with Odoo 14 variables and components 2025-08-28 16:44:44 +03:00
Mohamed Eltayar 9661e5caa8 Update Hijri datepicker CSS to match Odoo 14 standard datepicker styling 2025-08-28 16:43:50 +03:00
Mohamed Eltayar 36adb21b0e
Merge pull request #4376 from expsa/eltayar
enhance_hijri_datepicker
2025-08-28 16:09:09 +03:00
Mohamed Eltayar 45dde91bac Update manifest with enhanced v2.2.0 features, modern assets structure and comprehensive description 2025-08-28 16:06:02 +03:00
Mohamed Eltayar db7e820da7 Add comprehensive README documenting all improvements and new features 2025-08-28 16:05:38 +03:00
Mohamed Eltayar c3bf990c8a Enhanced JavaScript with modern features, better UX, error handling and performance improvements 2025-08-28 16:04:58 +03:00
Mohamed Eltayar 291549ab11 Create modern CSS for Hijri datepicker with Odoo-compatible styling 2025-08-28 16:03:52 +03:00
Mohamed Eltayar 549eb24765 Update template to use modern library versions and better CSS organization 2025-08-28 16:03:11 +03:00
Mohamed Eltayar dd719bbd83
Merge pull request #4375 from expsa/eltayar
enhance_hijri_date3
2025-08-28 16:01:11 +03:00
ahmed-nouri051 a07a025929
Merge pull request #4372 from expsa/ahmed_odex25_base
fixing issue
2025-08-28 14:56:00 +02:00
Mohamed Eltayar a7887fbddc Simplify JavaScript to remove complex label logic and use simple display for readonly mode 2025-08-28 15:54:22 +03:00
Mohamed Eltayar c92a8875b8 Simplify CSS by removing complex label styles, keep basic layout only 2025-08-28 15:53:38 +03:00
Mohamed Eltayar 371eaada97 Simplify layout by using clear placeholders instead of complex labels 2025-08-28 15:53:18 +03:00
ahmed-nouri051 1d0fdb9129 fixing issue 2025-08-28 14:50:12 +02:00
Mohamed Eltayar a0b674c15a
Merge pull request #4369 from expsa/eltayar
enhance_hijri_date2
2025-08-28 15:45:20 +03:00
Mohamed Eltayar da680a6d54 Add CSS styles for readonly mode hijri field display 2025-08-28 15:42:54 +03:00
Mohamed Eltayar 1375ec9270 Update JavaScript to support label layout in readonly mode matching the new structure 2025-08-28 15:42:25 +03:00
Mohamed Eltayar b24a733f24 Update CSS to properly style Hijri field with label layout matching Odoo standards 2025-08-28 15:41:41 +03:00
Mohamed Eltayar d56250eca8 Update XML to display Hijri field with proper label layout like standard Odoo fields 2025-08-28 15:41:11 +03:00
Mohamed Eltayar e0bf079f98
Merge pull request #4368 from expsa/eltayar
enhance_hijri_date1
2025-08-28 15:16:37 +03:00
Mohamed Eltayar 885edd2d31 Update JavaScript to support labels in readonly mode for both Gregorian and Hijri dates 2025-08-28 15:14:27 +03:00
Mohamed Eltayar ffe2251802 Update CSS styles to support new date labels layout 2025-08-28 15:13:40 +03:00