[IMP] make attachment data available under public by default
authorXavier Morel <xmo@openerp.com>
Tue, 17 Jun 2014 12:16:07 +0000 (14:16 +0200)
committerXavier Morel <xmo@openerp.com>
Tue, 17 Jun 2014 12:16:07 +0000 (14:16 +0200)
commit25ca967b9785eca27777c8a2577669ce1f6e0d79
tree116c8a0588e7fbbbc34fa5b0e592b171f8afbc37
parent1870fa813d2deb1c290bf0136501b34814e14a1d
[IMP] make attachment data available under public by default

Assuming access rights are correctly configured, this allows providing
downloads for any attachment type, not just to display images via
/website/image.

TODO: unify attachment querying, we've got stuff over both web/ and website/
addons/web/controllers/main.py