def onchange_for_block_area(self, cr, uid, ids, crop, from_date, to_date,
    context):
    domain = []
return {'domain': {'block_area': domain}}
How can I change the choices in an OpenERP selection field based on other field values?