agree,You can shave your baby's hair because it sweats alot due to our Climate here...
Your baby may have cradle cap- (baby's scalp has flaky, dry skin that looks like dandruff).
meanwhile what is the shampoo you are using for baby.
Better take your baby to PD, he may prescribe an anti dandruff shampoo or conditioner.
What is the type oil you are using?