if y'all are on the same flights/itin and your discount code covers her if booked in same record, then she will get the o/l bonus as well as the discount....
if the discount code only applies to you, then book separately....if you want to try to ug and you have the status, aa can link the pnr's for that purpose, however, that may cause the loss of the ol bonus...good luck