We visited Morocco a couple of years ago and changed some money into the local currency.
However we found that most places accepted Euros,Pounds sterling, and US Dollars.
Even street sellers could calculate prices in most currencies in an instant as well as telling you that their prices were "Cheaper that Asda Price"