aldehyde dehydrogenase (NAD+) activity [GO_0004029] - Virtual Fly Brain