Fix purchases generation
Merge branch 'master' of https://github.com/rede-gcr/noosfero into cirandas