We see matches are reduced to certain amount of overs due to bad whether conditions like rain, bad lights etc.
For example the rain affected the match between IND vs ENG in Champions Trophy final was reduced to 20 overs per side.
Why is it still considered an ODI match?