[IMP] properly fetch events that have no registration
authorAntonin Bourguignon <abo@openerp.com>
Thu, 11 Oct 2012 13:58:09 +0000 (15:58 +0200)
committerAntonin Bourguignon <abo@openerp.com>
Thu, 11 Oct 2012 13:58:09 +0000 (15:58 +0200)
commit90ff5bf65a0e2e7bc18e45d1b0bd23e8e66b1f76
tree7a6a5482aa859b240f9c77aad574d6709a9f8ff8
parent0ef3d13a3462150eea17e2efb19f0337340420f1
[IMP] properly fetch events that have no registration
in order to achieve that, remove the previous patch which was too exclusive (WHERE r.id IS NOT NULL) and use 'virtual' ids instead
the unicity is guaranteed by concatenating the event id and the registration id (if any)

bzr revid: abo@openerp.com-20121011135809-fag9br23hthrwy1s
addons/event/report/report_event_registration.py