If you have a valid visa from company X , not need to go for stamping. you can use the approved notice of Company Y and visa stamp of company X to travel until it expires.
As always few may suggest to get it stamped, but not necessary. I have personally traveled for 2 years with old employer valid visa and new transfer approved petition. Please confirm with your immigration lawyer before travel.