Item Tax does not really work in ERPNext if you have more than 2 tax templates

maybe this guy’s situation is similar to yours