add partial code check to promotion model