you define the domain in the xml file. therefore this domain does not work.
specify in the .py file.
Example:
'record_ids': fields.one2many ('model_name', 'model_id', 'Record', domain = [('end_date', '> =', 'cur_date')])
here cur_date you need to define one function field that shows the current date.
So check this out, maybe this will help you completely :).
user4728618