diff options
| author | Thibault Delavallée <tde@openerp.com> | 2012-12-21 14:11:20 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2012-12-21 14:11:20 +0100 |
| commit | a873a7de8001cde146e49f0b62424a56581983d6 (patch) | |
| tree | ac80bee1af912be3ce56f680b5c6fdf082da7449 /addons/note/static/src/css/note.sass | |
| parent | da4dc767c4437f4faf8ce6d7826784730abaa4a6 (diff) | |
| parent | 2b3c4737f1379b399e9cca525501e83cd1b32ce5 (diff) | |
[MERGE] ORM: fix result of queries using auto_join.
It is possible to have multiple results linked to a same 'left-side' query, such as having a task with several unread messages. In this case, the query using the joins gives back as many lines as unread messages, because of the joins in the query.
To avoid using distinct or 'where exist' constructs, the results of the query is filtered while keeping the original order.
bzr revid: tde@openerp.com-20121221131120-boll9klrxxna6zeq
Diffstat (limited to 'addons/note/static/src/css/note.sass')
0 files changed, 0 insertions, 0 deletions
