Science hasn't figured out all the causes of body odor except for maybe TMAU.
What might work for some body odor disorders might not work for others.
A vegan diet won't alleviate the odor over night, it takes time. There is no magic overnight remedy....yet. Be attuned to how your body reacts to different vegetables. Some vegetables may cause an increase in body odor while others might not.