[FIX] Factor should be compared with factor, not id
[FIX] use inner join to avoid null id's in read_group
Merge branch '8.0' of https://github.com/odoo/odoo into 8.0-linux64