Sky Bandits a.k.a. Gunbus is a 1986 British adventure film about two outlaws from the Wild West, drafted to the battlefields of WWI, who enlist in the fledgling Royal Air Force flying early warplanes called gunbuses.
Source: Wikipedia