[bug 1054315] Fix product grouping in weekly email

r?
this doesn't look right? `docs` is a QuerySet, not an instance. Why would it have  a `parent`? I think you need to do an `OR` which would require a `Q` I think. Not sure if it can be done from a template.