diff --git a/odex25_base/web_hijri_datepicker/static/src/js/web_hijri_date.js b/odex25_base/web_hijri_datepicker/static/src/js/web_hijri_date.js index 6b1b1f6db..c66866a67 100644 --- a/odex25_base/web_hijri_datepicker/static/src/js/web_hijri_date.js +++ b/odex25_base/web_hijri_datepicker/static/src/js/web_hijri_date.js @@ -126,32 +126,33 @@ odoo.define('web_hijri_datepicker.datepicker', function (require) { var parsed_date = this.value ? this.datewidget._parseDate(this.value) : ''; var hijri_value = parsed_date ? this.datewidget._convertGregorianToHijri(parsed_date) : ''; - // Original Gregorian date (unchanged) + // Gregorian Date Section $('
', { - class: this.$el.attr('class'), - text: value, - }).appendTo($div); - - // Hijri date with label layout - var $hijriContainer = $('
', { - class: 'o_hijri_readonly_container' - }); - - var $hijriRow = $('
', { - class: 'o_hijri_readonly_row' - }).appendTo($hijriContainer); + class: 'o_date_section' + }).append([ + $('