Crew don't necessary need to be licensed on all aircraft types! A girl whom I used to work with at QR works at LH these days and flies A340, 737 and 777. Look at the numerous of aircraft types LH flies...
I also think 777 and 787 would be on the same license as the doors are exactly the same.
These are only simple formalities!