How we can show year before 2006

That for, you have to write a client script and apply the logic:

frappe.ui.form.on('Employee', {
    refresh: function(frm) {
        frm.fields_dict.date_of_birth.datepicker.update({
            maxDate: new Date('2005-12-31')
        });
    }
});

Reference:

1 Like