Mirrored from GitHub via DevOps Hub
Go to file
Mohamed Eltayar 4db8d61b74 🔧 MAJOR FIX: Proper field formatting, single character search, and row click handlers
CRITICAL FIXES FOR THREE ISSUES:

1. FIXED COLUMN VALUES ISSUE:
- Replaced manual cell creation with proper Odoo field formatting
- Added _formatFieldValue() method that handles all field types correctly (boolean, many2one, date, float, etc.)
- Created _createProperFieldCell() that formats fields exactly like standard Odoo
- Ensures Arabic/English text display matches original list view formatting

2. FIXED SINGLE CHARACTER SEARCH:
- Removed the restriction that prevented searches with only 1 character
- Now allows search for any length including single characters and empty values
- Proper debouncing still maintained for performance

3. FIXED ROW CLICK ERROR (res_id null):
- Enhanced _createProperOdooRow() to include all required record data structure
- Added proper recordData object with id, res_id, data, and record properties
- Ensured rows have correct Odoo-compatible event handler data
- This resolves "Cannot read properties of null (reading 'res_id')" error

TECHNICAL IMPROVEMENTS:
- Added _renderRecordsUsingOdooMethods() to use native Odoo rendering when possible
- Enhanced field type detection and formatting for all standard Odoo field types
- Proper boolean field rendering with checkboxes instead of "false" text
- Correct date/datetime formatting using moment.js
- Proper many2one field display with relationship names
- Enhanced error handling with multiple fallback methods
2025-08-29 21:45:49 +03:00
.github/workflows Update github action file 2025-08-20 12:15:20 +03:00
odex25_base 🔧 MAJOR FIX: Proper field formatting, single character search, and row click handlers 2025-08-29 21:45:49 +03:00
README.md Add odex25_base 2024-06-24 13:55:54 +03:00

README.md

odex25-standard-modules

This Repo contains general standard modules for all projects.