Firstly thank you for your replay. I have on form view which contains one field this field is one2many with widget many2many_tag and in the same form view another field which is the selection field. After clicking on the tag of field one, I want to get a record related to tag after getting a record display record in edit mode.
I am able to get all the records related to tags also able to open records in edit mode.
I hope I am able to provide a complete description.