Setup->Accounting->General (near the bottom)...
# general
m
Setup->Accounting->General (near the bottom) check “Make Locations Mandatory”